Long range, 1.8km, Arduino to Arduino wireless communication with the HC-12

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2016
  • HC-12 modules here:
    www.banggood.com/HC-12-433-SI4...
    Support me on Patreon
    / tomheylen
    Exercise files temporary here:
    drive.google.com/open?id=1QYG...
    /*
    Exercise files:
    tomtomheylen.com/download_file...
    */
    Facebook: / officialtomheylen
    In this video you will learn how to communicate between Arduinos over a long distance up to 1.8km in open air.
    The HC-12 is a wireless serial port communication module that is very useful, extremely powerful and easy to use.
    First you will learn how to make a wireless instant messenger with the least effort possible.
    Then we will move on to light up an LED with a push button and then you will learn a few useful string functions and operations for serial communication.
    The last part of the video is not necessary but you will learn how to use the HC-12 module like a pro.
    In this part you will learn how to enter the modules setup mode to change the baud rate, transmission distance and so on.
    And finally you will learn how to connect an external SMA antenna.
    Follow the rest of this video to find out how easy it is to become a pro in wireless serial communication.
    2 x Arduino ( got my Arduino clones for 3 dollar here: www.banggood.com/UNO-R3-ATmega... )
    2 x HC-12 modules (got mine here: www.banggood.com/HC-12-433-SI4... )

