loading
1Comments

Tell us about yourself!

Complete Your Profile
  • Long range, 1.8km,  Arduino to Arduino wireless communication with the HC-12.

    Hi,I'm a newbie on HC-12 and i have a problem. I'm making a drone and i want to make controller by myself. I want to send string which includes three different int's. When i connect arduino, it sends it for about a second and then it just stops sending, but if i look at the serial, the loop is still working.the code:#include <SoftwareSerial.h>SoftwareSerial mySerial(2, 3);void setup() { mySerial.begin(9600); Serial.begin(9600);}void loop() { int baze = analogRead(A0); int antr = analogRead(A1); int trec = analogRead(A2); String kabl=";"; String siunciam = baze + kabl + antr + kabl + trec + kabl; mySerial.println(siunciam); Serial.println(siunciam); delay(20);}

    View Instructable »