|
From: | Gavin Dean |
Subject: | Re: Inverting RST pin (using configuration file) not working on Raspberry Pi? |
Date: | Tue, 1 Jun 2021 13:16:09 -0700 |
Hi,
On 01/06/2021 19:59, John Klimek wrote:
> I'm using avrdude (v6.3-20171130) on my Raspberry Pi, but I need the
> RST pin to be inverted because I'm using an NPN transistor to protect
> the RPi from my Arduino's 5V power.
A completely dumb idea: add another NPN transistor to invert the pin
again - then there is no need to mess about with the pin and syntax.
You could also use a logic level change circuit, like the common BSS138
based circuits you get relatively cheap on eBay or Amazon.
You also need to protect the other lines (MISO, MOSI, ...).
Alternatively you could supply the Arduino from a 3.3V supply via the
6pin programming port - the AVR chip on it can usually work with this
without much trouble (even though the datasheet says it needs 5V at 16MHz).
Konrad
[Prev in Thread] | Current Thread | [Next in Thread] |