Using A Touch Screen With An STM32 Microcontroller

[Andy Brown] has been working on a series of tutorials revolving around the STM32 processor family. He’s using the STM32plus development board, with an STM32F1 ARM Cortex M3 processor to drive a couple of different full color graphic LCD screens. His latest installment shows how to read from the touch screen included with both displays.

After the break we’ve embedded the video from which this screenshot was taken. As an example, [Andy] has programmed a painting program to show off what the touchscreen overlay is capable of. It starts off with the calibration routine we’re all familiar with, then drops to this screen with a virtual control panel and blank canvas.

This hardware uses the Texas Instruments ADS7843 controller, which [Andy] says is extremely common and that several other manufacturers use the same communications protocols. He discusses how to communicate with the controller, and how to incorporate the data into your program. Included is an open source library which you can use in your own projects.

Continue reading “Using A Touch Screen With An STM32 Microcontroller”

TI Launchpad Adds Computer Control To A Robot Arm

[Eric Gregori] had an OWI535 toy robotic arm. Although cheap (coming it at around $30) the arm is only set up to be used via a wired control box. [Eric] knew he could do better by adding computer control via a TI Launchpad and motor driver peripheral.

The arm has shoulder, elbow, and wrist joints, a rotating base, and a gripper. All of these are actuated by 3V DC motors and have just two control wires. [Eric’s] motor driver add-on for the Launchpad works great in this case. It’s got three FAN8200 dual motor driver chips on board so it can control up to six motors. Once he made the hardware connections it’s just a matter of sending the commands to the Launchpad via its USB interface, but you will also need to use a larger microcontroller than comes with the Launchpad. Here he’s chosen an MSP430G2553.

In order to make things a little bit more fun he also wrote a GUI for controlling the arm from the computer. He used RobotSee, a programming language that lets you use an image of the hardware, and overlay the controls on top of it. Now he just needs to make this into a web interface and he can have a smartphone controlled crane game.

Don’t forget to check out the video after the break. Continue reading “TI Launchpad Adds Computer Control To A Robot Arm”

Say Hello To Our Little Friend, The BeagleBone

Small and more powerful… what more can you want? This is the newest BeagleBoard offering, called the BeagleBone. It’s packed with some pretty intriguing features, but let’s take a tour of the hardware first.

Like its predecessors, the BeagleBone sports an ARM processor. This time around it’s a TI AM3358 ARM Cortex-A8. It will ship with a 2 GB microSD card and has an Ethernet port and USB connection. The dual pin headers on either side of the board are designed to receive ‘Capes’ for expansion. Currently a DVI cape is in the works, with HDMI and others to follow.

Linux is running on board and one of the best features we see in the video after the break is the browser-based programming interface. When connected to a network, the BeagleBone serves HTML5 web pages. One of these is an IDE that lets you write and execute code directly from your browser.

Now, can we finally have our open-hardware set top box (hopefully running XBMC)?? At an MSRP of $89 this should be able to give AppleTV 2 a run for its money as an easy way to get your television some network connectivity. Continue reading “Say Hello To Our Little Friend, The BeagleBone”

Devboard Deal: TI Experimenter Board For $15 (50% Off)

Cheap things come to those who wait. If you’ve had your eye on a TI Experimenters Board (MSP-EXP430FR5739) now’s the time to pull the trigger. You can use the coupon code MSP430_FRAM to get 50% off. This pulls the total price down to $14.50 plus shipping with several readers reporting free shipping.

The board features an upgraded MSP430. Instead of using flash memory, it’s got  ferroelectric random access memory (FRAM) which boots the power savings of these aready lean-mean chips.

We’ve posted a few deals from Texas Instruments before, like the announcement of the Launchpad which was just $4.30, as well as a coupon-deal gone awry with the evalBot. There were huge threads in those posts reporting back how long shipping took, as well as how well the codes worked. So feel free to share your thoughts on this deal by leaving a polite comment.

Of course if you get one, we want to see what you do with it. Don’t forget to write up your projects and send in a tip.

Capacitive Touch Sensor Shield For The TI Launchpad

