make_your_own_arduino
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
make_your_own_arduino [2017/11/17 16:00] – sdh7 | make_your_own_arduino [2019/07/25 17:02] (current) – sdh7 | ||
---|---|---|---|
Line 9: | Line 9: | ||
Minimum Age: 12 and up (under 18 must have parent present) | Minimum Age: 12 and up (under 18 must have parent present) | ||
- | In this class, Students will learn to solder their own Diavolino | + | This is a workshop |
- | Outline: | + | The workshop will cover the basics of soldering, assembly of the board, testing it for basic functionality, |
+ | |||
+ | Bringing your own laptop is not required but might be helpful, especially if you wish to go further in your Arduino exploration. Installing the Arduino software from https:// | ||
+ | |||
+ | USB-Serial note: We will have a number of FTDI USB-serial adapters available for use to program your Diavolino at the space. Purchasing one is not required for the workshop, but if you want to do more Arduino programming on your own, you will probably want to get one. We may have a limited number available for sale at the workshop ($5-$8, depending on the exact model), or you can pick one up at Micro Center for $8: http:// | ||
+ | |||
+ | No previous electronics/ | ||
+ | |||
+ | |||
+ | Class syllabus/Outline: | ||
* Full instructions at http:// | * Full instructions at http:// | ||
- | * Resistors | + | |
- | * 1K | + | * Resistors |
- | * 10k | + | |
+ | * 1K (bigger, brown-black-red) - this one keeps the LED from burning out and/or being blindingly bright | ||
+ | * 10k (smaller, brown-black-orange) | ||
* IC socket | * IC socket | ||
* Orientation! (less necessary than the IC itself, but good to get in the habit of doing this correctly) | * Orientation! (less necessary than the IC itself, but good to get in the habit of doing this correctly) | ||
* Tack first pin in, then adjust fit as needed | * Tack first pin in, then adjust fit as needed | ||
* Capacitors | * Capacitors | ||
- | * 18pF (2) (have black splotch across the top) | + | |
- | * .1 uF (3) | + | |
- | * Switch | + | * These along with the crystal make up the timing circuit for the microcontroller. |
+ | * .1 uF (3) - two in the top left corner, one just above the microcontroller. The one in the lower left corner can be ignored unless you want to add a 2.1mm power input and 7805 voltage regulator. | ||
+ | * These function as " | ||
+ | * Switch | ||
* LED - Square Hole + (long lead) | * LED - Square Hole + (long lead) | ||
* Crystal (*outer* holes on the PCB) | * Crystal (*outer* holes on the PCB) | ||
* Programming header | * Programming header | ||
* tack in pin and adjust if necessary | * tack in pin and adjust if necessary | ||
- | | + | * Jumpers (somewhat optional, and notice that they are zero-ohm resistors!) |
- | * ORIENTATION CRITICAL | + | |
- | | + | |
* NOTE: The Diavolino does not have any protection from multiple voltage sources. You *must* be a little careful when powering it. If using USB power, TURN THE BATTERY PACK OFF! | * NOTE: The Diavolino does not have any protection from multiple voltage sources. You *must* be a little careful when powering it. If using USB power, TURN THE BATTERY PACK OFF! | ||
* USBV Jumper - if you don't want to use the battery pack, or want it to be powerable via USB, install this jumper. | * USBV Jumper - if you don't want to use the battery pack, or want it to be powerable via USB, install this jumper. | ||
* Regulator jumper- if you want to use a 5V wall power supply, you can install this jumper. If you want to use a 9V (or greater) power supply, DO NOT INSTALL THIS JUMPER. | * Regulator jumper- if you want to use a 5V wall power supply, you can install this jumper. If you want to use a 9V (or greater) power supply, DO NOT INSTALL THIS JUMPER. | ||
- | * Battery Pack (optional) | ||
- | * Use the holes near the solder points for strain relief on the cables | ||
- | * Pack can be foam-taped to the underside of the board, if you want | ||
* Headers | * Headers | ||
* Solder these carefully- proper alignment is important! | * Solder these carefully- proper alignment is important! | ||
* Tack one pin of each on, then adjust as necessary | * Tack one pin of each on, then adjust as necessary | ||
+ | * Microcontroller | ||
+ | * ORIENTATION CRITICAL | ||
+ | * Battery Pack (optional) | ||
+ | * Use the holes near the solder points for strain relief on the cables | ||
+ | * Pack can be foam-taped to the underside of the board, if you want | ||
* Power on test | * Power on test | ||
* Apply power (via batteries or USB) | * Apply power (via batteries or USB) | ||
* The LED should begin blinking at a 1 second on, 1 second off rate. | * The LED should begin blinking at a 1 second on, 1 second off rate. | ||
+ | * More advanced tests/ | ||
+ | * Change the blink rate | ||
+ | * Load the blink sketch in the Arduino IDE | ||
+ | * Change the lines that say delay(1000) to a smaller number & save | ||
+ | * Set the board to " | ||
+ | * Set the port as necessary | ||
+ | * Program the board - the builtin LED should be blinking faster | ||
+ | * Fade test | ||
+ | * Put an LED between pin 11 (or another PWM pin) and GND (it's low current, so no resistor needed) long lead to 11, short to GND | ||
+ | * Load the " | ||
+ | * change the value of the ' | ||
+ | * Save the sketch & program the board - the LED should fade in & out of brightness | ||
+ | * More tests? | ||
+ | * In our inaugural class, there was still a fair amount of time left. | ||
Upgrades/ | Upgrades/ | ||
- | * Voltage Regulator - if you install a 2.1mm power jack, a L7805 voltage regulator, and a 0.1 uF and 10 uF capacitor, you can power the board from a 9V+ wall power supply. | + | * Voltage Regulator - if you install a 2.1mm power jack, a 78L05 voltage regulator, and a 0.1 uF and 10 uF capacitor, you can power the board from a 9V tip-positive |
+ | * ISP headers - If for some reason you somehow destroy the bootloader on your Arduino (it's possible, ask me how!), you can install this header, and using an AVRISP or other ATMega programmer, restore the bootloader onto the chip. For now, they can be omitted |
make_your_own_arduino.1510952442.txt.gz · Last modified: 2017/11/17 16:00 by sdh7