How to connect 5V sensor to battery powered device?
-
On the battery powered sensor build page it is suggested to power 5V sensors using a step up converter. I guess that most 5V sensors use 5V logic levels for their digital output. Furthermore, as far as I understand the ATmega328P digital inputs do not accept voltages higher than Vcc + 0.5V (see datasheet p. 299). Consider as an example a sensebender operating at low battery level, say 2V. Wouldn’t the sensebender be harmed by a 5V digital signal from an attached sensor?
I hope someone in here can help explain how to properly connect a 5V sensor to battery powered device.
-
@arraWX use a 'level converter' or find a 3v alternative for the sensor?
-
Thanks @AWI! A level converter is exactely what is needed.
1 out of 3
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Newbie questions
Hardware • 14 Feb 2025, 20:03 • magwas 14 Feb 2025, 20:03 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13