Week 07 - Embedded Programming


This week's assignment was: read a microcontroller data sheet and program your board to do something with as many different programming languages and programming environments as possible



I started by reading the data sheet for the ATTiny1614. I altered the board I made last week a little bit. I took out the FTDI component and used just the 2x2 header instead to take care of the UDPI. I also added a 4.99k resistor to go between the 2x2 TX pin and the UDPI pin on the ATTiny1614. Here's last weeks schematic:

Board


And this weeks schematic with the changes:

Board


Here's the updated board:

Board


And the traces after exporting from Eagle in monochrome:

Board


Like last week, I opened this in Inkscape and drew a border around it so that I could cut out the board. I used the PCB mill in the arch shops again this week to mill the boards since I'm still having trouble with Clank and anisotropy. I used the default mods settings to mill, the 1/64 bit for the traces and the 1/32 for the cut out. I made one board with 6 offsets and one as 0 (so completely filled). Here they are:

Board


I then stuffed the board:

Board


I think it's the best one I've done so far. I checked the connections and things seemed to be working as expected. Then I moved on to programming! I heavily followed Zach's tutorial from the issue tracker to get the communication between Arduino and my board all set. I was having some trouble locating device but after rerunning some of the commands it finally connected! I wrote a short script that would have the LED light when the button was pressed:

Board


And it worked!

Board