Project for motorcycle
Posted: Fri Dec 02, 2022 9:55 am
So I got idea for little project but not sure about lot of details.
What I was thinking is replacing my motorcycle battery with DIY LiFePO4 but adding esp32 inside as well.
ESP32 should monitors the state of the motorcycle battery and any movement from accelerometer (for security reasons, it's semi-public garage). All communication would go through MQTT while motorcycle is in garage.
Question is what hardware I need besides ESP32 to preferably run it from motorcycle battery and with sleep mode of some kind?
I'll just throw in all the questions on my mind so answer to any of them is welcome.
-Should I use simple voltage divider to measure 12V battery or there is better way?
-Is it better to have dedicated battery for esp32 or buck converter from motorcycle battery?
-Is MPU-6050 good choice for gyroscope and accelerometer?
-Can accelerometer monitoring even work while esp32 in sleep mode?
-Will dc-dc converter, accelerometer and voltage divider drain my motorcycle battery even when esp32 is in sleep?
I am open to changes to my idea if something is not possible or not the best idea.
Thanks for any tips, answer to my questions.
What I was thinking is replacing my motorcycle battery with DIY LiFePO4 but adding esp32 inside as well.
ESP32 should monitors the state of the motorcycle battery and any movement from accelerometer (for security reasons, it's semi-public garage). All communication would go through MQTT while motorcycle is in garage.
Question is what hardware I need besides ESP32 to preferably run it from motorcycle battery and with sleep mode of some kind?
I'll just throw in all the questions on my mind so answer to any of them is welcome.
-Should I use simple voltage divider to measure 12V battery or there is better way?
-Is it better to have dedicated battery for esp32 or buck converter from motorcycle battery?
-Is MPU-6050 good choice for gyroscope and accelerometer?
-Can accelerometer monitoring even work while esp32 in sleep mode?
-Will dc-dc converter, accelerometer and voltage divider drain my motorcycle battery even when esp32 is in sleep?
I am open to changes to my idea if something is not possible or not the best idea.
Thanks for any tips, answer to my questions.