Fab Academy

Fab Academy Graduation – Class of 2010

Posted in Fab Academy on August 20th, 2010 by Anna France – Be the first to comment

Fab Academy Class of 2010 AS220  - Pilot Year

The pilot year of Fab Academy graduated today,  August 19, 2010 at the Royal Academy in Amsterdam during the Fab6 conference on digital fabrication.  Fab Academy @ AS220 Labs is pictured above.

Participants from left to right are: Shawn Wallace (our instructor), Elliot Clapp (photo credit), Anna Kaziunas France (myself), Makeda Stephenson, Jenine Bressner and Noah Bedford. All participants at Fab Academy AS220 Labs received their diploma in digital fabrication.

Watch the First Fab Academy Graduation Ceremony at the Royal Academy in Amsterdam – as I Saw it –>  Via Video Conference

Watch Me watch (via split screen video):


I blink a lot while computing!

Graduation half screen (without my reactions):

Puppet Master Final Project Page Updated

Posted in 16 Digital Fabrication Project Development, Fab Academy, Fab Academy Final Project on August 19th, 2010 by Anna France – Be the first to comment

Puppet Master final project page with links to all my Fab Academy work:
http://as220.org/~anna

Puppet Master Project Composite

Shopbot Project – Modular Shelving

Posted in 05 Computer-Controlled Machining, Fab Academy on August 19th, 2010 by Anna France – Be the first to comment

I designed a very simple set of modular cube-type shelves that can be stacked side by side or on top of each other to form a larger shelf or bookcase. Inner shelves will be attached with metal hardware, as will the back and sides of the shelf

Shopbot Shelving File
Download the .svg file

Diploma Completion Checklist Update – 08.14.2010

Posted in 15 Intellectual Property and Business Models, 16 Digital Fabrication Project Development, Fab Academy on August 19th, 2010 by Anna France – Be the first to comment

At this point I have completed all of the Fab Academy assignments to the best of my ability and time constraints.

Note: The shopbot project file that I will be posting shortly was not actually cut due to AS220 not having a shopbot and scheduling issues at the other shopbots in the area.

- See all my fab academy blog posts
- I am still frantically working on updating the final project page

Download the diploma completion checklist (assignments and how they were completed)

Depicted below.

Fab_Diploma_Completion_Checklist_08_14_2010_v.5.0_Page_1
Fab_Diploma_Completion_Checklist_08_14_2010_v.5.0_Page_2
Fab_Diploma_Completion_Checklist_08_14_2010_v.5.0_Page_3Fab_Diploma_Completion_Checklist_08_14_2010_v.5.0_Page_4

Modela Troubleshooting – Partially Successful Switch to Roland Vinyl Cutter

Posted in Fab Academy, Fab Academy Final Project, Tutorials on August 19th, 2010 by Anna France – Be the first to comment

I wish that I could relate tips for troubleshooting the Modela milling machine in this post – but I have hit a brick wall.  (However, I recommend you try the steps below if you are troubleshooting your own milling machine.)  My boards have been milling extremely hairy for weeks – punctuated by a workable board or two out of 50 or so milled.

I have tried:

  • changing the bit
  • changing / tightening the set screws
  • moving the position of the spindle (from high to low – low to high)
  • scraping the bed with razorblades to ensure that the boards are level (we accumulate tape and glue on the bed sometimes).
  • moving the position of the copper to be milled on the bed (sometimes this helps and but I can not replicate the same results in the same place twice.)
  • I have tried using different batches of whatever copper stock we have left in the lab.
  • I read the manual – no real help there – mostly Modela specific software tips.
  • I tried booting into Windows (we usually run the machine using Ubuntu) to see if there was a “recalibration” or “troubleshooting” program or setting in the Modela software – I couldn’t find anything to run that was machine based.

When I first began using the Modela back in January – I often had these types of problems, but as I became better acquainted with the machine, the boards came out better overall, with an occasional hairy board. However, in the last few weeks I mill almost exclusively mangled boards with the occasional usable board being produced.

As I am completely out of time – I thought I would try to cut my remaining infrared prototype boards for my final project / networking on the vinyl cutter out of flexible copper sheets. The boards are very tiny – I am not sure I can get them off off the sticky background without destroying them. I cut many multiples to use as spare parts for when parts get torn. Hopefully this will work and I can finish my projects.

vinyl

Very Basic Beginner Assembly Tutorial III: How to Use Avrdude

Posted in 08 Development and Project Management, Fab Academy, Tutorials on August 19th, 2010 by Anna France – Be the first to comment

First – If you have not already compiled your program

See the Very Basic Beginner Assembly Tutorial: How to Use Gavrasm to compile an .asm flie

If you have compiled your program (created a .hex file)

*Note: If you do not yet have avrdude installed or if you are a windows user and need avr studio – see Lady Ada’s tutorials for detailed information on how to download, setup, configure and use these programs. Lady Ada’s AVR software installation tutorial

Once your AVR software tools are installed:

Again – Lady Ada has excellent detailed tutorials on how to use avrdude check the out for details on what the all the commands are and what they do – I will just give the very basics here to help you program a chip.

1. Open your command line interface and navigate to the directory that contains the file you want to flash to the microcontroller.

2. Connect your AVR programmer to your computer – I prefer the usbtiny (also created by Lady Ada and available at a reasonable price from adafruit studios).

3. If your board has an resonator / external clock you will need to set the fuses first before attempting to program the microcontroller. You must do this first. However, once the fuses are set – you do not have to do it again. The fuses are set only once. You can reprogram the microcontroller as many times as you want after the fuses are set.

example to set fuses:

parts used in this example:
- 20 MHz clock
- bsd cable programmer
- microcontroller – attiny44

avrdude -p t44 -c bsd -U lfuse:w:0x7E:m

You need to change the parts in the code above to match the parts you are using in order for it to work. Ask you instructor if you are confused.

example to set fuses:

parts used in this example:

- 10 MHz clock
- usbtiny programmer
- microcontroller – attiny45

avrdude -p t45 -c usbtiny -U lfuse:w:0x7E:m

4. If you have set the fuses already or if your board does not have an external clock – here is how to flash / program the microcontroller.

generic example to flash microcontroller:

avrdude -p microcontroller -c programmer -U flash:w:program.hex

example with actual data:

parts used in this example:

- usbtiny programmer
- microcontroller – attiny44

avrdude -p t44 -c usbtiny -U flash:w:freqrx3.hex

Very Basic Beginner Assembly Tutorial II: How to Use Gavrasm to compile an .asm flie

Posted in 08 Development and Project Management, Fab Academy, Tutorials on August 19th, 2010 by Anna France – Be the first to comment

This tutorial instructs you on how to compile an assembly language file (.asm) into a .hex file using Gavrasm (Gerd’s AVR Assembler). the .hex file can then be uploaded to a AVR microntroller using Avrdude (or another program.)

1. Check to see if you have Gavrasm installed.

Open your command line interface and type:

gavrasm

If Gavrasm is installed you will see (your version number may vary):

+------------------------------------------------------------+
| gavrasm gerd's AVR assembler Version 2.5 (C)2010 by DG4FAC |
+------------------------------------------------------------+

2. If Gavrasm is not installed you will get an error.