Texas Instruments just released a product they call the Capacitive Touch Boosterpack which is basically a touch-sensitive shield for the Launchpad. The video after the break shows an unboxing and demonstration of the product which TI is launching with a $4.30 limited-time price tag. The red PCB itself has a capacitive touch button in the center, surrounded by a touch-scroll wheel, which is centered in a proximity senor that takes up the rest of the board. There are also nine LEDs which look like they’re soldered on the underside of the board, through routed holes that mount them flush with the top surface. The pack also comes with a new MSP430 microcontroller, the G2452, which has 8 KB of flash memory and takes care of calibrating, reading, and processing signals from the board thanks to the software package that goes along with the add-on kit.

Looks quite nice. There’s a heck of a lot of information in the documentation for this hardware. We do wish it was a bit easier to find board layout information, but we’re sure it’s there somewhere.

Continue reading “Capacitive Touch Sensor Shield For The TI Launchpad”

TI Adds Some Linux Support For Evalbot – We’ve Got Hardware Coupon Codes For You!

In case you missed it, Texas Instruments sells a little robot called the Evalbot as a development platform for ARM Cortex-M3 microcontrollers. Since its release we’ve seen a few hacks on the hardware; the image above is a proof of concept for developing for the device under Linux. We have criticized TI in the past for not natively supporting Linux with their IDEs. We’re not sure how it will play out, but they have added new software package options to go along with the hardware. You’ll notice on their PR page that there is now an option to use CodeSourcery. It is a trial of the full version, but at least it is a step in the GNU direction from their previous offering.

The Hackaday team has been talking off and on with TI about the hardware. We’re happy to say that they’ve been listening to the Internet community about their likes and dislikes; following various online groups that have sprouted up to talk about Evalbot projects. It sounds like they’re thinking about hosting a contest using the hardware. So maybe you want to get your hands on one so that you can familiarize yourself and hit the ground running if/when that contest starts. You’re in luck, we can help save you a few bucks.

The first time that Texas Instruments tried out a $125-off coupon code the deal got away from them. It had been meant for attendees of the ESC Boston conference. They honored the deals that went through before the proverbial run-on-the-bank got shut down. This time around they’re using serialized deal codes to limit the number of give-aways. We’ve got 200 of them just waiting for our loyal readers to use. One code will let you purchase one Evalbot for just $25 (instead of $150).

Please take a moment to decide if you actually want (and will use) one of these robots, and decide if you are willing to shell out the $25 to order it. You see, we don’t want this deal going to waste. If you decide this is for you, send an email requesting a code to:We’re all out! We’ll dish out the deal on a first-emailed-first-served basis. We will update this post when all 200 have been claimed.

We will not tolerate anyone gaming the system and so we reserve the right to disqualify any email submission for any reason in an attempt to maintain some semblance of fairness. Also… if you’re planning to pick this up just to resell it for cash you’re a loser.

[update: Those who emailed us requesting a code should begin receiving replies this evening or tomorrow.]

[Update 2: here is the specific bot you should be trying to buy. ]

Header File Brings Arduino Sketches To The TI Launchpad

[Chris Hulbert] is making it easy for Arduino users to program MSP430 chips with a header file that allows you to compile Arduino sketches for the Launchpad. This makes sense, as the growing number of Arduino sketches available, and the low cost of the TI Launchpad make for a good bedfellows. It’s really wasn’t that hard to make this happen, although you’re not going to find support for all of the Arduino functions just yet.

At the time of writing, [Chris] has just 51 lines of code committed to the project. It provides macros for setup(), loop(), delay(), pinMode(), pinBit(), digitalWrite(), and digitalRead(). You’ll notice that one of the most important parts of the header file is that it disables the watchdog timer for the user (a stumbling block for many MSP430 beginners). It’s an interesting solution, but to be truly useful we’d want to see hardware integration with the Arduino IDE. That, as well as the rest of the Arduino functions are at the tips of your fingers. Get coding and submit your push requests to [Chris] for inclusion in his repository.

[Thanks Chris]