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.
3 out of 3
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
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 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39