Assembling the Radar Sensor

From BoSL Wiki
Revision as of 00:32, 21 December 2021 by Stephen (talk | contribs) (→‎Firmware)
Jump to navigation Jump to search

This page will be dedicated to instructions of how to assemble the radar sensor.

Firmware

To load the firmware onto the radar module please follow the following instructions.

The below image is of the back of the radar PCB. Looking from the back of the PCB, there are three sets of 6 pin connections. As labelled in the diagram red, green, and blue. The red connection is used to program and talk to the ATmega it is to be connected to by a bosl programmer probe. The green connection is a duplicate of the red connection however the pin pitch is greater. This is where the sensor cable is soldered. The blue connections is for programming the XM132. It is a serial wire debug interface designed to be connected to by a bosl programmer probe.

To begin to upload the firmware connect the red connection to a 3.3V serial port, connect the blue connection to a SWD debugger, such as the segger J-link. 1. To program the XM132, a special firmware for the ATmega need to first be programmed which allows this. This can be done via uploading the following sketch from the Arduino IDE: File:Radar Velocity STM resetmap.zip

Testing

Cabling

Waterproofing