Below are several projects specific to A0. The goal here is to help you get started and get inspired! These are community-developed, open source projects, so we encourage you to get involved.
A0 pairs very well with SavvyCAN. We've got a short summary of working with SavvyCAN over here. While this article assumes M2 is the interface, A0 can also act as the bridge between the car and SavvyCAN.
Stay tuned for updates here including detailed instructions for wireless (and wired) car hacking using SavvyCAN and A0!
With the right code, A0 can be a WIFI access point hosting a webpage - not just some boring static website, but a fully dynamic, interactive website where any browser (laptop, tablet, cell phone) can be your digital dashboard!
At the heart of A0 is the powerful ESP32 microcontroller capable of interacting with the car via CAN and be a fully functional WIFI access point at the same time. You connect your phone to the A0 access point, pull up a browser and start interacting with your car.
In this demo, we are displaying Boost pressure in a sweet 2016 Ford Fusion by reading the Intake MAP value via OBD2 commands, subtracting the ambient pressure (hard-coded to whatever it was here in MN during our test) and spitting out websocket messages at 20Hz. We're also demonstrating how to send data to the A0 to toggle an LED via a button press on the phone.
This demo was hacked together starting with this project as a reference:
The webpage hosted on the ESP32 has a gauge.js instance running and a Bootstrap CSS framework. To add more gauges, we'd need to start using JSON messages (or something similar) to update more than one gauge.
Here is the code we used in this demo:
This demo shows a basic implementation of how to use websockets to display a single gauge on a browser. Next step would be to add more gauges, line graphs, and improve user interface.
Why would you want to emulate a ELM327 device? First off, ELM327 is a closed-source black box interpreter chip (a PIC with some firmware) and you'd much rather know exactly what is being sent to and from your car, right?
Another answer is that now you can take advantage of the numerous existing, (semi) working and tested applications out there for every platform. Here are just a few:
This is our work-in-progress code repo. Stay tuned for more updates including setup instructions and tutorials.
Put your data in the cloud. We'll be posting more information here about some cloud projects.
Bluetooth to phone connection.
more to follow...