This is the lightweight laser altimeter SF11C developed and design by LightWave Optoelectronics,. This devices is ideal for UAV’s, (Unmanned Autonomous Vehicles) it can also serve as highly effective rangefinder in variety of application. TOF (Time of flight) system makes accurate distances measurement that does not effected by the air, change in barometric pressure, noise, ambient light or air temperature. This devices can be easily hook to your projects and ready to use with no calibration needed, you can use pins which indicated at board or using USB A to micro-B cable to read the data measured from the laser at 9600~115200 kbps bound rate.
The SF11C can be used in ground and air UAV’s detecting distance at the ground or surface, can be also used to calculate speed of moving objects or vehicles, measuring depth of material in snow, fluid, sand from above, counting passing objects in a monitoring or control system.
- Arduino Microcontroller, NodeMCU, Teensy Board, TeensyDuino, ESP8266 12, 12E, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY85 16/8 MHz (Note: The Diagram below is using NANO. (please refer to the respective pin-outs)
- SF10A / SF10B / SF10C / SF11C Laser Altimeter
- Jumper Wires / DuPont Wires
- Prototyping PCB board (Optional)
Wiring Guide
Source Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
//SF10-A Distance Detection Device from 0-25m //SF10-B Distance Detection Device from 0-50m //SF10-C Distance Detection Device from 0-100m //SF10-C Distance Detection Device from 0-120m #include <SoftwareSerial.h> #define terminalRate 115200 #define rx 2 //Set RX to pin 2 #define tx 3 //Set TX to pin 3 #define deviceCom 600 SoftwareSerial devComRate(rx, tx); float distance; char senseString[16], c; float z; void setup(){ Serial.println("14CORE | laser altimeter test code"); Serial.println("Initializing............."); delay(1000); Serial.println("Terminal Baud Rate at 115200"); delay(3000); Serial.begin(terminalRate); while(!Serial); devComRate.begin(deviceCom); } void loop(){ devComRate.write("d"); while (!devComRate.available()); int holdx = 0; int holdi = 0; while(c != 10) { while (!devComRate.available()); c = devComRate.read(); senseString[holdi] = c; holdi++; } senseString[holdi - 2] = 0; distance = atof(senseString); Serial.println("DISTANCE >"); Serial.println(senseString); delay[500]; } |
Downloads
Download SF11C Datasheet | PDF