ความคิดเห็น • 292

  • @caXos
    @caXos 6 ปีที่แล้ว +1

    My Gosh! What a wonderful video!
    I was trying to set up my HC-12 for like... 4 days, with no success, but after 8min40sec I managed it!
    Thank you so much!
    And may you continue making great videos like this!

  • @andymap4757
    @andymap4757 8 ปีที่แล้ว +3

    Great video. Feel like I know this module and will refer back to it when I order them. Thank you.

  • @1markcarr
    @1markcarr 7 ปีที่แล้ว

    Thank you Tom for sharing this video and work files for the HC-12 Wireless Serial Port Module.
    After watching your video, I ordered all the stuff, followed your instructions. and hay presto!! I'm now a pro haha. Seriously though this was exactly what i was looking for. I'm now setting up my once wired intruder/warning alarm to run wirelessly.
    I tested the distance I was getting from the HC-12 and I was well impressed, well more then the 50 metres I needed even through walls. Great stuff.
    Thanks again Tom, you've just saved me a fortune in unsightly wire :)
    Thumbs up and subscribed

  • @elecnut8211
    @elecnut8211 6 ปีที่แล้ว

    Thank you for all the hard work you put into this. I am going to try this at 1000 m.

  • @steve8939123
    @steve8939123 7 ปีที่แล้ว

    Excellent video, easy to follow. The examples worked the first time,Thanks. Looking forward to using these in a wireless remote temperature sensor.

  • @steve8939123
    @steve8939123 7 ปีที่แล้ว

    Great video. Easy to follow and the examples work 1st try. Thanks. Are you going to make more videos with the HC-12? If so might I suggest a remote weather station.

  • @vasanthsreeram
    @vasanthsreeram 8 ปีที่แล้ว +4

    Good job man thanks for the video I really appreciate it. Hope you post more tutorials

  • @rodrigo_dm
    @rodrigo_dm 7 ปีที่แล้ว

    Such a good video. Thank you Tom!

  • @tomsheppard1666
    @tomsheppard1666 7 ปีที่แล้ว

    Thank you, this has been very useful and will get me started with my project.

  • @doubleHLabs
    @doubleHLabs 5 ปีที่แล้ว

    Once again, always very helpful!

  • @jerryhill667
    @jerryhill667 6 ปีที่แล้ว +2

    Thank you Mr. Heylen for the great video instruction. I'm a newbie with the Arduino but have noticed that in the 'Momentary Send' exercise sketch, the Boolean onOff does not get reset to 0 after sending an off signal. I noticed that, at startup, my uno draws 65 ma but increases to 95 ma once a button is pushed and remains there even after the button is released. After adding a line of code to reset onOff to 0, the current does return to 65 ma after the button is released. I'm concluding, maybe falsely, that the exercise sketch continues to send the off signal unless a button is pushed. Please let me know if this indeed the case. You made extending your code to three 'pushbuttons' in a motion sensor and three leds in a receiver quite simple. Thanks again!

  • @AtomkeySinclair
    @AtomkeySinclair 6 ปีที่แล้ว

    Excellent tutorial. Thank you for taking the time and effort. Well done sir.

  • @alanly3780
    @alanly3780 6 ปีที่แล้ว

    Thank you, the video was very clear and concise!

  • @johneagle4384
    @johneagle4384 2 ปีที่แล้ว +1

    Nice concise introduction!

  • @drawingboard82
    @drawingboard82 6 ปีที่แล้ว

    Very clear and helpful, thanks for taking the time.

  • @ernestosabado5712
    @ernestosabado5712 6 ปีที่แล้ว

    Hello Tom, Very great job!!
    it seems that the zip file was removed from yous site?

  • @chrisyoung3082
    @chrisyoung3082 7 ปีที่แล้ว

    Thank you...you've made it easy!

  • @jaysonvajda
    @jaysonvajda 7 ปีที่แล้ว +1

    Hello Tom, great tutorial! , newbe here, can I use any of these examples to send sensors data, like ultrasonic and what part of the code can I use? have you any examples?
    Thanks, Jayson

  • @amrisalman6746
    @amrisalman6746 7 ปีที่แล้ว

    hi Tom...thank you very much for the video...very useful video...btw can i use HC12 for RC multi channel transmitter? or i can use 1 channel with multiple variable for communication instead of multi channel?

  • @Mochilinho
    @Mochilinho 7 ปีที่แล้ว

    Man, you save my life!

  • @nickmatias51
    @nickmatias51 7 ปีที่แล้ว

    Great video thanks!!! Is there a way to measure the signal strength between the modules ?

  • @adelmhsn
    @adelmhsn 8 ปีที่แล้ว +5

    thx soooo much
    in Arabic language
    شكرا جزيلا :)

  • @augustomoura5276
    @augustomoura5276 7 ปีที่แล้ว

    Hello Tom,
    First thank you for the video its great!
    I have some doubts and i hope you can help me .
    I want to use the receiver in stand alone mode, without the module microcontroller.
    It is possible to add a jumper to the module between the radio output and a NC pin?
    And In which microcontroller pin does the radio output enters?

  • @ThatTalkingDogGuy
    @ThatTalkingDogGuy 5 ปีที่แล้ว +1

    For those like myself on OSX, if you want to open two instances of the Arduino IDE, simply duplicate the Arduino application, and call one something like "Arduino Board2". You can run both simultaneously, choosing different boards/ports for each

  • @dezmach93
    @dezmach93 ปีที่แล้ว

    Nice!! Thanks for sharing!

  • @dennisbae939
    @dennisbae939 7 ปีที่แล้ว

    hi tom Thank you for the great video! Is it possible to transmit data from sensors(ex. Temperature, pm 2.5 etc.) from one HC-12 to another? If yes could you please show some example codes?

  • @gil64asc
    @gil64asc 4 ปีที่แล้ว

    Hi Tom, thanks for your tutorial. I have a question: I need to remotize up to 4 relays just under the roof... But I need also to have a visual feedback about the state of the realys (on or off). How can obtain it?

  • @jarno4054
    @jarno4054 6 ปีที่แล้ว +1

    Very good tutorial my friend, you are very good understandable.

  • @Design.Studio-DS
    @Design.Studio-DS 6 ปีที่แล้ว

    Perfect demonstration..

  • @MPElectronique
    @MPElectronique 7 ปีที่แล้ว

    Hi. THank you you are great as usual! Can you post a buy link for the long range antenna ?
    Thank YOu.
    Marc.

  • @danieleplacenti4988
    @danieleplacenti4988 7 ปีที่แล้ว

    Hi Tom, must I respect some time between the end of tx to start rx, or the end rx and start tx?? Often I lost some data especially first data of pack.
    Best regards. Thanks

  • @geneticmemory4348
    @geneticmemory4348 7 ปีที่แล้ว

    Great Video! Very coherent!

  • @venkateshe7506
    @venkateshe7506 6 ปีที่แล้ว

    Excellent video. Thank you

  • @ghazanfaransari
    @ghazanfaransari 3 ปีที่แล้ว

    Good informative video. Great efforts.

  • @NeonWanderer
    @NeonWanderer 6 ปีที่แล้ว

    very cool thanks - another gadget i need to test!

  • @GEMINI62art
    @GEMINI62art 5 ปีที่แล้ว

    Hi Tom. First, thank you for your wonderful work. I tested a lot of things with arduino but here this time, I am a bit frustrated. I did everything like you describe, but no communication "send/receive". I suspect that one of my two HC-12 is not working ... So, have you an idea to test each hc-12 separately (alone) ? Thank you in advance.

  • @xrphobby1341
    @xrphobby1341 2 ปีที่แล้ว +1

    Thank you. Very informative tutorial. Is it possible to have 12 or more momentary buttons in both transmitter and receiver? I have 12 buttons in arduino and want it controlled wireless.

  • @etrabbold
    @etrabbold 7 ปีที่แล้ว

    Hello Tom, great article!
    You have an example of sending data continuously updated?
    For example, I would always send the transmitter data. If the receiver is out of range, a status LED indicates a signal failure or enter in failure mode.
    I can not keep sending continuous data, in this case, 4 bytes for less than 1000ms, which is very high for a real-time system.

    • @TomHeylen1
      @TomHeylen1  7 ปีที่แล้ว

      I found some code I wrote for a remote controlled drone working with the
      HC-12 modules.
      SENDING CODE
      #include
      SoftwareSerial mySerial(4, 5); //RX, TX
      //#### varialbles for potentiometers, handles ##########
      int potUpDown = 1; // analog pin used to connect the potentiometer
      int potLeftRight = 0; // analog pin used to connect the potentiometer
      int valUpDown;
      int valLeftRight;
      String strValUpDown;
      String strValLeftRight;
      //#### variables for accelerometer ############
      int yPin = A3;
      int xPin = A2;
      int xValue = 0;
      int yValue = 0;
      int xD = 0;
      int xU = 0;
      int yL = 0;
      int yR = 0;
      String strXValue;
      String strYValue;
      int buttonPin = 12;
      int buttonState = 0;
      boolean checkButtonState = 0;
      boolean mapValues = 1;
      void setup() {
      Serial.begin(9600);
      mySerial.begin(9600);
      Serial.setTimeout(10);
      mySerial.setTimeout(10);
      pinMode(buttonPin, INPUT);
      }
      void loop() {
      //########## code for potentiometers, handles #################
      valUpDown = analogRead(potUpDown); // reads the value of the potentiometer (value between 0 and 1023)
      valLeftRight = analogRead(potLeftRight);
      valUpDown = map(valUpDown, 370, 638, -4, 96);
      valLeftRight = map(valLeftRight, 397, 600 , -50, 50);
      strValUpDown = String(valUpDown);
      strValLeftRight = String(valLeftRight);
      //########## code for accelerometer ################
      buttonState = digitalRead(buttonPin);
      if (buttonState == HIGH) {
      checkButtonState = 1;
      xValue = analogRead(xPin);
      yValue = analogRead(yPin);
      if(checkButtonState == 1 && mapValues == 1){
      mapValues = 0;
      xD = xValue - 65;
      xU = xValue + 65;
      yL = yValue - 68;
      yR = yValue + 68;
      }
      xValue = map(xValue, xD, xU, -50, 50); //difference is 130
      yValue = map(yValue, yL, yR, -50, 50); //difference 136
      strXValue = String(xValue);
      strYValue = String(yValue);

      } else {
      checkButtonState = 0;
      mapValues = 1;
      strXValue = "0";
      strYValue = "0";
      }
      //read figures in serial monitor
      Serial.print("handle up/down" + strValUpDown);
      Serial.print(" handle left/right" +strValLeftRight);
      Serial.print(" acc up/down " + strXValue);
      Serial.println(" acc left/right" + strYValue);
      mySerial.print(":" + strValUpDown + "," + strValLeftRight + "," + strXValue + "," + strYValue + ";");
      mySerial.flush();//Waits for the transmission of outgoing serial data to complete.
      delay(50);//allow some time for the serial buffer
      }
      /*
      int checkLeftRight = 0;
      int checkUpDown = 0;
      boolean set;
      void setup() {

      }
      void loop() {
      RECEIVING CODE
      #include
      SoftwareSerial mySerial(3, 4); //RX, TX
      //4 leds
      int ledFrontLeft = 11;
      int ledFrontRight = 10;
      int ledBackLeft = 9;
      int ledBackRight = 6;
      void setup() {
      Serial.begin(9600);
      mySerial.begin(9600);
      Serial.setTimeout(10);
      mySerial.setTimeout(10);
      //declare led pins to be output
      pinMode(ledFrontLeft, OUTPUT);
      pinMode(ledFrontRight, OUTPUT);
      pinMode(ledBackLeft, OUTPUT);
      pinMode(ledBackRight, OUTPUT);
      }
      void loop() {

      if(mySerial.available()){//Read from HC-12 and send to serial monitor
      //traversing trough the serial input
      //date sent is a continues stream of ":updownvalue,leftrightvalue,accUpdownvalue,accleftrightvalue;..."
      mySerial.readStringUntil(':');//is string start character
      Serial.read();//skip start character
      String handleUpDown = mySerial.readStringUntil(',');//read first value
      Serial.read();//skip separator
      String handleLeftRight = mySerial.readStringUntil(',');//read second value
      Serial.read();//skip separator
      String accUpDown = mySerial.readStringUntil(',');//read 3th value
      Serial.read();//skip separator
      String accLeftRight = mySerial.readStringUntil(';');//Read 4th value
      Serial.read();//skip string stop character

      //Convert values to integers
      int intHandleUpDown = handleUpDown.toInt();
      int intHandleLeftRight = handleLeftRight.toInt();
      int intAccUpDown = accUpDown.toInt();
      int intAccLeftRight = accLeftRight.toInt();
      intHandleUpDown = map(intHandleUpDown,0,100,0,255);
      intHandleLeftRight = map(intHandleLeftRight,-56,53,0,255);
      intAccUpDown = map(intAccUpDown,-50,50,0,255);
      intAccLeftRight = map(intAccLeftRight,-50,50,0,255);
      //speed
      float accLeft = 0;
      float accRight = 0;
      float accUp = 0;
      float accDown = 0;
      float handleLeft = 0;
      float handleRight = 0;
      //split value in half. left right and up down.
      if(intAccLeftRight < 117 && intAccLeftRight > 0){
      accLeft = map(intAccLeftRight, 117, 1, 100, 1);
      }
      if(intAccLeftRight > 137 && intAccLeftRight < 255){
      accRight = map(intAccLeftRight, 137, 254, 100, 1);
      }
      if(intAccUpDown < 117 && intAccUpDown > 0){
      accDown = map(intAccUpDown, 117, 1, 100, 1);
      }
      if(intAccUpDown > 137 && intAccUpDown < 255){
      accUp = map(intAccUpDown, 137, 254, 100, 1);
      }
      if(intHandleLeftRight < 128 && intHandleLeftRight > 0){
      handleLeft = map(intHandleLeftRight, 128, 1, 100, 1);
      }
      if(intHandleLeftRight > 148 && intHandleLeftRight < 256){
      handleRight = map(intHandleLeftRight, 148, 255, 100, 1);
      }
      //calculate and write values to led's
      if(intHandleUpDown < 10){
      analogWrite(ledBackLeft, 0);
      analogWrite(ledBackRight, 0);
      analogWrite(ledFrontLeft, 0);
      analogWrite(ledFrontRight, 0);
      }else{
      float valFrontLeft = intHandleUpDown;
      float valFrontRight = intHandleUpDown;
      float valBackLeft = intHandleUpDown;
      float valBackRight = intHandleUpDown;
      if(accLeft != 0){
      valFrontLeft = valFrontLeft/100*accLeft;
      valBackLeft = valBackLeft/100*accLeft;
      }
      if(accRight != 0){
      valFrontRight = valFrontRight/100*accRight;
      valBackRight = valBackRight/100*accRight;
      }
      if(accUp != 0){
      valFrontLeft = valFrontLeft/100*accUp;
      valFrontRight = valFrontRight/100*accUp;
      }
      if(accDown != 0){
      valBackLeft = valBackLeft/100*accDown;
      valBackRight = valBackRight/100*accDown;
      }
      if(handleLeft != 0){
      valFrontRight = valFrontRight/100*handleLeft;
      valBackLeft = valBackLeft/100*handleLeft;
      }
      if(handleRight != 0){
      valFrontLeft = valFrontLeft/100*handleRight;
      valBackRight = valBackRight/100*handleRight;
      }
      analogWrite(ledBackLeft, valBackLeft);
      analogWrite(ledBackRight, valBackRight);
      analogWrite(ledFrontLeft, valFrontLeft);
      analogWrite(ledFrontRight, valFrontRight);
      }

      Serial.print(intHandleUpDown); Serial.print(",");
      Serial.print(intHandleLeftRight); Serial.print(",");
      Serial.print(intAccUpDown); Serial.print(",");
      Serial.println(intAccLeftRight);



      }
      mySerial.flush();
      Serial.flush();
      delay(20);
      }

  • @TG_SumanRamesh
    @TG_SumanRamesh 6 ปีที่แล้ว

    it relly help me ...thank u so much

  • @landlockedviking
    @landlockedviking 5 ปีที่แล้ว +1

    Thanks!

  • @MilanKarakas
    @MilanKarakas 8 ปีที่แล้ว +1

    Also, this spring antenna... uh, okay up to 100 mW, but over that - fire on the transmitter.

  • @bhanuvideos
    @bhanuvideos 6 ปีที่แล้ว +1

    Hi Sir,
    Thank for the valuable information,
    Is it possible to make communication between two arduinos by using eather net modules ( without a PC) Please claear my doubt.

  • @solomizan
    @solomizan 5 ปีที่แล้ว +1

    Super useful video!
    Try to make a video abuot nrf24l01 long range module uses as multi channels switch with feedback system.
    Sorry for bad english.

  • @raimiss8
    @raimiss8 6 ปีที่แล้ว

    Hi. Nice tutorial. I would like to ask if is possible to write code for checking signal strength while increasing distance. I mean like wireless we can see 100% when close and less when further up.

  • @tstko
    @tstko 7 ปีที่แล้ว

    Great stuff, do you have a sketch/example for a 4 channel relay to be controlled by this device using an Android app?!? I'm struggling to get this done for this device. Is thi device using bluetooth or Wifi??? I'm confused

  • @sadek1185
    @sadek1185 6 ปีที่แล้ว

    Hi Tom! Thanks for your effortI want to ask that can I reach the 1.8km distance communication but without using the external SMA antenna? If no, how much you think can I reach?

  • @JoeEvansSound
    @JoeEvansSound 4 ปีที่แล้ว

    Excellent thank you very much. Dankevelt

  • @karter61
    @karter61 6 ปีที่แล้ว

    What cheap board instead of the HC-12 would you recommend if I need to send data a maximum of 1km and about every 500ms?
    Looking at the specification for the HC-12 it says only to send data every 2 seconds, and only 60 bytes at a time.

  • @n0ukf
    @n0ukf 6 ปีที่แล้ว

    The "spring antenna" is more commonly known as a "helical antenna", or "continuously loaded".

  • @Dreamstripfilms
    @Dreamstripfilms 7 ปีที่แล้ว

    Hello! that's a great contribution by you on HC-12 , I'm doing a project which has a webcam and arduino.. my question is that can i transmit Video data through HC12 for long range communication.? please reply

  • @muhdakmal5086
    @muhdakmal5086 5 ปีที่แล้ว +1

    TQ Tom, just want to ask can we use HC 12 for one transmitter and multiple receivers

  • @tedsykora1858
    @tedsykora1858 3 ปีที่แล้ว

    Well done video

  • @sultan7679
    @sultan7679 6 ปีที่แล้ว

    Thanks tom...

  • @pcbexpresjogja8982
    @pcbexpresjogja8982 3 ปีที่แล้ว

    Thanks for cm Video i have a probke with my HC 12

  • @sameerk12982
    @sameerk12982 4 ปีที่แล้ว

    Like and subscribed... Hello from India... Thank you sir for creating such helpful videos.

  • @Ermine882
    @Ermine882 8 ปีที่แล้ว

    Спасибо!

  • @ahmedelshobakey498
    @ahmedelshobakey498 2 ปีที่แล้ว

    thanks !!

  • @MPElectronique
    @MPElectronique 6 ปีที่แล้ว

    Where can you find the external antenna? I cant find it :( ??
    THank you

  • @shreyasghoghari2156
    @shreyasghoghari2156 6 ปีที่แล้ว +1

    Can I do all communication wireless???
    Without arduino wire???
    So??? Pls tell me

  • @bukharimarto
    @bukharimarto 4 ปีที่แล้ว

    What a great video, Thank you for tutorials, Mr. Tom. but I have a problem in my project. I use 115200 bps on Nodemcu v3 and Arduino with HC-12, unfortunately both can't send any data to each other. why? please help

  • @MPElectronique
    @MPElectronique 7 ปีที่แล้ว

    Nice video. where did you buy the external antenna?
    thank you.
    Marc.

    • @TomHeylen1
      @TomHeylen1  7 ปีที่แล้ว

      www.banggood.com/?p=FA25224129409201603Q

  • @kongavamshi
    @kongavamshi 6 ปีที่แล้ว

    thanks for video

  • @SamuelCarreira
    @SamuelCarreira 7 ปีที่แล้ว +2

    Hi great video!Can I use this module safely for a long period of time with 5V? Or it's better to use a 3.3V microcontroller?Thank you

    • @TomHeylen1
      @TomHeylen1  7 ปีที่แล้ว +1

      module works fine on 5v for a long period. I have modules working for years continues on 5v

    • @SamuelCarreira
      @SamuelCarreira 7 ปีที่แล้ว

      +Tom Heylen thank you very much for your quick answer

  • @chiranthmurthy3424
    @chiranthmurthy3424 3 ปีที่แล้ว

    Hi Tom,
    I need to know whether HC-12 can communicate two ways? not at the same time is that possible? and what will be the code format?

  • @adelmhsn
    @adelmhsn 7 ปีที่แล้ว

    how i can use it to controle 2 motor
    and Where can I find the library

  • @mjaber4388
    @mjaber4388 7 ปีที่แล้ว

    Hi there,First, I want to say thank you for a wonderful and detailed video, but I have an issue:(My HC_12 is working and sending the same exact data, but for some reason, it doesn't send it as quick as yours does. I find this a problem because if I were to fly a plane, it wouldn't react as fast as I do and my commands will be delayed which will cause it to hit something. Is there something that I can do? Plz respond, and thank you :)PS: I love ur videos :D

  • @rommellobo9884
    @rommellobo9884 7 หลายเดือนก่อน

    Muchas gracias míster

  • @1mikechung
    @1mikechung 11 หลายเดือนก่อน

    HI, Have you a simple project using HC12 and DHT weather sensors. I find the BME sensor very difficult to set up. Thanks

  • @PeterMMMMM
    @PeterMMMMM ปีที่แล้ว

    Can the HC-12 be used to transmit voice, like a digital walkie Talkie? How does HC-12 compare to LoRa in range and complexity of implementation for voice transmission?

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    👍🎉👌nice tutorial.

  • @pomptang
    @pomptang 7 ปีที่แล้ว

    Hi Tom. Great video. I'm trying to send an analogue value to another Arduino (both with HC 12) and display it on an LCD . I can't get the receiver to pick up anything. The sender has its TX led on so I'm guessing it's sending the data across but nothing's picked up at the other end. I've tried messing around with the coding but with no luck. Is there a special code for analogue sending? Please can you help?

    • @TomHeylen1
      @TomHeylen1  7 ปีที่แล้ว

      Are the examples from the video working? If yes, should be fine. If not, watch the video again. You have a great day.

  • @martinspence4783
    @martinspence4783 5 ปีที่แล้ว

    Hi tom i am having a problem with my arduino ide when ever i try to manage my library or or add files to my library it the ide says cc.arduino contribution library con you help

  • @thednemu3495
    @thednemu3495 7 ปีที่แล้ว +7

    I Connected the HC-12 as you showed(4:52) to my Arduino Mega, but didnt receive a signal, after writing AT. What could be the problem?

    • @noahpfluke6981
      @noahpfluke6981 6 ปีที่แล้ว +1

      Same thing happened to me, i tried with a mega and 2 Unos and even ordered brand new HC-12s and tried those and nothing works

    • @muhammadsaim9833
      @muhammadsaim9833 6 ปีที่แล้ว +2

      have you guys figured out the solution of this problem?? because i am also facing same problems and wasted my 2-3 days on order to rectify the issue but nothing has worked

    • @BioSniperX
      @BioSniperX 6 ปีที่แล้ว +1

      The Problem is: You are an idiot.

    • @shubhamdhiman7516
      @shubhamdhiman7516 5 ปีที่แล้ว +1

      @@BioSniperX bhai main bhi ye banana chahta hu. Hc12 mehanga h. Agar bhai aapka ban gya ho to please bta do. Phir main bhi purchase kr lun ga

  • @jacksimple3766
    @jacksimple3766 6 ปีที่แล้ว

    Hi! I used that module in FU3 2400baud mode at good range, but neede more now, set up FU4 and CH010, Baud 1200 ad now range is less than FU3 9600baud so less than 100meters isntead of 1.8km, what could make the issue?

  • @fredricknjoroge5392
    @fredricknjoroge5392 6 ปีที่แล้ว

    Hey, can use two HC-12 modules for full duplex? And can use it to transmit digital audio?

  • @MrKkprince
    @MrKkprince 7 ปีที่แล้ว

    In your video there is no latency in the messenger 1st example communication . Did You changed the Serial.setTimeout() to something different from 1000 ? this for both softwareserial and serial ? ? kindof Serial.setTimeout(50)?

  • @BlueNikoN
    @BlueNikoN 7 ปีที่แล้ว

    hey, great tutorial :-)
    Is it be possible to talk to 433mhz sockets with the HC-12, because I kinda don't get it to working :(
    (final usage: read out 433mhz temperature sensors)

    • @BlueNikoN
      @BlueNikoN 7 ปีที่แล้ว

      already realized the problem -> 433mhz sockets/temperatures most likley use a different modulation than the hc-12

  • @ReginaSamosir
    @ReginaSamosir 3 ปีที่แล้ว

    Hi, can I change the baudrate without serial monitor? Like doing on void setup ?

  • @ashuntu2010
    @ashuntu2010 7 ปีที่แล้ว

    Could you please let me know what is the maximum range that we can achieve while using only the spring antenna provided with the module when working at FU4. Appreciate if you could give some idea. Thank you very much.

    • @TomHeylen1
      @TomHeylen1  7 ปีที่แล้ว

      I have been testing the sma and the spring antenna in an urban area and it does not seem to be much different.

  • @khaledelsherif8950
    @khaledelsherif8950 6 ปีที่แล้ว

    Hi, I am currently working on a project that requires wireless communication between two Raspberry pis via RF transceivers. Is it Possible to program and connect the HC12 to Raspberry pi via UART serial port?

  • @surveyingworld5219
    @surveyingworld5219 3 ปีที่แล้ว

    thanks

  • @MrArckN
    @MrArckN 4 ปีที่แล้ว

    Hello Tom,
    I'm trying to use the HC-12 with a Wemos d1 mini (wiki.wemos.cc/products:d1:d1_mini) but i cant get it to work. AT Commander doesnt want to work.
    I guess it's due to the different pinout of the board. There is TX & RX pin on the board but i dont know how to call them in the code.
    Do you have any tip or solution for me please ?
    Thanks.

  • @mehranujjan1232
    @mehranujjan1232 6 ปีที่แล้ว

    "Hayy SEE2" is great :)

  • @user-ale-it
    @user-ale-it 6 ปีที่แล้ว

    Hi Tom great video. Can you please help me to use these hc-12 to create a weather station.
    I can not send more than 2 data at a time.

    • @ahmedmoawad2368
      @ahmedmoawad2368 6 ปีที่แล้ว

      please help me ,if u find a solution for this problem

  • @PatrykDarasz
    @PatrykDarasz 6 ปีที่แล้ว +1

    Can the range be increased by using a RF amplifier?

  • @123tomjolly
    @123tomjolly 6 ปีที่แล้ว

    can i use this to send gas sensor data connected via IC2 to another arduino to make it change an LED colour?

  • @normanandrew5620
    @normanandrew5620 6 ปีที่แล้ว

    Is it possible to use this as a motion sensor for a house with a camera on each one to kick on when motion is detected?

  • @-rmcustoms3355
    @-rmcustoms3355 7 ปีที่แล้ว

    The HC-12 module seems to work in half duplex mode. I would like to realize a remote control with a nextion display which on the one hand can be used to switch consumers and on the other hand receives sensor data and displays it on the touch panel. So the role of station A and B shut be alternating from transmitter to receiver. How can this be achieved with two Arduino MEGA? I want to use a MEGA2560 instead of an UNO because of the available serial ports and the much higher amount of memory.

  • @tropicaljantie
    @tropicaljantie 6 ปีที่แล้ว

    any interference issues. you use what frequency?

  • @jurajmalatin1885
    @jurajmalatin1885 7 ปีที่แล้ว

    Great video, is there a way to connect Raspberry Pi with Arduino using HC-12 ?

  • @DeadlyLazerpunk
    @DeadlyLazerpunk 5 ปีที่แล้ว

    I'm having a range problem with my setup, anyone know how to extend the range beyond 20m? Right now everything is set to the defaults.

  • @mauriAR
    @mauriAR 5 ปีที่แล้ว

    I'm new with this, but Sir, I have a question , if I have 2 senders and 1 receiver, is possible to configure it for receive from 1 and later from 2? or another way to differentiate from each other in the print.

    • @TomHeylen1
      @TomHeylen1  5 ปีที่แล้ว

      You can use multiple senders to receive with one ore more receivers. You have to encode/decode your messages sent/reveived to verify you have the right message from the right sender. So yes you can :) Have a good one and enjoy your project. Cheers

  • @Mrjamf1
    @Mrjamf1 2 ปีที่แล้ว

    Hi, can these modules work alone? For example connecting a button to Tx and a Buzzer to Rx, thus making transceivers for morse code? No Arduino envolved. Thanks

  • @user-vv3mj5jg9l
    @user-vv3mj5jg9l 7 ปีที่แล้ว +1

    Hi, there is a question, can I connect more than two HC-12? One module receives, several modules transmit. If possible, help with the code.

  • @eng.samihamosa5637
    @eng.samihamosa5637 2 ปีที่แล้ว

    hello I am trying to connect mega2560 with uno . i have changed all possible pins in mega no connection established between two boards . any suggestion?

  • @belalabdalhuk
    @belalabdalhuk 7 ปีที่แล้ว

    how i could receive data from hc-12 on web site ?
    or store it in mysql data base?

  • @muhammadsaim9833
    @muhammadsaim9833 6 ปีที่แล้ว

    Hello! Sir I'm working on a energy monitoring project fro which I am using Hc-12 module for data transmission as it is quite cheap and easily accessible. Sir i am exactly using the same code as yours for checking the wireless communication between the modules and i am also using one uno and one mega but their is exchange of messages between the two serial monitors then i exactly followed your steps to ground the SET pin for configuring AT commands I am not able to get any responce from either of the modules, sir can you help me out with this that what i am doing wrong?

  • @nguyenthuy9824
    @nguyenthuy9824 3 ปีที่แล้ว

    Hi. How did you do to open 2 com on an arduino for testing data 2.47'?

  • @RahulKumar-zs2wv
    @RahulKumar-zs2wv 6 ปีที่แล้ว

    If there will be 3 hc 12 how to differentiate between them ,to whom to send data. And any other hc12 can also get our data having same freq. Is there any security level on hardware side.?

  • @GospodinJean
    @GospodinJean 6 ปีที่แล้ว

    I clicked in the video to watch teaching how to implement long range communication with Arduino :D