Eagle
Image
Electronis design tools
Kicad (open source)
Eagle (Autodesk license)
Tutorials
Introduction to Eagle (Fabacademy tutorial)
Tamiya-san archive : Electronics design
Tamiya-san archive : Programming
Mentioned in Lecture
Drawing PCB by hand
Download Library from Fabacademy page (Fabacademy week7)
Place your library file in Apps > EAGLE-8.6.3 > lbr.
When buying SMD chip, be careful for chip size!
Size / Dimension : 0.122" L x 0.063" W (3.10mm x 1.60mm)
Option > directory
Set path for “Library” and “Projects” if you want.
Make new project (File > New > Project), then
Refer to board design diagram in Fabacademy week7 page
add
command.Esc
.net
command and click pin on the component to draw wires.name
command to declare which wire connect each other.label
command and click the wire you named.value
command to insert value to componenterc
command to run check.add
overwrite the name of your wire)net
command.junction
command will make conjunctions at wires.move
command let you move components.rotate
command let you rotate components.change
function, change “width” to 0.016.ratsnest
command to simplify airwires.route
command to draw pattern, ripup
command to delete pattern. Right clickPolygon
, then move and scale flame to fit the outline.In the end, run DRC (Design Rule Check) to check whether your board design millable with your machine. (Tool > DRC)
As we use 1/64 inch bit, there should be more than 0.4mm clearance between each pattern. Change all clearance value in the dialog to 0.4mm and hit “check”.
I used SRM-20 for milling circuit, and made path data with Mods.
Refer to Week5 : Electronics production for detail how to’s.
Here is the results for milling,
and after soldering.
When exporting image from Eagle, despite of the the setting we had (Image size : 1011 x 1030), the exported png data had different image size (1028 x 1064).
We couldn’t figure out to fix this problem, so we changed the dpi after exporting data with preinstalled preview app in mac (enlarged 800 to 1600dpi).
Although we checked the clearance with DRC, Mods couldn’t draw path between some gaps.
I solved this by setting milling bit diameter bit smaller then actual size.
Install ftdi chip driver
http://www.ftdichip.com/Drivers/VCP.htm
To get FTDI cable working, I had to install driver first.
Download following files from class page, and put them in the same folder.
hello.ftdi.44.echo.c
hello.ftdi.44.echo.c.make
Install pip
Download get-pip.py and move to the same folder as above.
Then run…
$ sudo python get-pip.py
Now, you will be able to install pyserial by doing…
$ sudo pip install pyserial
Then follow the instruction in programming. You may find the link in week 8 class page too.
Go to directory you placed the files.
then run following command on terminal to compile program and write it to the board.
$ make -f hello.ftdi.44.echo.c.make
$ sudo make -f hello.ftdi.44.echo.c.make program-usbtiny-fuses
$ sudo make -f hello.ftdi.44.echo.c.make program-usbtiny
By doing this, you will get .hex and .out file in your folder.
If you want to progaram your board with other programmer such as AVRISP, replace usbtiny
with avrisp2
like this…
$ make -f hello.ftdi.44.echo.c.make
$ sudo make -f hello.ftdi.44.echo.c.make program-avrisp2-fuses
$ sudo make -f hello.ftdi.44.echo.c.make program-avrisp2
You may find the term you need to replace, by checking hello.ftdi.44.echo.c.make file.
Now, try run term.py program to communicate your board.
First get serial port information
$ ls /dev | grep usb
or
$ ls /dev/tty.*
Run term.py
$ python term.py /dev/tty.usbserial-AI02RJUC 115200
cf) $ python [file name] [serial port][speed]
hello.ftdi.44.echo DEMO from kai naito on Vimeo.
You may also use ArduinoIDE Serial monitor to communicate with your board once your board is programmed.