Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 3.31 KB

README.md

File metadata and controls

56 lines (44 loc) · 3.31 KB

ESP32 Remote Display for Valentine One (Gen 2)

This is a remote display for the Valentine One Gen 2 radar detector written in C++, inspired by SquirrelMaster on rdforum

Connectivity is via Bluetooth Low Energy (BLE) and currently has only been tested as a solo accessory. If you want to use this along with another accessory or app such as JBV1, you will need a V1Connection LE. Again this is untested and is something I'll be considering in a future release. A quick run-down of the radar-related features:

  • Radar direction (front/side/rear)
  • Band display (in GHz)
  • Signal strength per alert
  • Alert table support (up to 3 alerts)
  • Priority alert will always be displayed

The hardware is a LilyGO T-Display S3 which can easily be obtained for under $15 for most US-based users. It is an ESP32 microcontroller with WiFi, Bluetooth Low-Energy (BLE), and a 1.9" TFT display. Physical connectivity is via USB-C. I have not tested this on other boards but if there's interest, mail me a board or fork this repo.

Here's what's done in the current release:

  • BLE auto-scan for connecting to a V1 Gen2 advertising the appropriate characteristics / service
  • WiFi enabled (by default as an AP for user configuration), defaults as follows:
    • SSID: v1display
    • Password: password123
    • IP: 192.168.242.1
  • Web-based UI for configuration and requesting device details (needs work)
  • Portrait and Landscape modes
  • "Store mode" for comparing portrait vs landscape (useful if modifying colors/layout)

Here's the TODO as of May 16, 2024: (in descending order of priority)

  • Deeper integration between web front-end and ESP32 backend
  • Add OTA functionality
  • Further code optimization and consolidation (a bit messy on initial push)
  • Add graphics/screenshots into this README
  • Figure out something to do with the buttons on the front?

If you have suggestions or requests, please ping me on the rdforum valentine one sub on rdforum.

Installing to your T-Display-S3

  1. Clone this repo
  2. Load the project in VSCode (or your IDE of choice)
  3. In PlatformIO - go to Project Tasks - v1server - Platform - Upload Filesystem Image
  4. Compile and push to your board
  5. Turn on your V1, then connect the board to a USB-C power source in your vehicle

Picking a case

Hopefully you have a 3d printer, or access to one. I used this design on thingiverse to print a case, but if you search for "lilygo" or "t-display-s3" on thingiverse you should find some pretty cool ones. As folks use different ones I'll be happy to link them below.

Debugging

In the event you'd like to debug or troubleshoot, your best bet is to open VScode, open the serial monitor and then connect your ESP32 device directly to your laptop. The device will function as normal, but you'll have the added benefit of being able to see the debug functionality printed to your console. That'll include some detailed information on the size of the alert table, the index of the alert triggered, the type of alert, band value, direction, signal strength (front and rear), priority and junk alert status. There are LOTS of debug points available in the code if you look for them.