I know this is going to be very hacky. I'll make a proper solution later.
I need to build something with my raspberry pi on short notice, and I determined that it would be less time consuming to interface my Arduino running some of my pre-existing code with my Pi than it would be to port the circuit and the code to use the pi instead. I also determined that it would be easier to use a single-wire GPIO connection to communicate than actually setting up serial, which turned out to be a huge hassle. The arduino outputs 5V, but the pi can only tolerate 3V3. Can I just put a 10k ohm resistor between the arduino and the pi, or do I absolutely have to set up a voltage divider using multiple resistors? If I have to make a voltage divider, what is the acceptable voltage range?
Last edited by ZXY007o0ePksrW7L
on Tue Jul 16, 2019 1:51 am, edited 1 time in total.