This is a simple project, called LED candle. I will be using yellow LED’s of 2 and a simple PWM code that runs on AVR (ATmega328p) chip make’s the LED flickering that almost looks like candle. 😛 for candle I will be using LED’s+translucent paper.
code is very straight , Simple PWM code runs on ATmega48/328p
#define F_CPU 1000000UL
DDRB |= 1<<PINB1; //
DDRB |= 1<<PINB2;
TCCR1A |= 1<<COM1A1 | 1<<WGM11; //
TCCR1A |= 1<<COM1B1;
TCCR1B |= 1<<WGM12 | 1<<WGM13 | 1<<CS10; //
ICR1 = 49; //top value
OCR1B = rand() % 47 + 1;
OCR1A = rand() % 47 + 1;
Mini tank robot was my one of oldest project. I built it for fun, no use only for fun. I did used ADXL335 accelerometer for inclination detection , AVR microncontroller (ATmega164P) for processing and controlling and L293D motor driver Chip and BO series motor.
POV display based on ATmega48
Volume indicator Indicates the level of audio signal.(this project is under construction.. will update soon )
INPUT devices: microphone OUTPUT: LED bar graph processing: AVR (ATmega32A)
microphone pickup’s the audio signal and BC546 preamp amplifies the signal to the level 1.8Vpp max, so that ADC can read. BC546 collector feedback bias circuit.
audio fed to the ADC pin of ATmega32A
aaded voltage regulator (2sc1383 + 5V6 zener), we can also use LM7805 regulator.
I am always interested in building radio circuits. am transmitter, for construction, I used copper clad boards and really like the construction, not neat though, I do remember that I sprayed thicke…
Source: AM transmitter