-
1Mounting the components on the PCB
Be aware that the TTGO and the ADC are mounted on sockets, therefore the 3D printed case is high enough to accomodate them.
In the first picture, the sensors are also mounted on sockets, but not on the final design because they would be too tall (and could also jump out from the sockets)
-
2Hardware customisation
In order to compile and flash the software, a couple of things have to be done:
In Arduino IDE
- add the following URL to the supported hardware: https://dl.espressif.com/dl/package_esp32_index.json
- install the following libraries: TFT_eSPI ADS1115-Driver
- in the library file ./libraries/TFT_eSPI/User_Setup_Select.h uncomment this only line #include <User_Setups/Setup25_TTGO_T_Display.h>
- in the library file ./libraries/TFT_eSPI/User_Setup.h uncomment this only line #define ST7789_DRIVER
- choose the right hardware microcontroller (I used TTGO LoRa32-OLED V1 but I think a generic ESP32 would work)
Compile and flash!, you're done!
-
3Take measures
Before turning the engine on, you have to connect the tubes to the throttle bodies and power the device.
This way the device can calibrate to the atmosferic pression.
There's some delay on the value displayed because of the low pass filter applied on the measures.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.