1.13 Output devices

Ideas: Explorations

This week the assigment was to add an output device to a microcontroller board and program it to do something. In the beginning I used the DC motor code but it seems that because of the soldering it caused a short-circuit and it didnt work. I even check with the oscilloscope, but it appears to be uncalibrated. So, I am using using the design files and make the circuit produces a sound through the speaker, I also altered the source code.

Ingredients

Physical stuff (Atoms)

  • Hello.speaker.45 circuit
  • FabISP + 6-Pin DIL Ribbon Cable, 3 Inch + USB Mini-B Cable (6 Foot)
  • Speaker 80 Ohm 0.25W
  • Digital stuff (Bits)

  • Hello.speaker.45 source code and makefile
  • Instructions

    Steps

  • Step 0: Mill and sold all the components. Result: Hello speaker circuit (I mill two to reduce the risk, redundancy, just for fun)
  • Step 1: Program the speaker circuit board (using the FabISP burn the c code into the circuit: sudo make -f hello.speaker.45.make program-usbtiny). Result: circuit programmed
  • Step 2: Put a 9V energy source (battery). Result: Circuit powered
  • Step 3: Connect the speaker into the circuit. Result: sound frecuencies will start to be hear
  • Step 4: Modify the source code and reprogram the board again. Hear the new sounds
  • Results:

    Inspirations from HTMAA

    Full visual journey

    Back to top