Showing posts with label practise. Show all posts
Showing posts with label practise. Show all posts
Sunday, September 28, 2014
Saturday, September 27, 2014
Working with LCD display on HD44780 AVR
Tuesday, August 19, 2014
How to work with Sharp Infrared sensor
I already wrote how to work with ADC In this article.
( In the simplest case ) Infrared Proximity Sensor - Sharp has 3 output pins: Vcc - Power, GND - Ground and Vo - Data. Depending on the distance varies the voltage at the output Vo, all that left is transform that data to digital information.
AVR Tutorial - ADC (Analog to Digital Converter)
ADC as you can guess converts analog voltage to digital number, so we could work with it in microcontroller. We can build simple ADC with comparator, it's a device which compares 2 signals (1 of them is some constant reference voltage) gives one otput if 1 signal is bigger and other if smaller.
ADC accuracy depends on it's resolution. e.g. if we have reference voltage = 5 V and our ADC is 10-bit, then on every bit we have 5 / ( 2^10 - 1 ) = 0.00489 or 5 mV, so we can't measure changes less than 5 mV.
Monday, August 18, 2014
Playing music on AVR with PWM
At first I tried to write code myself, but I failed many times.
So i searched for a working project and found it, AVR is using PWM and simple Piezo Buzzer.
Sources on Github
Friday, August 15, 2014
Subscribe to:
Posts
(
Atom
)

