Instruction manuals

Compact 3 in 1 Stripboard DIYduino With Integrated

Description
Compact 3 in 1 Stripboard DIYduino With Integrated
Published
of 14
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  http://www.instructables.com/id/Compact-3-in-1-Stripboard-DIYduino-with-Integrated/  Food   Living   Outside   Play   Technology   Workshop Compact 3-in-1 Stripboard DIYduino with Integrated Sensor and L298N MotorShield by Superbender  on January 26, 2013 Table of Contents Compact 3-in-1 Stripboard DIYduino with Integrated Sensor and L298N Motor Shield ...........................................................1 Intro: Compact 3-in-1 Stripboard DIYduino with Integrated Sensor and L298N Motor Shield ...................................................2 Step 1: Parts List ...........................................................................................................2 Step 2: Tools and Hardware ..................................................................................................3 Step 3: Combining Schematics of DIYduino & Motor Driver ...........................................................................4 Step 4: The Stripboard Layouts ................................................................................................5 Step 5: Preparing the Stripboard ...............................................................................................7 Step 6: Building the DIYduino Section ...........................................................................................7 Step 7: Testing the DIYduino Section ............................................................................................9 Step 8: Building the Motor Driver Section .........................................................................................10 Step 9: Testing the Motor Driver Section .........................................................................................11 Related Instructables ........................................................................................................13 Advertisements ...............................................................................................................13 Comments ................................................................................................................13  http://www.instructables.com/id/Compact-3-in-1-Stripboard-DIYduino-with-Integrated/  Intro: Compact 3-in-1 Stripboard DIYduino with Integrated Sensor and L298N Motor Shield 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. The2-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, asensor 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. DIYduino2. DIYduino with integrated sensor and 1-channel motorshield - no speed control3. DIYduino with integrated sensor and 1-channel motorshield - with speed control4. DIYduino with integrated sensor and 2-channel motorshield - no speed control5. DIYduino with integrated sensor and 2-channel motorshield - with speed controlMy pictures represent the third version, which is the one I chose for a particular robot application that I am currently building. Image Notes 1. Motorshield L2982-channel2. Sensor Shield3. Arduino Uno4. Combination of Arduino, Motor Shield, and Sensor ShieldVersion 3, bare bones Step 1: 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 thatis 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 forexample 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 numberof 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 godown. 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 bonesprice' 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 thataddressed 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. Forcompletion 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.  http://www.instructables.com/id/Compact-3-in-1-Stripboard-DIYduino-with-Integrated/  Step 2: Tools and Hardware The picture shows most of the hardware that I used:1) Solder iron & solder – to solder everything together2) Carpet knife – to separate copper traces between holes3) Hand saw with skinny blade – to cut strip board to size4) File, not too coarse – to deburr strip board after cutting it5) Wire cutters – to shorten legs of soldered electronic component6) Fine tipped pliers – to bend component legs7) Red, black, blue sharpie markers and pencil – to transfer layout to stripboard8) Third Hand (invented by rstraugh ...thanks) – to hold parts and board when needed9) Track Cutter (invented by scraptopower ...much obliged) – to separate copper traces at holes10) Voltmeter with test leads – to confirm functionality of separation cuts and debugging11) Scanned in strip board pattern – to develop stripboard schematic12) ArduinoISP Bootloader/Programmer Combination Shield (not shown) & Arduino with USB to serial chip (e.g. Arduino Uno ) - to upload the bootloader and sketches to DIYduino. You can also use a USBtoSerial programmer for uploading a sketch and work around the Bootloader Shield and use the DIYduino you build here to load thebootloader.13) Cables to plug onto male/female connectors (not shown) – to make connections for testing14) Variable power supply with voltage range of roughly 3V to 12V – to test voltage regulator and provide power to stripboard (not shown)15) Computer with Arduino software – to test functionality of DIYduino & motor driver (not shown)16) Drill and drill bits (not shown) – to widen/drill holes for stand offs and drill hole in heat sink Image Notes 1. solder iron and solder2. carpet knife  http://www.instructables.com/id/Compact-3-in-1-Stripboard-DIYduino-with-Integrated/  3. small hand saw4. third hand5. voltmeter with test lines6. markers & pencil7. file8. clippers9. 4mm drill with handle10. Arduino11. paper with strip board design printed on it12. fine tipped pliers Step 3: Combining Schematics of DIYduino & Motor Driver To create the strip board layout I determined the schematic I wanted to create first. You can essentially do a strip board design with any schematic no matter if youinvented it, downloaded it, or re-engineered it. For me the official Arduino schematic was a tad too complicated and essentially overkill for my purpose. Instead I alteredthe much simpler schematic of the minimalist Arduino as shown in the first figure. This schematic was published and discussed onhttp://thetransistor.com/projects/arduino/  .In the schematic shown here I marked my changes in red color:1. I crossed out the items that weren't part of my built.2. I changed the values of the capacitors that smooth potential voltage peaks at the 5V regulator. These are the values that I had available in my stock and they'll do the job.3. I crossed out the LED/resistor connected to Pin13 to safe parts. I only connected an LED/resistor temporarily to test the functionality of the DIYduino as described later.4. I removed the +5V from the Aref as recommended in a comment with respect to this tutorial: http://arduino.cc/forum/index.php/topic,7569.0.htmlThen I combined the minimalist Arduino schematic with a schematic of a L298N motordriver that I found on solarbotics's site . I did this by connecting L1, L2, L3, and L4 (L298N pins 5, 7, 10, & 12) to the ATMEGA's digital pins 7, 8, 13, & 12, respectively. Pins E1-2 and E3-4 (L298N pins 6 & 11) are connected to +5V for maximum motorspeed at all times or to Arduino PWM pins 9 & 6 for adjustable motor speed, respectively. I am also showing the ATMEGA 168/328 pin map, which help me to assign theproper ATMEGA pins and which can be found at http://arduino.cc/en/Hacking/PinMapping168 .
Search
Tags
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks