Embedded Programming
Embedded Programming
The Plan:
The assignment was to program our LED + Button board to do something in as many programming languages as possible. My plan was to get the board to do something in at least two languages, document that, then move on to learning others.
The Process:
Ultimately I was successful, but it did require some trouble shooting on my part. When attempting to program the board in Arduino, everything seemed to be working fine on the software end, but nothing was happening on the board. When I would load the program, I got no error messages, but nothing would happen. Not knowing what the issue was, I tried holding the button down, then loading the program again. This resulted in an error message. At this point I assumed that the LED was the problem, so I de-soldered it, turned it around, reattached it, and sure enough, upon plugging it back in, the light came on.
This presented a new problem. The light was staying on and only going off if I pressed the button. I was able to make some adjustments to the “high” and “low” sections of the Arduino file and was able to get the light to only go on when the button was pushed.
The Final Product:
As with all of the electronics and programming items so far, this was a challenging unit for me. I had some issues with the software end of this project, but once resolved the rest of the project went pretty smoothly. I was able to get the board to respond in C, and was able to get the light to blink when programming with Arduino.
Below are the screen shots of and images from my successful attempts.
This week we were asked to program out LED + Button board to do something in as many programming languages as possible.
Embedded Programming
Monday, March 19, 2012
Button Pushed - Light On
Button Open - Light Off
Arduino Success
Feedback Success