Dear community,
a couple of years ago I've pubished on the forum an app showing how to connect the OBD2 port of a car to implement a digital dashboard by using an OBD to BT adapter fitted with the ELM327 component.
Now I've designed a supersimple app that just shows Speed, RPM and Turbo pressure (turbo boost) for the VW up! GTi of my son.
The display is intended to be "optimized" for a 5" phone, fixed at landscape mode.
The app uses the extensions from @Taifun (as usually ) to maintain the screen alive and to get the battery level as well as @Anke's one (
) to set the 7 segments font in the labels.
Two sliders simulate a progress bar for speed and for RPM.
The PID's used are those of the CAN diagnostic protocol.(KWP2000 + UDS).
The BT addresses shall be stored into a file (the BT_Address.txt attached herein).
But of course if you just want to set the BT address of ELM327 fixed into the code, you can avoid the use of the file.
The screen looks like here below:
UpDashboard_phone.aia (2.5 MB)
BT_Address.txt (197 Bytes)
Enjoy !