Discussion Title | Created date |
---|---|
Temperature controlled fan using ATtiny13A Hi, I have ATtiny13, for which I painstakingly built a evaluation board, along with it I also built a simple driver using TIP122 to drive a 12V DC fan. I take temperature reading... |
Tuesday, 7 January 2014 - 19:19 |
Varing PWM duty cycle when using timer0 With ATmega644 when I used Timer1 I use ICR1 to set the TOP and then use OCR1A and OCR1B to vary the duty cycle on each channel. But if I want to use Timer0 i.e. 8-bit and there... |
Friday, 27 December 2013 - 15:28 |
Unable to make timer2 work on atmega644p Hi, I switched from atmega32 to atmega64. After changing the register names i hoped that it will work like it worked with atmega32. but some how I am not able to make timer2 work... |
Monday, 23 December 2013 - 22:17 |
Out of timers for HCSR04 Hi I am using an ATmega32@11.0592MHz. I have all three timers used, timer1 for PWM for two motors, timer2 for Servo PWM and timer0 for PID sampling. timer0 has a compare match... |
Friday, 18 October 2013 - 20:09 |
Bluetooth UART control need help tweaking Hi, Today I could successfully replace my MAX232 with a HC-05 bluetooth module, it worked great but I have few issues with it. I didn't change any thing on HC-05 using AT mode (... |
Sunday, 6 October 2013 - 10:44 |
Memory allocation inside ISR Hi, I was just wondering, what is efficient? - declaring a temp variable inside ISR. or - declaring it as a global variable and use as temp variable in ISR. Thanks, K |
Thursday, 3 October 2013 - 19:06 |
IR Obstacle Detector interface to Atmega32 Hi I have a NSK OBSTACLE DETECTER ver2.0 - PWM Based , there is not much information, but i had a talk with the guy who designed the module (He has a store near my place) and he... |
Tuesday, 6 August 2013 - 10:02 |
Battery charger Hi, I have replaced battery of my UPS and now I have a working 12V 7.2AH SLA battery. It would damage if it is not charged over a period. so I decide to make a DC 12V UPS for my... |
Saturday, 20 April 2013 - 04:36 |
Two Atmega8 Hi, This is just a thought. With my Atmega8 i always run out of GPIOs or EXT-INTs or TIMERS. Can I combine two MCUs on the same CRYSTAL to be in sync. 1. What is Daisy Chain? 2.... |
Wednesday, 20 March 2013 - 21:13 |
read portb Hi This one is silly but I am not able to figure out this bitwise operation. I connect four sensors to lower nibble of portb pb0:3 on atmega32. I am able to read each bit, I am... |
Tuesday, 19 March 2013 - 20:33 |
Function calls Hi, I want to know what is expensive, making two functions or having a single parameter and if loops. see below void motor_left_dir(uint8_t direction){ ... } void... |
Tuesday, 19 March 2013 - 13:25 |
4 IR sensors Hi, I use ATmega32A. I want to interface 4 Modulated IR proximity sensors. 3 in front (left center and right) one at rear (center). right now I read them in my main loop and... |
Sunday, 17 March 2013 - 12:29 |