Wednesday, April 29, 2015

Assembler delays

Using delays in AVR studio



Write a variation on the above program to produce any delay required for your project.

Monday, March 30, 2015

AVR Studio and assembly language.




You'll need to download AVR Studio 4.19 for further work on AVR assembly language.

Wednesday, March 18, 2015

RS232 protocol

The RS232 protocol has been around for many years now. There are various versions and we have to be aware that non-standard applications are used often. The main aspects are the sockets and plugs and the packet sending rules.





Wednesday, March 11, 2015

LDR, our first sensor






Some good code and information here.
Light dependent resistor circuit. See http://www.ladyada.net/learn/sensors/cds.html





Some voltage division images

We often want a sensor to send its signal using a changing voltage. For instance when the temperature is high we get a big voltage, and when the temperature is low we get a low voltage. Note that normally the input to an Arduino analog pin has to be between 0 and 5 volts.






Futurlec is a good site for buying Atmel ICs