
SparkFun Thing Plus ESP32-S3 panelized
Valar-Systems/MiniSpeedCam
MiniSpeedCam

MiniSpeedCam
Cdm324 exp is an open-source printed circuit board by Valar-Systems, from the Valar-Systems/MiniSpeedCam repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 60 × 17.6 mm with 29 parts on 33 nets, routed with 265 tracks and 23 vias.
It is built around the CH340X. Its parts include 13 resistors, 6 connectors, 5 capacitors, 3 switches and 1 IC.
The MiniSpeedCam tracks vehicle speeds, takes a photo, and uploads the photo and speed data to a server. Use it to track vehicle speeds on your driveway or street.
Please sign up to the waitlist at minispeedcam.com if you're interested in purchasing one. We have not began manufacturing these yet.
The firmware is designed to work with minispeedcam.com and requires absolutely no coding or flashing. The device works right out of the box.
The device creates a WiFi access point when started for the first time. Connect to it with your phone or laptop and enter your WiFi credentials. It will automatically connect to the internet.
All photos and speed data is sent to your account on minispeedcam.com where the data can be viewed and downloaded.
If you prefer to use your own server, just modify the Arduino code to point to wherever you'd like. It's completely open-source.
This device wouldn't be possible without the help of Mathieu (aka Limpkin). Thank you for your CDM324 Backpack and your generous help in getting MiniSpeedCam made.
A 100Hz frequency from the CDM324 corresponds to 2.3km/h speed. By using a tuning fork, we can trick the radar sensor into picking up a specific speed. Using a tuning fork with a frequency of 2048 Hz should trigger a speed reading of 47.1 kph or 29.3 mph ((2048/100) x 2.3)
Here's a short video of the tuning fork in action.
Max distance is about 100ft or 30m
The device uses the CDM324 which output a very small voltage, depending on how fast the vehicle is traveling. This voltage is amplified by the aplification circuit and sent to the STM32 for processing. The STM32 uses FFT to determine the speed of the vehicle.
The ESP32 handles the speed data, camera, and WiFi. It is connected to the STM32 via UART and polls it for speed data. Once the speed crosses a threshold that you set, the ESP32 takes a photo and sends a POST API call to a server with the data and image encoded in base64. The vehicles maximum speed, image, and date/time are then saved to a server.
The device consumes about 1.10W while in full operation, and about 0.55W while in sleep mode. The radar sensor is always on, thus consuming 0.55W at all time. When movement is detected, the ESP32 wakes up from light sleep mode, turns on the camera, connects to wifi, takes a photo, sends the data, and goes back to sleep. The process takes about 10 seconds from start to finish. Battery life will depend on how many vehicles the sensor picks up, thus determing how often the ESP32 wakes up. The more vehicles on the road, the larger the battery drain will be.
MiniSpeedCam runs on 5V. There are two USB-C ports and a screw terminal that can be used to supply 5V power. The easiest way to power this device is to use an external battery pack with a USB-C cable and plug it into either USB-C plug.
Flashing the firmware is very simple. The STM32 is programmed in STM32 Cube IDE and the ESP32 is programmed in Arduino IDE.
First plug your USB cable into the STM32 USB port. Then use the stm32loader python module directly :
pip install stm32loader... then with the USB connected to the device (as it uses RTS/CTS signals to control the MCU nRESET and BOOT0 pins):
stm32loader -b 115200 -p com_port -e -w -v -s -f F3 MiniSpeedCam.binIf uploading fails, you may use the STM32 Flash loader after performing the following toggling sequence:
Open the Arduino sketch in ArduinoIDE. Be sure you have the libraries at the top of the sketch installed. And be sure your upload options are set up according to the image file in the ESP32_firmware folder.
Optional: ArduinoOTA is also included, allowing you to remotely flash the device from the ArduinoIDE. One caveat is the ESP32 goes to sleep after 10 minutes of being powered on. Just cycle the power to it and you'll have 10 minutes to upload your sketch.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 49k9 | Resistor_SMD:R_0603_1608Metric | R8, R9, R10, R11, R12, R13 |
| 5 | 1k | Resistor_SMD:R_0603_1608Metric | R1, R4, R5, R6, R7 |
| 5 | 1uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C4, C5 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R2, R3 |
| 2 | Conn_02x04_Odd_Even | Connector_PinSocket_2.54mm:PinSocket_2x04_P2.54mm_Vertical | J1, J2 |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm | SW1, SW2 |
| 1 | AudioJack4 | Connector_Audio:Jack_3.5mm_PJ320D_Horizontal | J7 |
| 1 | CH340X | Package_SO:MSOP-10_3x3mm_P0.5mm | U1 |
| 1 | Conn_01x04_Socket | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | FerriteBead | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | Micro_SD_Card_Det1 | lib:XKTF-015-N | J5 |
| 1 | SW_DIP_x01 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm | SW3 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASV | J3 |

Valar-Systems/MiniSpeedCam
MiniSpeedCam




Kofen/PoE_Ethernet_GPIB_Adapter
This folder contains the necessary hardware files for the PoE Ethernet GPIB Adapter project.


UzixLS/zxevo1010-board
10x10cm PCB variant of ZX-Evolution project for G738/G706 enclosure

RobertGawron/GammaSpectrometer
Device for quantitative analyze energy spectra of gamma-ray sources. Allows to study what radioactive isotopes in what quantities are present in measured sample.

RoboticsBrno/Robutek
Robůtek je robotická platforma založená na čipu ESP32-S3. Je velice rozšitiřelný, ale ze základu umí jezdit, kreslit fixou, jezdit po čáře, pohybovat se bludištěm. Programování je přes Jaculus.

OxMarco/ethereum-lora
A long-range low-power radio interface for Ethereum nodes


It measures 60 × 17.6 mm and has 2 copper layers, 1.6 mm thick.
29 parts, built around the CH340X. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Valar-Systems/MiniSpeedCam repository on GitHub, at the commit this page was made from: the board is version/r1.3/hardware/pcb/reference/cdm324_exp/cdm324_exp.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).