A passive display to show your current speed to the following car.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
PIC16F19156main.cC Source File - 6.05 kB - 10/11/2019 at 13:40 |
|
|
ESP32main.cppcpp - 7.40 kB - 10/11/2019 at 13:37 |
|
To put the two electronic boards plus some wiring, I made a case that fits inside the rear cup holder. Conveniently there is a 12v plug just aside. I need 3 cables: the 12v, the connexion to the OBD plug in the front, and the connexion to the rear LCD. I re-purposed old Lemo 3 way plugs, a perfect fit.
To hold the LCD panels it appends I have a Sonic the hedgehog plush on the back of the car, why not try to mimic the power-up monitors of the video game ? I printed this enclosure in PETG because I had bad experience with PLA on direct sunlight. I tried to have an ajustable, stable and discreet design.
Originally I planed to use a wireless bluetooth link, it explains why I started and kept an ESP32. It's a bit overkill for the task, but there is nice libraries for plenty of devices. I used Platform.io on Visual Studio Code, with Arduino, for the development.
One interesting point here is the use of the 3 serial ports. One for the programming / debug, one to the ELM327, and one to the LCD screen.
I also add a little Oled display for debug and showing what speed is acquired.
To display the car speed I'd rather choose the most passive, simple technology while having a large digit size. It is out of question to use something that emits light.
E-paper could do the job, but large displays are pretty expensive, and I'm not sure if they can handle the rough condition of a car parked in sunlight or a freezing winter.
Electro-mechanic Flip display would be a good choice if only the big 7 segments units were not so expensive. Besides, I'm not sure the continuous flipping would be good for the display and the driver ears.
Fortunately we can still find good old fashion 7 segments LCD in large size. I yet use some of these panel on the BIG_CLOCK project. The biggest apparently are made by Lumex, the LCDS101D40TR. The character size is 10x7 cm.
Only two digit is relevant in my opinion. At a speed faster than 100Km/h, digits should be unreadable due to the safety distance. So we have to drive only 14 segments. The PIC16F19156 can drive them directly, without multiplexing.
The code simply take the received byte on the serial port and display its decimal value from 0 to 99.
I could use a GPS module to have the car speed, but I think there are two disadvantages. First, we loose it on tunnels, and second I'd like to show what I'm reading on my dashboard.
My first idea was to use a bluetooth OBD plug, and then connect to it with an ESP32. But I did not succeed because the OBD dongle I have uses classic bluetooth and not BLE. In addition I did not found a 12v power line on the trunk that is switching off once the ignition key removed. I don't want to drain flat the car battery.
So I re-purposed the cheap OBDII reader. Luckily it uses an ELM327 clone and the bluetooth module can be de-soldered. That saves me the code of the raw CAN-bus handling, the ELM327 uses simple serial AT style commands. And it saves me the design of the CAN-bus circuitry.
Create an account to leave a comment. Already have an account? Log In.
I keep toying with the idea of putting a yellow and green light in back window, nothing big, maybe even just a 5 or 10 mm LED. but have the yellow light come on when I am just coasting and the green light when I have the pedal at least 40 - 50 % pressed. All in the hope it will keep the tailgaters off my bumper, but lately I haven't had too many of those. knock on wood it stays that way. nice job.
Does the speed reported by the OBD match your "analog" speedometer? Speedometers always show a <strike>lower</strike> higher speed that your actual speed.
Yes I had to add 5% to the speed value published on the OBD to exactly match the "analog" dashboard speedo.
IMHO that's pointless and distractive. In some countries is illegal to put additional lights or indicators on a car.
What do you hope to accomplish?
Honestly, it would be pretentious of me to have any hope of accomplishment.
Please don't be the type of person who unintentionally blocks someone rushing to the hospital. If possible, let the other driver pass, for both your own safety and theirs.
I'm not one of these, I prefer stop and let go. Fortunately in case of emergency people here usually use their emergency both blinkers.
I get this completely. Tailgating is the regional sport in New England where I learned to drive, and I used to dream of putting a scrolling message board on the rear of my car to "communicate" with other drivers. Somehow I think it would have backfired, though.
Yeah, a rear-mounted display on my car wouldn't need any numbers to get the intended message across...
Hi, thanks for your message!
Yes putting a message would be joyful, until as you said, problem occurs (however it exists, found leds banner on amazon with "rear car message"). So I discard this idea and prefer the irony of showing the speed.
I'll try soon to make a proper video and organise the source files.
Become a member to follow this project and never miss any updates
I've had this idea for sometime but never have executed on it. An additional idea is to display, in a bar graph form, the throttle position. I'd find it useful information if the car in front of me intends to really move along, or is a going to be a laggard.