SEVENTH WEEK ASSIGNMENT |
|||||
EMBEDDED PROGRAMMING Assignment Read a microcontroller data sheet Program your board to do something, with as many different programming languages and programming environments as possible. |
|||||
Previous Assignment
In week 6, I implemented two cards, one with the Attiny 44, with its vital components that can be used to test other applications in the future, and a second card with the input and output components. INPUT/OUTPUTS has 4 buttons and 3 LEDs outputs. These INP / OUT can be connected where desired, and also I have used in my first steps with the arduino. |
|||||
---|---|---|---|---|---|
INPUT/OUTPUTS =====> I <==== O |
|||||
|
|||||
Will develop this assignment with ARDUINO and ARDUBLOCK. PROGRAMMING AN ATTINY WITH ARDUINO. This tutorial shows you how to program an ATtiny45, ATtiny85, ATtiny44 or ATtiny84 microcontroller using the Arduino software http://highlowtech.org/?p=1695. Download
|
|
||||
Connect the programmer to the USB port and load the Arduino program to establish the following settings. |
|||||
Here I show the code in Arduino and a Picture of the component already programed. VIDEO ATTACHED. |
|||||
Ardublock with arduino IDE Ardublock programming system designed by MIT. First download ArduBlock: http://cloud.github.com/downloads/taweili/ardublock/ardublock-all.jar Include all.jar ardublock-file in the tools folder of the Arduino IDE ".../arduino-1.0.5-r2\tools\ArduBlockTool\Tool\ ardublock-all.jar" You must create folders: ArduBlockTool\Tool\. Be careful, the name of folder “ArduBlockTool” under tools folder is case sensitive. Start the Arduino IDE and find ArduBlock under the Tool menu. FLASHING OUT The following application is the simplest of all and often serves to prove that things work. This is turn on and off the digital output set to the Pin 3. Within the block "loop" that has always been placed on applications and eauivale block loop of the program that is written in a conventional manner on the IDE Arduino "void loop". The blocks " set digital pin" serve to force the state of an output. The block "delay" is to set a delay in milliseconds. Once you have made the graphic scheme press the Upload button. And the program is written in automatic way in the Arduino IDE and we can proceed to charge our card with 44 Attiny. |
|
||||
ASSIGNMENT COMPLETED
|
|||||
<== PREVIOUS -
- ASSIGNMENTS -
- NEXT ==> |
|||||
|