Open Source Arduino Platform Makes Robotics on the Mac Easy
If, like me, you think both Macs and robotics are cool, then nothing could be cooler than using your Mac to work on robotics.
Unfortunately, it hasn't always been easy to combine the two. In the old days you were forced to use Windows or try to get Virtual PC working in order to run the Windows-only software. Those days are slowly going away, and Macs are now an option for one very popular solution.
The heart of most hobby robotics starts with the microcontroller. This is like a regular computer chip with the built-in ability to read sensors and send out commands. You hook in light sensors, motion detectors, switches, etc., so it can sense what is happening. Then you program commands to turn on lights, motors, switches, etc.
All of this is made possible with a combination of hardware and software. The hardware has come a long way. You can buy circuit boards with everything you need already wired and ready to go. You just plug them into your microcontroller board, and everything is ready for the software.
The software is critical for sending instructions to your robot. But for a long time, this software required Windows. This may be due to a biased idea that Macs are for creative types, while Windows is better for the technical and business types.
One specific example is Parallax and its hobby microcontroller board called the BASIC Stamp. This uses the BASIC programming language, called PBasic, to program the microcontroller. It is a nice development tool for the beginner, because BASIC is an easy language to learn, but it was only written for Windows. Limited support for the Mac OS X is offered by an outside third party. Parallax doesn't offer any support for this software, and they don't even host the software from their website.
Coming to our rescue is the open source movement. First were the programming tools, and then a new open source controller sprung up in the last few years, Arduino (left). This small development board (about the size of a deck of cards) has gain a following quickly. Not only did they open source the design for the hardware so that anyone can develop new boards, they also made the software available for Windows, Macs, and Linux. That really opened to doors to anyone interested.
Their goal was to provide a solution made for the creative types who wanted to add electronics to their projects. Because it is open source, you can add or change anything about the design. This has opened the doors for dozens of add-on boards, called shields, and specialty code that is free to use that works with the shields.
The popularity has gone mainstream. You can buy the Arduino and shields at your local Radio Shack store. Then you log in to the Arduino website for tutorials, sample code, project ideas, etc. I did a web search and found a local club that offers a place for people to get together and get help for their project.
Some of these people are using Ubuntu Linux for development, and others are on Windows, yet there aren't the traditional barriers for them to help you with your project. The programming software doesn't have special features that are only available to Windows or Linux users. The code you write can be sent to them without any special changes. It is great to work in an environment where what computer you have isn't an issue.
If you are interested and want to try designing something on you Mac, there are lots of resources. Here's a few online stores were you can buy parts or kits and usually get help building your project. There are many other options from Amazon to eBay for getting parts:
- Arduino Direct also has Electronic Bricks
- Adafruit Industries has FLORA, a wearable Arduino compatible board
- Seed Studio Bazaar offers the Seeeduino, which is Arduino compatible, and an easy to use kit called Electronic Bricks
- Sparkfun Electronics has many electronic kits and lots of DIY solutions
If you want to get into more involved in the circuitry, here are a couple of websites that offer Mac versions of the circuitry design software.
Finally, if it is the software side of design that you like the most, here are the sites that inspired the software for the Arduino:
- Processing, a programming language for visual artists that was started in 2001.
- Wiring was inspired by Processing.
Phillip Torrone has some good thing to say about the Arduino over at the Make website. One of the key points is how it just works. That is another feature that the Arduino shares with Macs - the technology is wrapped up in an easy to use layer. It is so easy that I'm using it to teach my kids about both electronics and programming.
Good luck - and maybe you'll be the next person to invent a robot that will change the world. The best part is it will have all been designed to work on a Mac - or any other computer you choose.
Recent Stop the Noiz Columns
- The iPad mini Is Designed for Apple Users, Not Kindle or Nexus Switchers, 2012.11.02. The $329 iPad mini isn't designed to compete with Android tablets. It's meant for Mac, iPhone, iPod, and iTunes users - and new tablet buyers.
- Apple's Real Problem with Samsung, 2012.10.31. It's hard for Apple to trust Samsung as a supplier when Samsung is competing in the smartphone and tablet space.
- Which Is Apple's Biggest Threat, Microsoft or Google?, 2012.10.30. Most people think Apple and Microsoft compete against each other, but that's not exactly true.
- More in the Stop the Noiz index.
Links for the Day
- Mac of the Day: PowerBook Duo 230, introduced 1992.10.19. Just over 4 pounds, the 33 MHz 230 helped launch the Duo line.
- May 22 in LEM history: 73: Ethernet conceived - 98: Is Apple really back? - 00: Cheap Power Macs - 01: Copyright or copy wrong? - 02: OS X is growing the Mac user base - 03: DVD screen shots in OS X - 06: Best OS for older Macs - 07: CRTs and shock danger - Ihnatko on Macs - CPU upgrades for MDD Power Macs - 08: Mac 512K and Word changed my life
- Support Low End Mac
Recent Content on Low End Mac
- World Book Encyclopedia 2012 DVD, Tommy Thomas, Reviews, 2013.03.05. "You may be asking yourself, in an age of Wikipedia and instant information, is World Book still relevant?"
- Vintage Computer Festival SouthEast, April 20-21, 2013, Simon Royal, Mac Spectrum, 2013.02.25. Old Apple gear and old PCs.
- iMessage: The Ultimate Messaging Service?, Simon Royal, Mac Spectrum, 2013.02.21. In most ways, Apple's iMessage is far superior to BlackBerry Messenger.
- More links in our archive.
- Best Mac mini Deals
- Best 13" MacBook Pro Deals
- Best Intel iMac Deals
- Best iPod touch Deals
- Best iPhone Deals
- Best iPod nano Deals
- Best iPod classic Deals
- Best Apple TV Prices
- More deals in our archive.
Low End Mac Reader Specials
Cult of Mac
Shrine of Apple
The Mac Observer
Accelerate Your Mac
The Vintage Mac Museum
Mac Driver Museum
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