Type in the full discussion title or a part of it.
Discussion Title Created date
Phototransistor cable for twilight detection
Hello!   I'm using a phototransistor (SFH - 3711) to detect day/night transitions with a simple circuit: Rss = 1Meg, CL = 100nF. The phototransistor current is 60uA for...
Friday, 7 April 2017 - 14:51
PCINT interrupt on level change with slow rising signal
Hi! I'm using a atmega328P with a PCINT interrupt on pin PCINT21 which receives a digital signal with a "slow" rising time of 1ms. I have PCINT2_vect ISR enabled on PCINT21 with...
Friday, 30 September 2011 - 18:16
Atomic read/write to uint16_t variable
Hi all, I've been reading about the atomic read and write of variables (bigger than a byte) and I would like to know a few things: - Is the avr-libc approach to atomic operations...
Thursday, 4 November 2010 - 11:39
RS485 hardware problem
Hi! I'm designing a RS485 bus with the MAX3485 chip (half duplex) and I'm having a problem in sending message packets to other nodes in the bus. After some debugging I came across...
Monday, 2 August 2010 - 10:04
Programming: avrdude and AVR ONE!
Hi! I would like to know if it's possible to use avrdude in Windows to program with an AVR ONE!. The target device is an AVR 8-bit (ex: m324p, m128, etc). Does anyone know about...
Friday, 16 July 2010 - 17:46
AVR465 power meter: using shunt resistor instead of CT
Hi! I would like to build the AVR465 Power meter, but I was considering using a shunt resistor instead of the CT (current transformer). Being aware of the pros and cons of both...
Tuesday, 30 March 2010 - 18:10
RS485 protocol
Hi! I had been reading avrfreaks topics about this subject, but I still have some doubts about what I should use in a project I'm working on. I'm going to describe it: One central...
Friday, 20 February 2009 - 18:37
How to read a 12V battery voltage with AVR ADC
Hi! I'm using a simple voltage divider (with resistors) to read a 12V battery voltage with an ATmega128 ADC. I would like to protect the ATmega128 from connecting a 24V battery,...
Thursday, 19 June 2008 - 18:16
Inline funtions question
Hi! I'm working in a new project using avr-gcc for a atmega128. Since I want to make the code simple and modular, I have a c file for each part of the code that I can separate. In...
Wednesday, 19 March 2008 - 19:40
sprintf (avr libc) malfunction?!
Hi! I'm using avr libc 1.4.6 and gcc 4.1.2 with patches from winavr. I have written the following (simplified) code: ... char sd[30]; uint8_t test; ... test = 13; ... sprintf(...
Sunday, 14 October 2007 - 22:46
ADC reading problem in ATMega128
Hi! I'm using ADC channel 1 to read a pin voltage, but my readings are bad, i.e., the ADC reads a value above what should be (reads 2.38V when should be 1.71V). I tried to change...
Saturday, 23 June 2007 - 18:58