How to Make Circuits in the Fab Lab: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
Lass (talk | contribs)
No edit summary
Lass (talk | contribs)
No edit summary
Line 5: Line 5:


== Decide what function your circuit board should have ==
== Decide what function your circuit board should have ==
A good approach is to write down in words how the circuit board should work.
* download a cad file from the hello-world circuits section on the http://fab.cba.mit.edu/about/fab/ or from [[hello world electronics]]
* download a cad file from the hello-world circuits section on the http://fab.cba.mit.edu/about/fab/ or from [[hello world electronics]]
* Or design [[custom circuit]]  
* Look for open hardware solutions on the internet.* Or design [[custom circuit]]  
 
== Create the schematic and board layout in a CAD program ==
Use e.g.  Eagle or Cad.py, ,or Gimp (drawing tool), Inkscape or Open Office or draw it with black pen and scan and trace. The gap should be the right size and shape.


== create the schematic and board layout in a CAD program ==
Use e.g.  Eagle or Cad.py, ,or Gimp or draw it and scan


== Fabricate the board ==
== Fabricate the board ==
Physically milling or cutting out the board which connects components  
Physically milling or cutting out the board which connects components  
* [[Making circuit boards on Modela]]
* [[Making circuit boards on Modela]]
* [[Making circuit boards on Camm]]
* [[Making circuit boards on Camm]] with e.g. copper foil.
== Make a programming cable ==
* [[Making circuit boards on Epilog Laser]]
* [[Make a programming cable]]


== Solder the board ==
== Solder the board ==
If you want to where the components should be you could look at the file design, in .cad file or you can check out * [http://www.fablab.is/w/images/8/8e/Circuits_descriptions.pdf Circuit descriptons. pdf]
Solder the components to the board.
If you want to where the components should be you could look at the file design, in .cad file or you can check out  
* [http://www.fablab.is/w/images/8/8e/Circuits_descriptions.pdf Circuit descriptons. pdf]
* [http://www.fablab.is/w/images/b/b0/Scotts_New_MIT_Hello_World_Circuits.pdf Scotts new Hello World Circuits description]
* [http://www.fablab.is/w/images/b/b0/Scotts_New_MIT_Hello_World_Circuits.pdf Scotts new Hello World Circuits description]


Solder the board.
Solder the board.
== Make a programming cable ==
* [[Make a programming cable]]
== Write the Program ==
Write the program (in e.g. assembler or C) , compile the program so that the microcontroller will understand it




== Programming the microcontroller ==
== Programming the microcontroller ==
* Use AVRDUDE
If you are using the Fab Labs, AVR microcontrollers
*Use ICP (In Circuit Programmer)
*AVRDUDE
*  
*  


== Test the microcontroler ==
== Test the microcontroller ==
Plug the microcontroller in.
* Is the power on?




== Troubleshooting ==
== Troubleshooting ==
* Is the power on?
* Is the battery plugged in?
* Is the power going to the microcontroller?
** Use multimeter, to measure the power and it should be around 3,3 Volts to 5 Volts for the hello boards.
* Is the board soldered rightly?

Revision as of 16:25, 14 January 2010

top level page for circuits

Making a circuit requires several mini-projects:

Decide what function your circuit board should have

A good approach is to write down in words how the circuit board should work.

Create the schematic and board layout in a CAD program

Use e.g. Eagle or Cad.py, ,or Gimp (drawing tool), Inkscape or Open Office or draw it with black pen and scan and trace. The gap should be the right size and shape.


Fabricate the board

Physically milling or cutting out the board which connects components

Solder the board

Solder the components to the board. If you want to where the components should be you could look at the file design, in .cad file or you can check out

Solder the board.

Make a programming cable

Write the Program

Write the program (in e.g. assembler or C) , compile the program so that the microcontroller will understand it


Programming the microcontroller

If you are using the Fab Labs, AVR microcontrollers

  • Use ICP (In Circuit Programmer)
  • AVRDUDE

Test the microcontroller

Plug the microcontroller in.

  • Is the power on?


Troubleshooting

  • Is the power on?
  • Is the battery plugged in?
  • Is the power going to the microcontroller?
    • Use multimeter, to measure the power and it should be around 3,3 Volts to 5 Volts for the hello boards.
  • Is the board soldered rightly?