Note, it is important to use original HC-12 modules. The ones in this video are not the original one, see this video to what a difference it makes!! ruclips.net/video/iYpfUcKZ0Ck/видео.html
Not the best video on the subject. TX --> RX and RX --> TX is always the way communications of most any sort work. The Bros need to get that right. The codes in the links are useless.
I cannot get your code to work for some reason. (I am using an Uno and a Mega) I also noticed that your wiring is confusing. You say you connect RX to RX and TX to TX but in the video, the wires run from RX to TX and TX to RX. Which is it?
Just call the header below as SoftwareSerial HC12(10,11) // HC-12 TX= D10 Pin, HC-12 RX D11 Pin AND In void setup HC12.begin(9600); and the rest would work fine
Yeah, same here. I was trying to follow the verbal instructions but wasn't able to get it to work. Now that you've mentioned it, yeah. The instructions were different from what can be seen on 2:03 can @DIY TECH BROS clarify?
When you enter the AT commands, if you change the baud rate different from the 9600 default then exit the AT command mode, will the HC-12 keep this change after a power shut off ? I hope so because if the HC-12 does not keep these AT settings changes a micro-controller will be needed to set back these different settings on every power up like the baud rate or Tx power for instance.. My actual application runs on 4800bds.. Keep up the good job !
@@DIYTECHBROS Hi guys. I have clicked the youtube link above to see HC12 video but it goes to a ESP01 video. Is this right? Am I doing something wrong? I cant see any mention of HC12's. Thanx very much. Great Job!!!
for me I intend to have 4 different ardunio waiting for a call from a amster one I can in theory just use the default channel with out need to use set at all right ?
Amigo soy rafael de uruguay se puede con dos arduinos y sus respectivos modulos de hc-12 encender un pin de salida del arduino. Es decir que el emisor detecte un nivel bajo de agua y que le diga al receptor que tiene que prender una luz
I wouldn’t see why not as long as all devices are setup the same. If I was to do this I would organize a packet structure and send a device id with each packet. This would help identify the transmit device and for debugging
Hi! Yes, one HC-12 unit can receive data from multiple other HC-12 units. As long as they do not all transmit within the exact same time within a second. See our other video on the HC-12 where we do something similar @Z0Ck
Banggood sell both the HC-12 module, and an identical GT-38 module, with the GT-38 version costing slightly more than the HC-12. Does anyone know if units are identical with the same default settings, and whether one is better than the other
configure HC12 to laptop wifi is it possible? instead of using 2 HC12?? Using laptop as a transmitter the python script will perform some action and the signal will send to the receiver bot(arduino) using hc12??
Hi! Sorry, no, HC12 operates on 433 MHz while WiFi is 2.4 and 5 GHz. So they are very far apart. BUT, have a look at ESP8266 or ESP32. They have WiFi and you program them directly, removing the need for an Arduino!
Hi! There are a few simple options. (1) send two different transmissions (2) use the string functions to extract the data you need. Let’s say you want to send A as variable 1 and B as variable two. And you know that the value of any variable is always going to only be one char you can simply use substring().
+chaitanya khatri Hi :-) not entirely sure I fully understand the question... but you can not upload a sketch the the HC-12. It needs to be uploaded to the Arduino.
We are preparing for an range / antenna test with the HC-12. Let us know if there is something you would like us to test! Edit: The test video is done: ruclips.net/video/awOPJK5He28/видео.html
Note, it is important to use original HC-12 modules. The ones in this video are not the original one, see this video to what a difference it makes!! ruclips.net/video/iYpfUcKZ0Ck/видео.html
Not the best video on the subject. TX --> RX and RX --> TX is always the way communications of most any sort work. The Bros need to get that right. The codes in the links are useless.
Shouldn't it be Rx to Tx, and Tx to Rx? confused here!
HELP ME PLS I HAVE A PROPLEM WITH MY HC-12 MODULE
I cannot get your code to work for some reason. (I am using an Uno and a Mega) I also noticed that your wiring is confusing. You say you connect RX to RX and TX to TX but in the video, the wires run from RX to TX and TX to RX. Which is it?
Just call the header below as
SoftwareSerial HC12(10,11) // HC-12 TX= D10 Pin, HC-12 RX D11 Pin
AND
In void setup
HC12.begin(9600);
and the rest would work fine
@@ChamikaRavinduEkanayaka Sorry could you elaborate?
Yeah, same here. I was trying to follow the verbal instructions but wasn't able to get it to work. Now that you've mentioned it, yeah. The instructions were different from what can be seen on 2:03 can @DIY TECH BROS clarify?
follow-up: just tested our hypothesis. yeah, it really is the other way around. Arduino TX to HC-12 RX and vice versa
@@orphidian11 TX --> RX and RX --> TX is always the way communications of any sort work.
Tx of Arduino to Rx of Hc-12 or reverse?
Hi is it possible to have one HC12 as transmitter and send it to multiple HC12 receivers? Thank you for your reply
When you enter the AT commands, if you change the baud rate different from the 9600 default then exit the AT command mode, will the HC-12 keep this change after a power shut off ?
I hope so because if the HC-12 does not keep these AT settings changes a micro-controller will be needed to set back these different settings on every power up like the baud rate or Tx power
for instance.. My actual application runs on 4800bds.. Keep up the good job !
Hi! Yes, it keeps the settings :-)
@@DIYTECHBROS GOOOOOD !
Your HC-12 lokks like a copy (widely spred..)
Hi Mac! Yes, we did a video on that topic as well - with extremely different results! See this video: ruclips.net/video/iYpfUcKZ0Ck/видео.html
@@DIYTECHBROS Hi guys. I have clicked the youtube link above to see HC12 video but it goes to a ESP01 video. Is this right? Am I doing something wrong? I cant see any mention of HC12's. Thanx very much. Great Job!!!
PJ Jones sorry, this is the link ruclips.net/video/awOPJK5He28/видео.html
for me I intend to have 4 different ardunio waiting for a call from a amster one I can in theory just use the default channel with out need to use set at all right ?
Amigo soy rafael de uruguay se puede con dos arduinos y sus respectivos modulos de hc-12 encender un pin de salida del arduino. Es decir que el emisor detecte un nivel bajo de agua y que le diga al receptor que tiene que prender una luz
Yes, thats a perfect use case!
Can we use multiple HC12 Transmitters and one receiver combination?
I wouldn’t see why not as long as all devices are setup the same. If I was to do this I would organize a packet structure and send a device id with each packet. This would help identify the transmit device and for debugging
Is it possible that HC-12 can receive data from multiple HC-12 in a same time.
Hi! Yes, one HC-12 unit can receive data from multiple other HC-12 units. As long as they do not all transmit within the exact same time within a second. See our other video on the HC-12 where we do something similar @Z0Ck
Great video, very useful module!
I believe it is a good alternative for building a multi channel remote control?
Yes, indeed!
3:49
Will the code for HC 05 work for HC 12 too?
Hi Lego Life! Not sure, but some basics remains the same!
@@DIYTECHBROS thank you. Will try using them myself then. Could you please make a tutorial for that?
Followed ur code it didn't work even copied ur code and it didn't work
do anyone know what i might do wrong cause not only this tutorial didnt work but none on the internet work for me with hc12
Banggood sell both the HC-12 module, and an identical GT-38 module, with the GT-38 version costing slightly more than the HC-12.
Does anyone know if units are identical with the same default settings, and whether one is better than the other
I'm trying to send data from an bmp280 and have another Arduino display the readings to an lcd. how do you do this?
Thank You
configure HC12 to laptop wifi is it possible? instead of using 2 HC12?? Using laptop as a transmitter the python script will perform some action and the signal will send to the receiver bot(arduino) using hc12??
Hi! Sorry, no, HC12 operates on 433 MHz while WiFi is 2.4 and 5 GHz. So they are very far apart. BUT, have a look at ESP8266 or ESP32. They have WiFi and you program them directly, removing the need for an Arduino!
How to send multiple variables using HC 12
Hi! There are a few simple options. (1) send two different transmissions (2) use the string functions to extract the data you need. Let’s say you want to send A as variable 1 and B as variable two. And you know that the value of any variable is always going to only be one char you can simply use substring().
I want to upload sketch via hc-12 module ,possible or not?
+chaitanya khatri Hi :-) not entirely sure I fully understand the question... but you can not upload a sketch the the HC-12. It needs to be uploaded to the Arduino.
@@DIYTECHBROS ok thanks brother like as possible in hc -05 module
How do i send in integer and then use that integer on the recieving arduino?
Use String(int) to make an int into a string. And, toInt() to make it an int.
myString = String(123);
myInt = myString.toInt()
We are preparing for an range / antenna test with the HC-12. Let us know if there is something you would like us to test! Edit: The test video is done: ruclips.net/video/awOPJK5He28/видео.html