[Navin] has been hard at work producing a GUI which works with different micocontrollers. The idea is to make it even easier to develop projects by simplifying the feedback and control you can get from the prototyping hardware. The best part about it is that he designed the software to interface with any hardware which can be programmed in C++.
The screenshot above shows the program communicating with an mbed board which has an ARM microcontroller. But the Arduino board (which uses an ATmega chip) is supported as well. Support for additional architectures can be added by writing your own configuration file for the chip. The Python program then asks for the com port it should be using for this session.
The source package, including the code which runs on the microcontrollers, can be found at the project repository. The functions used in the sketches are quite simple and should be a snap to drop into your own code projects.
Wow, that’s a really simple hardware setup to supply your device with a 3G Internet connection. Better yet, the software side is just as simple thanks to the Vodafone USB Modem library for mbed. It will work for any of the cell data plans offered by Vodafone. The only problem you may have is not living in one of the 30 countries serviced by the telco.
The dongle seen at the right is sold by Vodafone and is meant to be used for Internet data, so you won’t be doing anything that might get your SIM banned. Connecting to the network is a one-liner thanks to the previously mentioned library. From there, gets and posts can be done with your favorite package. The Hello World example uses HTTPClient. And since the mbed is simply an ARM platform it shouldn’t be hard to use the library with the ARM chip of your choice.
If you think this thing looks good you should see it move. [Martin Smith] hit a home run on the project, which was his Master’s Thesis. Fifteen servo motors provide a way for the bot to move around. Having been modeled after a small canine the gait is very realistic. The tail is even functional, acting as a counterweight when moving the legs.
The project was meticulously built in a 3D environment before undertaking any physical assembly. The mechanical parts are all either milled from aluminum or 3D printed. Two mBed boards mounted on its back allow it to interact with its environment. One of them handles image processing, the other drives the array of motors. And of course it doesn’t hurt that he built some Larson Scanners in as eyes.
Don’t miss the video after the break which shows off the entire project from planning to demonstration. We can’t help but be reminded of the rat-thing from Snow Crash.
Continue reading “Professional looking dog robot was actually [Martin’s] Master’s Thesis”
[Jordan] writes in to show us a project he has been working on called MbedConsole. Living up its name [Jordan] has managed to run a 640×480 VGA output, PS/2 port and console all from the mbed itself. We really mean from an mbed only; no extra hardware is required aside from a few resistors and connectors, a VGA monitor and PS/2 keyboard. The code is open source and links are included in the blog. There are even instructions for including your own graphics.
There are a few things to tackle still, like SD card support. Currently the PS/2 keyboard lights for caps-lock are not functional. [Jordan] would love to know what else we’d see going on something like this, with 400k of flash and 20k RAM left there certainly is a bit of room for some interesting stuff. One of his main goals is to get rid of the C interface and port an interactive shell over that could do something like BASIC or Forth (to give it that retro environment feel). We have seen the mbed in a handful of projects, what do you think?
[Shane] is building a new house and wants some, “subtle home automation” as he calls it. His first project is hooking up a small heater to the Internet, and judging from his demo video everything is going swimmingly.
[Shane]’s project is built around an mbed microcontroller that connects to the Internet via an Ethernet connection. The mbed has a temperature controller and a solid state relay to turn the heater on an off; simple enough, but we really like how easily [Shane] connected his project to Google Calendar.
After looking over the Google API, [Shane] was understandably overwhelmed. He figured out that by syncing the mbed’s clock to network time and sending a GET request for one minute in the future, the mbed would always know what was scheduled with a minimal delay.
Now, all [Shane] does to turn on his heater is schedule a time and temperature in Google Calendar. He can do this from across the globe or country and makes for a really slick part of a home automation system.
Continue reading “Automating household devices with Google Calendar”
[Lauszus] really put together an impressive self balancing robot platform. It is virtually motionless when balancing in place, and that stability is never lost even when motoring across the room.
Part of the success behind this build is the use of quality components. He’s got a really nice set of motors with built-in encoders which give feedback to the balancing system. They work in conjunction with a gyroscopic sensor and PID code to keep the two-wheeled platform upright. An mbed board running 96 MHz provides plenty of computing power for the balancing system. But an Arduino can also be found on board. This was included to facilitate Bluetooth connectivity with the remote control as [Lauszus] didn’t want to port the code he had already written.
The fourteen minute video after the break shares the details behind how the PID controller is tuned and how [Lauszus] implements target angle and a few other factors. Of course he talks about the hardware choices, and demonstrates functionality by driving the bot around using a wireless PS3 controller.
The construction method which uses masonite strips and threaded rod does a good job of protecting the hardware mounted on it. We’re always a bit worried about these bots falling over and some of the projects we see offer little or no protection. Once thing that helps protect against a spill is a piezo buzzer which sounds when the battery is getting low.
Continue reading “Short and squat balancing bot is extremely stable”
This USB slingshot controller really brought a smile to our faces. Part of it is the delightfully silly promo video you’ll find after the break. [Simon Ford] combined nature and technology to bring this USB-enabled slingshot into existence.
The frame itself is from a branch he found in the Epping Forrest of London. He whittled away the bark, and hollowed out an opening in at the base of the ‘Y’ to receive an accelerometer board. It has a pair of female pin headers to interface with the mbed seen in the image above. But the real hack here is the code he wrote to translate accelerometer data into appropriate mouse movements. His success in the area makes this translate the virtual world of Angry Birds in a visceral experience of killing things with a slingshot.
We’re suckers for this type of project. Two examples that pop into mind are these musical instrument hacks for Rock Band 2.
Continue reading “USB slingshot controller is for the birds”