Arduino Night: Difference between revisions
No edit summary |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This class will change from starting at 7 to starting at 6. If this does not work for you, please contact the E-Mail address at the bottom. We are fairly flexible with the time. Also, if enough people chip in, we can order some food. | |||
Agenda | |||
1. DIY Arduino Build | |||
2. Fading LEDs with transistors | |||
3. 7 segment displays | |||
4. Multiplexers as port expanders | |||
After the DIY Arduino, we will cover as much of items 2-4 as possible. | |||
For the DIY Arduino there will be kits for $12 with the following parts | |||
No. Qty. Description | |||
1 IC, ATmega328P, DIP-28, Optiboot bootloader /2129334 | |||
1 Socket, IC, 28-pin, 0.3" | |||
1 IC, 5V regulator, 7805T | |||
1 LED, Red, 660nm, T1-3/4 (Replaced 334035) | |||
1 LED, Green, 565nm, T1-3/4 | |||
1 Resistor, 1/4W, 10K Ω | |||
2 Resistor, 1/4W, 180 Ω | |||
2 Capacitor, radial, 10µF, 50V | |||
1 Crystal, 16 MHz, low-profile | |||
2 Capacitor, ceramic disc, 22pF, 50V | |||
1 Capacitor, ceramic disc, 0.1µF, 50V | |||
1 Switch, pushbutton, OFF-(ON) | |||
1 Header, 6-pin, 1-row, vertical, 0.1" | |||
1 IC, 3.3V regulator, LM1117T-3.3 | |||
2 Capacitor, tantalum, 10µF, 25V | |||
1 9v Power Connectors | |||
Requirements | |||
1. Arduino or kit from topic 1 (only needed for topics 2-4) | |||
2. Breadboard (there might be a few available) | |||
3. Jumper wires for breadboarding | |||
Provided | |||
1. Arduino Uno Kits (parts listed above) for $12 | |||
2. FTDI Cable to Use and/or Buy | |||
3. Extra Headers, 9v Power Connectors to Use and/or Buy | |||
4. 9v Batteries to Buy | |||
5. 7 segment displays (approx 6) | |||
6. Multiplexer boards (only 3) https://www.sparkfun.com/products/9056 | |||
7. Transistors (P2N2222) | |||
If there are any questions, comments, suggestions, etc then please contact Proto17 at dmp250net@gmail.com. | |||
= Arduino Night 2 = | |||
Agenda: | |||
1. Transistors for LEDs and motors (a repeat, but really important!) | |||
2. Shift registers to control LEDs (and possibly 7 segment displays) | |||
3. Using tactile switches (including de-bouncing) | |||
4. Talking to other Arduinos | |||
(I do not expect to get to number 4, but it's there if we do!) | |||
Required Items: | |||
1. Breadboard (please let me know if you need one as I have several to borrow) | |||
2. Arduino (any kind will work, including the DIY builds) | |||
3. Laptop (please let me know if you need one as the space has about 3) | |||
4. Jumper wires | |||
5. 9 volt battery (for the transistor portion) | |||
Provided Items: | |||
1. LEDs (red/green and single color) | |||
2. 7 segment display (mix of common cathode and common anode) | |||
3. Shift register (74HC595) | |||
4. Tactile switch | |||
5. 2N2222A transistor | |||
If you would like a shift register of your own, please let me know. I ordered 10 for the last class and will happily part with them for a $1 donation to the space. For those of you who would like to order one prior to the class, the part number is 74HC595. Available from Jameco, Mouser, DigiKey, Adafruit, and SparkFun. I am fairly certain that we have several at the space as well. | |||
Since the space runs off of donations, we would like to mention that the recommended donation for this class is $10. It is by no means a requirement! Attendance to the space and this class is, as usual, 100% free to all! And a huge thank you to those of you who donated last time! | |||
For questions/comments, please contact uas.arduino@gmail.com. | |||
Hope to see you all there :) | |||
Oh, and here are some links for the "Available from Jameco, Mouser, DigiKey, Adafruit, and SparkFun" part: | |||
http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_46105_-1 | |||
http://www.mouser.com/ProductDetail/NXP-Semiconductors/74HC595N112/?qs=sGAEpiMZZMvKM5ialpXrmr5J3bDXowCz | |||
http://www.digikey.com/product-detail/en/SN74HC595N/296-1600-5-ND/277246 | |||
https://www.adafruit.com/products/450 | |||
https://www.sparkfun.com/products/733 | |||
= another event = | |||
Possibly SRAM, and just general messing around. | |||
Agenda | |||
1. Reading and writing to SRAM (we will be using 256K CY7C199CN chips. | |||
2. Transistors (should have done this at the last class). Using them to turn on LEDs and DC motors. | |||
3. Two way communication to the Arduino using Serial.read() and Serial.println(). | |||
4. Using tactile switches (tiny buttons) to toggle two LEDs. | |||
Required Items: | |||
1. Arduino (Uno or better) | |||
2. Laptop (needs to have the Arduino software loaded) | |||
3. Breadboard | |||
4. Jumper wires. Full size is best, but small ones will work as well. | |||
Provided Items: | |||
1. 2N2222 Transistors (Datasheet) | |||
2. CY7C199CN 256K SRAM (Datasheet) | |||
3. DC motors | |||
4. LEDs | |||
5. Tactile switches | |||
If there are any questions, comments, suggestions, etc then please contact Proto17 at dmp250net@gmail.com | |||
== External code links == | |||
Various code snippets used during class - http://pastebin.com/u/uas_arduino | |||
==Classes== | |||
1) Here we go again <span style="color:red">-done</span> | |||
2) Digital Write | |||
3) Digital Read | |||
4) Analog Write | |||
5) Analog Read | |||
6) Serial | |||
7) Interrupts | |||
8) ShiftOut In | |||
9) I2C | |||
10) SPI | |||
11) | |||
12) | |||
13) | |||
[[Category:Events]] |
Latest revision as of 12:39, 8 January 2023
This class will change from starting at 7 to starting at 6. If this does not work for you, please contact the E-Mail address at the bottom. We are fairly flexible with the time. Also, if enough people chip in, we can order some food.
Agenda
1. DIY Arduino Build 2. Fading LEDs with transistors 3. 7 segment displays 4. Multiplexers as port expanders
After the DIY Arduino, we will cover as much of items 2-4 as possible.
For the DIY Arduino there will be kits for $12 with the following parts
No. Qty. Description 1 IC, ATmega328P, DIP-28, Optiboot bootloader /2129334 1 Socket, IC, 28-pin, 0.3" 1 IC, 5V regulator, 7805T 1 LED, Red, 660nm, T1-3/4 (Replaced 334035) 1 LED, Green, 565nm, T1-3/4 1 Resistor, 1/4W, 10K Ω 2 Resistor, 1/4W, 180 Ω 2 Capacitor, radial, 10µF, 50V 1 Crystal, 16 MHz, low-profile 2 Capacitor, ceramic disc, 22pF, 50V 1 Capacitor, ceramic disc, 0.1µF, 50V 1 Switch, pushbutton, OFF-(ON) 1 Header, 6-pin, 1-row, vertical, 0.1" 1 IC, 3.3V regulator, LM1117T-3.3 2 Capacitor, tantalum, 10µF, 25V 1 9v Power Connectors
Requirements 1. Arduino or kit from topic 1 (only needed for topics 2-4) 2. Breadboard (there might be a few available) 3. Jumper wires for breadboarding
Provided 1. Arduino Uno Kits (parts listed above) for $12 2. FTDI Cable to Use and/or Buy 3. Extra Headers, 9v Power Connectors to Use and/or Buy 4. 9v Batteries to Buy 5. 7 segment displays (approx 6) 6. Multiplexer boards (only 3) https://www.sparkfun.com/products/9056 7. Transistors (P2N2222)
If there are any questions, comments, suggestions, etc then please contact Proto17 at dmp250net@gmail.com.
Arduino Night 2
Agenda: 1. Transistors for LEDs and motors (a repeat, but really important!) 2. Shift registers to control LEDs (and possibly 7 segment displays) 3. Using tactile switches (including de-bouncing) 4. Talking to other Arduinos
(I do not expect to get to number 4, but it's there if we do!)
Required Items:
1. Breadboard (please let me know if you need one as I have several to borrow)
2. Arduino (any kind will work, including the DIY builds)
3. Laptop (please let me know if you need one as the space has about 3)
4. Jumper wires
5. 9 volt battery (for the transistor portion)
Provided Items:
1. LEDs (red/green and single color)
2. 7 segment display (mix of common cathode and common anode)
3. Shift register (74HC595)
4. Tactile switch
5. 2N2222A transistor
If you would like a shift register of your own, please let me know. I ordered 10 for the last class and will happily part with them for a $1 donation to the space. For those of you who would like to order one prior to the class, the part number is 74HC595. Available from Jameco, Mouser, DigiKey, Adafruit, and SparkFun. I am fairly certain that we have several at the space as well.
Since the space runs off of donations, we would like to mention that the recommended donation for this class is $10. It is by no means a requirement! Attendance to the space and this class is, as usual, 100% free to all! And a huge thank you to those of you who donated last time!
For questions/comments, please contact uas.arduino@gmail.com.
Hope to see you all there :)
Oh, and here are some links for the "Available from Jameco, Mouser, DigiKey, Adafruit, and SparkFun" part:
http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_46105_-1 http://www.mouser.com/ProductDetail/NXP-Semiconductors/74HC595N112/?qs=sGAEpiMZZMvKM5ialpXrmr5J3bDXowCz http://www.digikey.com/product-detail/en/SN74HC595N/296-1600-5-ND/277246 https://www.adafruit.com/products/450 https://www.sparkfun.com/products/733
another event
Possibly SRAM, and just general messing around.
Agenda
1. Reading and writing to SRAM (we will be using 256K CY7C199CN chips. 2. Transistors (should have done this at the last class). Using them to turn on LEDs and DC motors. 3. Two way communication to the Arduino using Serial.read() and Serial.println(). 4. Using tactile switches (tiny buttons) to toggle two LEDs.
Required Items:
1. Arduino (Uno or better) 2. Laptop (needs to have the Arduino software loaded) 3. Breadboard 4. Jumper wires. Full size is best, but small ones will work as well.
Provided Items:
1. 2N2222 Transistors (Datasheet) 2. CY7C199CN 256K SRAM (Datasheet) 3. DC motors 4. LEDs 5. Tactile switches
If there are any questions, comments, suggestions, etc then please contact Proto17 at dmp250net@gmail.com
External code links
Various code snippets used during class - http://pastebin.com/u/uas_arduino
Classes
1) Here we go again -done
2) Digital Write
3) Digital Read
4) Analog Write
5) Analog Read
6) Serial
7) Interrupts
8) ShiftOut In
9) I2C
10) SPI
11)
12)
13)