An introduction-to-electronics project for kids around 10.
Assemble according to the schematic.
Soldering should be easy - except for the USB connector and perhaps the micro.
For the USB connector:
- Put the connector in place, and hold it while flipping the PCB over.
- Solder one of the ground pins that comes through the PCB to hold in place
- Double check that it's in the right spot
- Solder the remaining ground pins from the bottom.
- Solder the signal pins using as little solder as you can.
- If you bridge two pins, then you can use solder wick or remove with the soldering iron
To remove solder with the soldering iron, clean the tip with a wet sponge, apply the tip to the excess solder and it will pick up a small amount. Repeat cleaning and appplying tip to excess solder many times - say 10.
For the micro:
- Ensure the right way around - there's a dot marking pin 1 - should go near the "U1" label.
- Put in place and solder just one pin to hold it
- Ensure in place, melt the soldered pin to adjust as necessary
- Solder another pin on the far side
- Ensure placement is still good.
- Solder remaining pins
- If you bridge two pins, then you can use solder wick or remove with the soldering iron
To remove solder with the soldering iron, clean the tip with a wet sponge, apply the tip to the excess solder and it will pick up a small amount. Repeat cleaning and appplying tip to excess solder many times - say 10.
For all the surface mount parts:
- Apply solder to one pad
- Position the part and melt the solder to join the part
- Solder the remaining pad
For the LEDs (colour and front/back is at the user's discretion):
- Short legs go near the flat side of the circle on the PCB outline - they all face the same direction
- Put one leg in each hole and push down fairly close to the PCB.
- Spread the legs slightly to hold in place
- Solder both legs
- Cut off excess with wire cutters
Under linux, avr-gcc is required. Compile by typing
make
sudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash main.hex
sudo dfu-programmer atmega16u2 start
To re-enter bootloader programming over USB, short (connect) between R21 and the nearby battery holder and press the reset button. A paperclip can be used. When done right, LED21 will be on during the reset.
Running from batteries will require programming the fuses - which can't be done over USB. To be completed...