[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inverting RST pin (using configuration file) not working on Raspberr
From: |
Konrad Rosenbaum |
Subject: |
Re: Inverting RST pin (using configuration file) not working on Raspberry Pi? |
Date: |
Tue, 1 Jun 2021 22:06:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 |
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
OpenPGP_signature
Description: OpenPGP digital signature