December 8, 2009 8:06 PM
Re-Programming the Echo Board
by Elliot ClappThe results of Shawn helping me work through the problem of having multiple button with several positions
PNG of board that I drew in Illustrator
Main PCB with components being added
Button PCB, first try, and refinement
Button PCBs
I cut out a wooden frame on the laser cutter to to attach the buttons
Here is the code to make the LED light up when one of the buttons is pressed:
The code:
#include <avr/io.h> .org 0 cbi _SFR_IO_ADDR(DDRA), 1 sbi _SFR_IO_ADDR(DDRB), 2 loop: sbic _SFR_IO_ADDR(PINA),1 sbi _SFR_IO_ADDR(PORTB), 2 sbis _SFR_IO_ADDR(PINA),1 cbi _SFR_IO_ADDR(PORTB), 2 rjmp loop
The compile commands:
avr-gcc -c -mmcu=attiny84 -o blink.out blink.S avr-objcopy -j .text -O ihex blink.out blink.hex
The command to upload:
avrdude -F -p t84 -P usb -c avrispmkII -U flash:w:blink.hex
The reference:
www.atmel.com/atmel/acrobat/doc0856.pdf
Puppet Master Final Project Page Updated
Shopbot Project - Modular Shelving
Diploma Completion Checklist Update - 08.14.2010
Unsuccessful Modela Troubleshooting - Partially Successful Switch to Roland Vinyl Cutter
Very Basic Beginner Assembly Tutorial III: How to Use Avrdude
Very Basic Beginner Assembly Tutorial II: How to Use Gavrasm to compile an .asm flie
Very Basic Assembly Tutorial I: Where to Get Gavrasm for the Mac OS
Complete and Working --> Modified Hello Echo + Button + FTDI v.2
Modified Hello Echo + Button + FTDI v.2 ---> In Progress
Modified Hello Echo + Button + FTDI v.1
Mantis Hardware / Software Trial Run
First 3D Scans - Modela Scan of Laughing Die and Shell
Interlocking Rings - 3D Printing
MakerBot Cupcake CNC- Assembling the Plastruder mk4 Spindle
Capacitive Sensing - PuppetMaster v.1-v.2
[Revised] Fab Academy Final Project Proposal: PuppetMaster
FabISB Round 2: Stuffing and Programming the Board
Making Programming, Connector and Serial Cables
Final Project Licencing and Distribution
Internet 0 / Zero - Milling, Stuffing & Setting Up the Boards
Spindle Assembly - Mantis Milling Machine
PuppetMaster Final Project Page
Encoded Building Materials with Computer Numerical Control Assembly
Final Project Plan: PuppetMaster Universal Remote
Final project: pinball machine themed on an unfinished opera by Dylan Thomas and Stravinsky
Electronics design and production
The Fabian: an Arduino-compatible, student-friendly board for Fab Labs
Super simple bootstrap 3-axis controller
Breadboard-friendly Attiny45 board
Using a GUI to Control Processing Output with ControlIP5, Firmata via Serial
My favorite python/GTK reference
Fab ISB - Round 1: Milling Out The Board
Completed TARDIS Cast | Working Light