Programming eletronics (ATtiny84a)

  This week assignement was reading a microcontroller data sheet (attiny 84a). Program your board (Echo Hello World) to do something, with as many different programming languages and programming environments as possible.

*All files provided on the navigation menu.

Understanding Arduino IDE

  For this week i entered in a world i have no knowledge about, programming. I have tried the arduino examples, blink and button and they all worked. Than i had a little problem combining the two. But affter understanding the structure of Arduino program i figgured it out.

  This week was a labor intensive but i didn't got many images once the process of programming is so dynamic, and the errors are "easily" fixed. Or easily interchangeable with other errors.

Keypad 3x3 + Serial

Echo Hello World + Sound (2Leds+Button)

  Last week i got the Echo Hello Board working, i programed it (with the Arduino IDE) to blink the two Leds (red and green) with the button.

Again the so satisfying led gif!

  I then tried to make my board make some sounds, for that i used a 8 Ohm 25w Speaker. I figurred out that the speaker connector fits perfectly on two pins of the ISP headear, so i got it on the GND and MOSI pins (GND and 6). I used the ToneMelody example on the Arduino IDE (1.6.1), Examples, under 02.Digital. But for some reason the code didn't work!

The Speaker and the Echo Hello Board

And the Speaker connects perfectly on the ISP header, in Brazil we call that "Gambiarra"

Just press the button and the speaker buzz, this was more dificult than make it play a melody.

Reading the serial Keypad 3x3 (right and wrong baud gibberish)

  I'm having a difficult with understanding what my final project will need in terms eletronics and programming, so Shawn has inspired me in doing an schematic of the funcions based con the Finite Stare Machine.

What is missing...

  For this week i didn't read the microcontroller data sheet yet.