Esp32-arduino-fuel gauge

electronics_diy
Posts: 2
Joined: Tue Jul 30, 2019 12:28 pm

Esp32-arduino-fuel gauge

Postby electronics_diy » Tue Jul 30, 2019 12:32 pm

Hello everyone.
I am a newbie member and i would like you to help me with a simple but difficult project
I have made a little plan on the attachments to show you what i want to do. Please if anyone knows how to start tell me
Attachments
1564489939833..jpg
1564489939833..jpg (2.81 MiB) Viewed 6215 times

electronics_diy
Posts: 2
Joined: Tue Jul 30, 2019 12:28 pm

Re: Esp32-arduino-fuel gauge

Postby electronics_diy » Mon Aug 05, 2019 5:49 am

No one knows??????

bobtidey
Posts: 43
Joined: Mon Jun 18, 2018 2:24 pm

Re: Esp32-arduino-fuel gauge

Postby bobtidey » Mon Aug 05, 2019 9:36 am

I think you need to say a little bit more about where you think you need help.

Like

1) Hardware interfacing
2) Basic development environment set up
3) Basic software development to set up and periodically read gauge
4) Web development (assuming that is a phone display) or
4) Local display onto screen

In principle this is fairly straightforward.

Basic loop to read analog value and convert into a fuel % variable.
If a phone app then an Access point based web server responding to browser requests to refresh display
Web code to display results in phone

If this is your first ESP project then you should take a step by step approach.

Get basic development environment set up and simple sketch working (like LED blink)
Simple loop to read analogue value and send value out on serial port. Use a potentiometer to simulate fuel gauge
Add Access point and simple web page to display analogue value as text
Enhance web side to refresh and use graphics etc.

swargir
Posts: 5
Joined: Mon Aug 05, 2019 9:13 am

Re: Esp32-arduino-fuel gauge

Postby swargir » Mon Aug 05, 2019 10:48 am

Hi.
I would do so. I use Arduino IDE/Platformio
1) For ESP32 example. https://github.com/nkolban/ESP32_BLE_Ar ... BLE_server
In it, add a cyclic reading of the analog inputs. Depends on what indicator from the bike will be connected through (max 3.3v voltage. divider is needed)
https://randomnerdtutorials.com/esp32-a ... duino-ide/
2) For Android, it is written by hand. For esp32 test at the development stage, BLE Scanner is suitable.

Who is online

Users browsing this forum: No registered users and 43 guests