Home

Projects

Week 7 - Embedded Programming

Task: read a microcontroller data sheet; program your board to do somehting, with as many different programming languages and programming environments as possible

Trying to Program my hello.Echo Board

This week I attempted to get my board from Week 5 to do something interesting and communicate with my computer.


Milling Issues

I downloaded and installed all the necessary parts: the Arduino IDE, ATtiny board Files, and the FTDI Drivers, but when burning the bootloader kept getting the error "initialization failed, rc=-1 Double check connections and try again, or use -F to override this check". I finally gave up and remilled my board, this time I saw under the components that covered the board, there were a bunch of places where the routes connected things that weren't supposed to be connected! Instead of going back to the drawing board, I decided to try to first disconnect these places using an xacto knife and tweezers, hoping it would work out.

Programming

Arduino IDE

Bootloader burned, it was time to try some examples. Here's the button-triggered LED

Echo using C

To use C, I needed to call the makefile that converts the C into hex that the microcontroller can read. I used Neil's template .c file for the hello.Echo board

Where to go from Here

Thus far nothing complicated, but soon will need to get more stuff to work; I also want to try to get python programming to work.