I created this PCB for my car. I just upgraded a reverse camera to my car with a 5 inch TFT screen. Therefor I desgined a 3D-printout so that it fits perfectly in my center console. Then I thought it would be great to add 2 OLED-Screens (1.3 inch) and display some measurements of different sensor. This PCB will be connected to an NodeMCU (ESP8266) via Plug&Play, so no more wiring is needed. You have a 12V input, this is for Current and Voltage measurement of the cars battery (ignition+), and then i bought a 12V to 5V step-down module, which will be connected in my car. This goes to the 5V input of my PCB and then to an voltage regulator which ceates the needed voltage of 3.3V for all componets and the ESP8266. (Yes this is little unnecessary complicated, but now you have 12V, 5V and 3.3V on the PCB for future extensions ?).
Here is a list of Sensors on this PCB:
- MPU9250 Accelerometer, Gyro, Magentometer
-BMP280 Pressure Sensor
-DHT11 Temperature and Humidtiy Sensor
-Brigthness, voltage, current Sensor
-ADS1115 4 Channel Analog - to - digital - converter
The ADS1115 is needed, cause the NodeMCU just have one single Analog input, but there are four analog sensors. All sensors communicate via I²C with the ESP8266, and plugged in to Pin D1&D2. On the PCB are two 4-Pin connectors. The first connector is for pluggin in the 2 OLED Screens. I used the Blue 1.3 SSH1106 cause the blue color fits to my interiour car and the OLEDs can be configured with 2 different Addresses!! This is necessary cause it would like to display different values on different screens. The second 4-Pin connector is for pluggin in two buttons. With this buttons you can switch the page on the 2 Oleds and screen the different values. Also there are 2 2-Pin connectors. The first is for input the Brigthness Sensor (this one has to be placed somewhere in the car) and the second one is the signal which is created to the ESP and goes to the TFT to automatically control the brigthness of the screen.
Here is a list of values i want to display on the OLEDs:
-Cars Angle in X-Direction (driving up a hill for example)
-G-Force-Plot in X and Y Direction
-(Maybe a compass if I can configure that in my car)
The sketch is written in Atmel Studio 7 with the use of libarys. At the moment I am testing all components on an THT-Board and programming the sketch. If i am done with it, i will upload some photos and order the PCB.
If you have any questions feel free to comment or send me a message. I know that this is not that precise measurements, but i will do my best to make it professional. This is my first ever created PCB, please be pleasant to me :D