About this project
I want to get you into the wonderful world of Arduino programming, using your Raspberry Pi as the programmer. There's so much you can do with the ATMEGA 328 microcontroller - it complements the Pi perfectly and for many applications it doesn't even need to be connected to the Pi, once it's programmed. So I've designed the RasPiO Duino, which...
- Has a capable microcontroller: ATMEGA328P. 32KB flash. 20MHz
- 6 analog inputs for reading sensors (light, temperature, pressure etc.)
- 14 digital input/output pins for controlling and switching things
- 6 PWM outputs for variable LED brightness or motor speed control
- Can control up to 12 servos
- Can exchange the microcontroller as it is socketed
- Fits on the GPIO header and is programmed directly from a Raspberry Pi
- Uses the Arduino Integrated Development Environment for programming
- Is very keenly priced
Here's what it looks like...
Videos and PDF Tutorials
But I don't want to just throw hardware at you and let you drown. I want to bring you a set of supporting materials to ensure you have a positive experience - even if you've never done these things before.
So there will be a set of structured experiments that will lead you through how to use it in a way that you will enjoy.
There will be full instructions to get you up and running. I'm talking about printable (PDF/web) instructions and video instructions. In six years of teaching 10-year-olds computing, I've found that we all learn differently.
I like reading books and web pages (and cutting/pasting commands). But many people prefer to be "shown" on videos. The good news is, I do both - it's what I'm best known for.
Not Just Hardware
The hope is that, if enough people back the campaign, I'll be able to invest the time needed to create a really strong set of support materials. The higher the level of backing we can get, the more support materials can be justified.
RasPiO Duino works with Raspberry Pi models: A, A+, B, B+ & Pi2. It gives you the full capabilities of an ATMEGA 328 microprocessor. (14 digital I/O pins, 6 Analog inputs, 6 hardware PWM outputs, real-time processing.)
You can program it from your Raspberry Pi using the Arduino 'Wiring' language and programming environment. It effectively gives you the functionality of an Arduino Uno, but you can program it from your Raspberry Pi. Also, I've 'RasPiOed' it, which means:
- large, clear port labels
- you can connect male or female wires to each port
- you have choices about how to make it your own
- prototyping area to add your own parts
Standalone Or Interacting With Pi
Once programmed, RasPiO Duino can be removed from the Pi and run on its own (powered separately). You can use it to control robots (up to 12 servos), read sensors and switch things on and off.
But if you want to leave it on the Pi and have the Pi interact with it, you can do that too via the serial interface (just connect two jumpers Tx & Rx).
There are X experiments to get you started. X depends on how well the project does. But even if we 'just scrape by', the bare minimum will show you how to use the input/output pins, read analog inputs and use PWM outputs.
Once you've mastered the basics, there is a wealth of open source code out there for the Arduino platform. Pretty much anything you would want to do has been done and shared by others before. This makes it easy to learn. You can copy and tweak other people's code to make it your own and learn a lot along the way.
Rewards - What Do I Get?
This is what the RasPiO Duino hardware kit looks like...
For the £4 reward this is what the RasPiO portsplus board looks like. This is an updated version with a better silk-screen...
But don't forget the learning resources are a major part of the rewards too...
What About The Documentation & Materials?
Preparing good, easy-to-follow, guides takes a very long time. But taking people through processes, step by step, without leaving out any steps, is the best way to learn.
Here's an example video showing the step by step installation to set up the Arduino software on your Pi and get you programming your RasPiO Duino. (There is a PDF manual that the long commands can be cut and pasted from if required).
There will also be a number of example sketches to work through, which will take you through the basics of using your Duino.
£12,000 - adding an extra 5mm LED and resistor to help with some digital input/output experiments including simple switching and basic PWM - STRETCH GOAL UNLOCKED
£15,000 - adding a three colour RGB LED (+resistors) to use with 3 channels and PWM. Also to include cross-fading 'how-to' so you can have a custom colour changing atmospheric lighting effect. STRETCH GOAL UNLOCKED
£20,000 - adding a light sensor (LDR) and resistor which can be used with the ATMEGA's analog inputs to measure light levels and respond accordingly. Plus experiments to go with it. STRETCH GOAL UNLOCKED
Stretch Goals Summary
The RasPiO Duino has evolved over the last 12 months. I ran a kind of 'open beta' where I sent out samples and people were not sworn to secrecy. Many of them blogged about it...
Mike "@recantha CamJam" Horne blogged it here... http://www.recantha.co.uk/blog/?p=9615
Richard "Average Man vs Pi" Saville blogged it comprehensively here... http://www.averagemanvsraspberrypi.com/2014/11/a-raspberry-pi-arduino-board-raspio.html
Keith "Pi Tutorials" Ellis blogged about how to set up x-forwarding on Mac, for use with RasPiO Duino here... http://www.pi-tutorials.co.uk/post/86819862509/ssh-x-forwarding
I even blogged about it myself in my "How To Protect Your Pipes" blog and video here... http://raspi.tv/2014/temperature-control-with-raspio-duino-or-how-to-protect-your-pipes http://youtu.be/4HmMrAsNCbE
Gordon "WiringPi" Henderson, who adapted the Arduino IDE for Pi, also did a nice RasPiO Duino soldering video here...
Is It Open Source Hardware?
Not currently, but I'm considering this as a possible stretch goal if the project does really well. It's new ground for me and a little bit scary (being brutally honest). I have invested quite a lot of time and money in developing this, but I'm open to the idea if it does well enough.
Reasons For Coming To KickStarter...
1. To prove the market for these boards along with my learning materials.
2. To be able to order a decent number of kits to keep the price down. PCB and component pricing gets much more interesting over 1000 units. It would be lovely if there were that much interest. The project will be viable if we get to about 350, but the better it does, the more time I can justify putting into it to make it better.
3. To justify investing the significant amount of time needed to produce the learning resources to go with these kits.
This is a solo project. If you've ever visited RasPi.TV, you'll know that I'm extraordinarily fussy about giving people an experience that "works first time, even if you've never done it before"
Is It A HAT?
No. RasPiO Duino is compatible with Raspberry Pi Models A, B (rev1 & 2), A+, B+ & Pi2. Whilst it's very tempting to dive headlong into designing just for the newer A+, B+ & Pi2, I don't want to leave all the previous Pi owners in the lurch. It makes sense to ensure the board fits all consumer models of the Raspberry Pi. If you have an older Pi you're not using much any more, you could dedicate it to RasPiO Duino work.
RasPiO Duino could be made a HAT at a later date if there is sufficient interest.
Does It Fit On HDMIPi?
Yes. It does, if you want it to.
Show Us Some Examples
Here's a video I made of some very simple examples. You can do more complex things as well, but you have to start somewhere...
This is the approximate expected schedule at the time of launch...
How long shipping takes will depend on demand. My wife and myself will be handling this personally, but if it gets really big, we'll get some help.
Lessons Learnt From Last Time?
- Add a bit of extra time for things going wrong.
- If the project does extremely well, it will take longer to ship, but rewards will be shipped out in approximate backer # order (early birds first, although we may sort by destination) and we will keep you updated about how far we have got.
- Tracking codes will not be issued except for 5x and 10x rewards shipped internationally (where full price shipping has been paid).
- No variants! This is a simple project. There won't be six colour choices or lots of different packages on offer.
- No radical design changes. This would delay the project for everyone.
If you've got this far, congratulations. Please back the project by selecting one of the rewards.
Video background music track 'Victory' from http://www.purple-planet.com/
Risks and challenges
There is very little risk involved in backing this project because the design is already proven and Beta tested. RasPiO Duino uses commonly available components, for which there are many sources.
The RasPiO Duino board has been through 6 iterations over a year, although two of those were to make it compatible with the new Raspberry Pi B+/Pi2. (Needed reshaping).
Providing the overall funding goal is met, it should be possible to bring RasPiO Duino to life within 3-4 months.
Also, it's not my first KickStarter project, so, whilst there are always surprises, I do have a fairly good idea of what to expect.
Raspberry Pi is a trademark of the Raspberry Pi Foundation
RasPiO is a trademark of Alex Eames
Arduino is a trademark of Arduino LLC
Support this project
- (21 days)