Week 7

Feb 27. Electronics Design



Group Assignment

Use the test equipment in your lab to observe the operation of a microcontroller circuit board.

Oscilloscope

Start the oscilloscope and connect the tips.

PCB to Test

Connect the tips to a PCB that will send a pulse or series of pulses.

Pulse Testing

Binary pulse on screen over time.

123 abc Testing

Pulse sent by a 123 abc signal.

Elongated 123 abc tesitng

Elongated sent by the 123 abc signal.

Testing Amperage

Amperage testing of a PCB with an ammeter.

Instructions

  1. Connect the oscillometer tips to the oscillometer
  2. Start the oscillometer
  3. Connect the tips to a PCB to test
  4. Send a binary pulse and observe
  5. Send a 123 abc pulse and observe
  6. Elongate in time the 123 abc wave pulse and observe
  7. Use an ammeter to test the amperage of the PCB's input current


Individual Assignment

Redraw the echo hello-world board, add (at least) a button and LED (with current-limiting resistor) check the design rules, make it, and test it. Extra credit: simulate its operation

Eagle Control Panel

Add Sparkfun libraries (or any other you need) to guarantee that you have all the ocmponents in stock at your FabLab.

Eagle Schematic

Create your schematic trying not to cross lines to help a bit the automatic process.

Eagle Board

Create board and include within the canvas, run the automatic line tool and correct any errors left.

Final Inner Engraving

PNG used to created rml file to engrave.

Final Outer Cut

PNG used to create rml file to cut.

Changing Tool

Including the engraving tip on the Rolan Mill

Engraving

Video of the PCB being engraved.

Engraved PCB

Final Engraved PCB, still a long way from being finished

Color image

Color image of the PCB

Schematics

Final schematics for PCB

POPCB working

Image of the PCB working

Video PCB working

Video of the PCB working/p>

Instructions

  1. Define components to be used: three LEDs, three resitors, one capacitor, one tiny45 microcontroller, 6 pin piece, one push button.
  2. Define your schematics on paper
  3. Open AutoDesk Eagle
  4. Look for the tiny45 microcontroller and include it in your schematics
  5. Add the 6 pin piece, connect to the pins you'll need
  6. Add the resistors and connect to VCC
  7. Add the LEDs after the resistors, one of them will go on when connected, another one will be programmed and the third one will be lighted by the button
  8. Add the capacitor rigth after VCC and on parallel with resistors
  9. Add the button before a LED
  10. Connect all components
  11. Go to the Board on Eagle
  12. Move your components into the PCB canvas (within the yellow lines)
  13. MOve the ocmponents as close to each other as you feel comfortable, remember you'll need to solder afterwards
  14. If you feel lucky try the automatic connection generator
  15. If you don't, move the ocmponents around (rotate, change positions, etc) to eliminate any lines crossing
  16. After you see very few lines crossing, or none at all, run the automatic connection generator
  17. Once you have zero error in the alert section you are finished (it can take several trials)
  18. Eliminate all the layers from the view except the top/engraving one (red) and export to image to make inner PNG
  19. Eliminate all the layers from the view except the dimensions one (yellow) and export to image to make the outer PNG
  20. Run the inner PNG by fab modules to create inner rml file
  21. Run outer PNG by fab modules to create outer rml file
  22. Run the inner rml file through the RolanMill to engrave
  23. Our equipment is having a bit of trouble cutting still
  24. We finally were able to cut using a mini mill, same process than for the Roland mill just adjusted parameteres
  25. After engraving and cutting the next process is solding the components following your schematics to the PCB
  26. Program the PCB to recognize the button and the different LEDs
  27. Test the PCB connected to your USBTiny previously programmed