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 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28