You can download and install Gavrasm from here: [http://www.avr-asm-tutorial.net/gavrasm/index_en.html](http://www.avr-asm-tutorial.net/gavrasm/index_en.html).

*Note: if you are running a Mac OS (especially a pre-intel / PPC – Power PC Mac see my tutorial on where to get the compiled Gavrasm for PPC Macs or how to compile it yourself. *

3. If Gavrasm is installed — or once you get it installed:

A. navigate to the directory where the file that you want to compile is located.

- if you are unfamilar with unix commands:

To list the files in your current directory type:

ls

To change directory / navigate into a specific listed directory type (where directory name is the name of the directory you want to move to):

cd directoryname

To move upwards in the directory tree structure type”

cd ..

If you know the pathname of the directory that you want – type in the pathname of the directory preceded by “cd”

ex:

cd  /Desktop/mydirectory/mydirectory2

you can find more about general unix commands b doing a general internet search.

B. After navigating the correct directory – type:

gavrasm filename.asm

where “filename.asm” is the name of the assembly file you want to compile.

4. Gavrasm will compile the file for you and produce a .hex file of the same name as the .asm file.

Warnings:

Gavrasm will inform you if there are warnings. For the most part you can ignore the warnings. Ask your Fab Academy instructor if they are something you should be concerned about.

Errors:

If there are errors in compiling your file – Gavrasm will refuse to create a .hex file and will throw a bunch of error messages at you. Use these error messages to fix the problem.

If you don’t understand them – google the error or look at the datasheet for the microcontroller that you are using. See my tutorial on “Datasheet Tips”. Ask your instructor if you are confused – odds are they have encountered this many times.
You must fix the errors in the program before it will compile.

5. You can now use your AVR programmer and Avrdude to flash your microcontroller with the .hex file you just created

Very Basic Assembly Tutorial I: Where to Get Gavrasm for the Mac OS

Posted in 08 Development and Project Management, Fab Academy, Tutorials on August 19th, 2010 by Anna France – Be the first to comment

Having problems compiling Gavrasm on your Mac? Here is where to get Gavrasm (Gerd’s AVR Assembler) pre-compiled binaries for the Mac OS.

OS X 10.4.11 – Tiger (Power PC)

Download Anna Kaziunas France’s compiled version

OS X 10.5.x – Leopard

Download Kelly Snook’s compiled version

OS X 10.6.x – Snow Leopard

Download David Mellis’ compiled version

Windows & Linux

Pre-compiled binaries for Windows and Linux are available from the Gavrasm homepage.
http://www.avr-asm-tutorial.net/gavrasm/index_en.html

On Self Replication

Posted in 01 Digital Fabrication Principles and Practices, Fab Academy on August 6th, 2010 by Anna France – Be the first to comment

< <<<<<<<<<<<<< dystopian still life
>>>>>>>>>>>>>>> an auto-assembling
< <<<<<<<<<<<<< cyborg zombie?

Self-Replication

Part III – Working & Completed Modified Hello Echo + Button + FTDI

Posted in 06 Embedded Programming, Fab Academy on August 5th, 2010 by Anna France – Be the first to comment


Fab Academy Embedded Programming Assignment:

1. add (at least) a button to the serial echo hello-world board
2. modify the serial echo assembly program to respond to the button

I modified the hello serial echo board (my modified echo board version2 – see previous posts) to respond to a button and added an FTDI header so I could use it as a substitute for the internet 0 serial board. (I have a Mac and therefore no serial port).

The behavior is that the LED is always on – but when the button is pressed, it turns off.

Modified Hello Echo FTDI + Button

Shawn and I modified Elliot’s reprogramming the echo board code.

Here is the code:

; Modified.Hello.Echo.Blink LED.44.asm
;
; blink LED when button is pressed
;
; Code Created At FAB ACADEMY AS220
; by Shawn Wallace & Elliot Clapp
; Last Modified 08/05/2010  - Anna Kaziunas France
;
; Permission granted for experimental and personal use;

.device attiny44
.org 0
cbi DDRA, 1
sbi DDRB, 2
loop:
	sbic PINA,1
   	sbi PORTB, 2
 	sbis PINA,1
  	cbi PORTB, 2
rjmp loop

Here is How to Get the Board Running:

I use an usbtiny programmer.

Copy the above code into a text file and save it with YourFileName and .asm extension.
Compile it using gavrasm:

gavrasm YourFileName.asm

Compiling the file will create a .hex file.

First – set the fuses on your board:

avrdude -p t44 -c usbtiny -U lfuse:w:0x7E:m

Second – flash the attiny44 with the program code you just compiled:

avrdude -p t44 -c usbtiny -U flash:w:YourFileName.hex

Part II: Modified Hello Echo + Button + FTDI

Posted in 06 Embedded Programming, Fab Academy on July 28th, 2010 by Anna France – Be the first to comment

Modified Echo Version 2 – In Production

I am having some issues with the Modela this week. I milled this board last night, but it came out hairy / torn up. I will give it another go tonight.

Modified Hello Echo + FTDI + Button v.2 - Board

Download Eagle file for the Board: hello_echo_button_07.26.2010.brd

Modified Hello Echo + FTDI + Button v.2 Schematic

Download the Eagle File for the Schematic: hello_echo_button_07.26.2010.sch

The Mantis Hardware + Software Trial Run

Posted in 13 Machine Design, Fab Academy on July 28th, 2010 by Anna France – Be the first to comment

After we put the spindle together – Shawn and I tested the Mantis to see if it would respond to commands. It looks like Fab Academy AS220 (with a huge effort on Noah’s part) put machine together properly.

The Mantis responded to the following commands (see screenshots) and responded well. The next step is to figure out how to feed an .rml file into the software. (in progress). After that we need to mill a board on the Mantis and see how it turns out.

screenshotscreenshotscreenshot

Part I: Modified Hello Echo + Button + FTDI

Posted in 06 Embedded Programming, Fab Academy on July 28th, 2010 by Anna France – Be the first to comment

Modified Echo Version 1 – Complete But Broken

This version milled out a bit hairy. Some of the traces were broken, so I used jumpers to re-connect them.

Modified Hello Echo + FTDI + Button  v.1

There must have been a short somewhere – after stuffing it, setting the fuses and flashing it, I plugged it in to a 9v battery and received a puff of smoke for my efforts. The LED went on – then smoke came out.

Modified Hello Echo + FTDI + Button v.1

In addition, I placed the button too close to the programming header, making it hard to press the button. I am not including the Eagle board or schematic here – see version 2 for a better board.

Back to Eagle!!! See version 2 for a (hopefully) improved and working board).

First 3D Scans – Modela Scan of Laughing Die and Shell

Posted in 09 3D Scanning and Printing, Fab Academy on June 24th, 2010 by Anna France – Be the first to comment

“Laughing” Die 3D Scan Data
cube scan

Shell 3D Scan Data
shell scan

The Fab Academy Assignment
The assignment was to scan an object. I used the scanning attachment for the Modela milling machine and the Dr. Picza 3 software that comes with the Modela.  The Dr. Picza software works well enough, but unfortunately, it only runs on Windows.

The yellow Modela attachment (see pictures below) taps around the surface of an object using a touch sensor in order to scan a representation of it into the computer.

The objects I scanned were one of Shawn Wallace’s “laughing” dice and a shell we had laying around the lab. The output was saved as screenshots and as an .stl file that can be imported into meshlab and then cleaned up and (hopefully) printed with the Makerbot Cupcake CNC  printer.

Laughing Die Scanning Process

die scandie scandie scandie scan

Laughing Die Scan Output

shell scanshell scan

Shell Scanning Process

shell scanshell scanshell scan

Shell Scan Output

shell scanshell scanshell scanshell scanscan outputshell scanshell scanshell scan