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
Esp32-arduino-fuel gauge
-
- Posts: 2
- Joined: Tue Jul 30, 2019 12:28 pm
Esp32-arduino-fuel gauge
- Attachments
-
- 1564489939833..jpg (2.81 MiB) Viewed 6207 times
-
- Posts: 2
- Joined: Tue Jul 30, 2019 12:28 pm
Re: Esp32-arduino-fuel gauge
No one knows??????
Re: Esp32-arduino-fuel gauge
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.
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.
Re: Esp32-arduino-fuel gauge
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.
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 35 guests