Configure the GPIOs as outputs to control servo motors.Configure a single GPIO to trigger measurements from a button press.Configure the GPIOs to use a SPI interface, either as a master or slave.You can customize nRF applications as you see fit and bring in additional nRF SDK functionality to meet your project requirements. Developing Custom Applications on the nRF52840 To download some additional project dependencies such as the S340 SoftDevice, the Garmin PC simulator, or to view addition ANT documentation, you will need to signup and create an account on the ANT website and sign up as an ANT+ Adopter. The Garmin PC Simulator requires a USB ANT Stick to connect to the LIDAR-Lite v4 LED wirelessly. For hobbyists looking to get started programming the LIDAR-Lite v4 LED, a recommended part is the SEGGER J-Link EDU Mini. There are a wide variety of compatible devices ranging from professional 20 pin J-Link devices to cheaper solutions suited to non-commercial solutions. To reprogram the LIDAR-Lite v4 LED’s nRF52840, you will need a J-Link debugging probe that supports interfacing with a Cortex-M4 CPU architecture. The complexity of this measurement process on the LIDAR-Lite v4 LED is encapsulated in a static library that a developer can then include into their projects to make simple API calls that take distance measurements.Īny functionality that is not related to the taking of distance measurements is left in the application so that you can customize how the device operates so that you can adjust any feature to fit your projects needs. The nRF communicates with the FPGA over SPI and is responsible for controlling the FPGA to take acquisitions and to calculate distances from the correlation record. Simplified, when taking a distance measurement, the FPGA is responsible for taking acquisitions by transmitting and receiving light pulses to create a correlation record that represents the measured object at a given distance. The LIDAR-Lite v4 LED consists of a nRF52840 and a FPGA. Developing Custom Applications on the nRF52840.Important: Before reprogramming the LIDAR-Lite v4 LED, ensure you are aware of the following: Product Page: LIDAR-Lite v4 LED - See product page for operating manualįor libraries to communicate with the LIDAR-Lite v4 LED via I2C using an Arduino, see LIDAR-Lite Arduino Library. This library should be used when developing applications to run directly on the nRF52840 Nordic Semiconductor System on Chip (SoC) within the LIDAR-Lite v4 LED.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |