I have a ATMEGA328(AVR) connected to a Raspberry Pi(RPI) via serial using a level shifter.
The AVR has the Arduino Bootloader installed and I would like to program it via serial.
What would be the best way to connect the AVR reset pin to the RPI GPIO pin 4?
(Keep in mind that the AVR reset pin has a 5V pull-up resistor connected to it.)
Best Answer
Microchip has a great PDF with simple solutions for converting between 3.3V and 5V, see Tip#7 in http://ww1.microchip.com/downloads/en/DeviceDoc/chapter%208.pdf