Instructables

Compact 3-in-1 Stripboard DIYduino with Integrated Sensor and L298N Motor Shield

Featured
I am presenting a compact design of a stripboard Arduino board (DIYduino) that includes a 2A motor driver and has additionally the functionality of a sensor shield. The 2-channel version cost approximately $29.43 and is more affordable compared to $39.00 for a commercially available system consisting of an Arduino Uno, $21.50, a sensor shield, $8.50, and a motor shield, $9.00. The cost can be further reduced to $27.44 by building a “bare bones” version that omits parts that are not required for the functionality of the device but are rather added for convenience. Such parts are LEDs and their resistors and screw terminals.

I am presenting a total of five different versions:
1. DIYduino
2. DIYduino with integrated sensor and 1-channel motorshield - no speed control
3. DIYduino with integrated sensor and 1-channel motorshield - with speed control
4. DIYduino with integrated sensor and 2-channel motorshield - no speed control
5. DIYduino with integrated sensor and 2-channel motorshield - with speed control

My pictures represent the third version, which is the one I chose for a particular robot application that I am currently building.
 
Remove these adsRemove these ads by Signing Up

Step 1: Parts List

Picture of Parts List
The table shows all the parts for the devices including prices from Jan, 2013. I considered some of the parts, such as jumper wires or resistors, as standard inventory that is likely purchased in bulk and not as individual parts. Therefore I typically listed individual parts and noted with an asterisk when you would have leftovers, such as for example extra strip board which you can use on other projects.

I did not consider the prices marked with the single asterisk for the total price of the device. Further note that item prices at Newark drop when you order a certain number of parts, typically if you order more than 10x. I listed the highest individual prices here and also ignored any special offers or promotions. If you buy more the price will go down. On another note, not all of the parts listed here are really necessary for operation. The parts that you can omit are marked with a double asterisk. The 'bare bones price' is also indicated at the bottom of the table.

Last not least, the ATMEGA 328 that I used required a bootloader. I recently created an instructable called ArduinoISP Bootloader/Programmer Combination Shield that addressed how to upload a bootloader to a “virgin” ATMEGA. You can also buy ATMEGAs that have a bootloader installed. They are almost double the price. For completion I listed one in the table.

The component prices were taken from www.newark.com and www.mcmaster.com. You can find order numbers and prices in the table.
schel9 months ago

SuPerBenDeR...You Rock! Thanks for this! This build is a perfect "base" for expanding on / building various robots! 1 board...So nice.

Superbender (author)  schel8 months ago

Hi Schel,

Thanks for the praise. I appreciate it. Please post some pics of the applications you use these boards for if you find the time. I'd love to see them. I can tell you it's motivating to see the instructable helping somebody. Makes it worth all the work that went into writing it.

Keep on building.

deqwer1 year ago
wow,that's nice i think you should start making a board with printed pcb
Superbender (author)  deqwer1 year ago
Hi deqwer,
Thanks for the suggestion. If in the near future I need to use more than one I'd absolutely go that way. I'd actually would try to make the pcb design flexible so that you can switch between versions using jumpers or jumper cables. Switching from a fixed max speed to an adjustable speed is for example part of the commercial motor driver design that is shown in the first picture.