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!! kzbin.info/www/bejne/n4rTl4iZgL9jec0
@walshrd2 жыл бұрын
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.
@elecoding69009 ай бұрын
Shouldn't it be Rx to Tx, and Tx to Rx? confused here!
@smappdooda4 жыл бұрын
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?
@ChamikaRavinduEkanayaka4 жыл бұрын
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
@polcasanovas5974 жыл бұрын
@@ChamikaRavinduEkanayaka Sorry could you elaborate?
@orphidian114 жыл бұрын
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?
@orphidian114 жыл бұрын
follow-up: just tested our hypothesis. yeah, it really is the other way around. Arduino TX to HC-12 RX and vice versa
@walshrd2 жыл бұрын
@@orphidian11 TX --> RX and RX --> TX is always the way communications of any sort work.
@xrphobby13412 жыл бұрын
Hi is it possible to have one HC12 as transmitter and send it to multiple HC12 receivers? Thank you for your reply
@jpdesroc3 жыл бұрын
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 !
@DIYTECHBROS3 жыл бұрын
Hi! Yes, it keeps the settings :-)
@jpdesroc3 жыл бұрын
@@DIYTECHBROS GOOOOOD !
@mitsos306ify2 жыл бұрын
Great video, very useful module! I believe it is a good alternative for building a multi channel remote control?
@DIYTECHBROS2 жыл бұрын
Yes, indeed!
@aloklakhera8663 жыл бұрын
Tx of Arduino to Rx of Hc-12 or reverse?
@munch15a3 жыл бұрын
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 ?
@automatizacionindustrialro68104 жыл бұрын
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
@DIYTECHBROS4 жыл бұрын
Yes, thats a perfect use case!
@user-sk3un2cy5d10 ай бұрын
HELP ME PLS I HAVE A PROPLEM WITH MY HC-12 MODULE
@emanvlogz8088 Жыл бұрын
Can we use multiple HC12 Transmitters and one receiver combination?
@jasonparkin84167 ай бұрын
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
@TOMTOM-nh3nl4 жыл бұрын
Thank You
@daviddonghue96724 жыл бұрын
I'm trying to send data from an bmp280 and have another Arduino display the readings to an lcd. how do you do this?
@5769243 жыл бұрын
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
@yuvageosector81024 жыл бұрын
Is it possible that HC-12 can receive data from multiple HC-12 in a same time.
@DIYTECHBROS4 жыл бұрын
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
@Lego_Life4 жыл бұрын
Will the code for HC 05 work for HC 12 too?
@DIYTECHBROS4 жыл бұрын
Hi Lego Life! Not sure, but some basics remains the same!
@Lego_Life4 жыл бұрын
@@DIYTECHBROS thank you. Will try using them myself then. Could you please make a tutorial for that?
@hush71112 жыл бұрын
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
@prashantsaini21414 жыл бұрын
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??
@DIYTECHBROS4 жыл бұрын
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!
@pieceofcake20574 жыл бұрын
How do i send in integer and then use that integer on the recieving arduino?
@DIYTECHBROS4 жыл бұрын
Use String(int) to make an int into a string. And, toInt() to make it an int. myString = String(123); myInt = myString.toInt()
@kaustubhponkshe61865 жыл бұрын
How to send multiple variables using HC 12
@DIYTECHBROS5 жыл бұрын
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().
@nuggetking1770Ай бұрын
3:49
@khatrichaitanya19815 жыл бұрын
I want to upload sketch via hc-12 module ,possible or not?
@DIYTECHBROS5 жыл бұрын
+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.
@khatrichaitanya19815 жыл бұрын
@@DIYTECHBROS ok thanks brother like as possible in hc -05 module
@florentleider2224 жыл бұрын
Your HC-12 lokks like a copy (widely spred..)
@DIYTECHBROS4 жыл бұрын
Hi Mac! Yes, we did a video on that topic as well - with extremely different results! See this video: kzbin.info/www/bejne/n4rTl4iZgL9jec0
@JoeEvansSound4 жыл бұрын
@@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!!!
@DIYTECHBROS4 жыл бұрын
PJ Jones sorry, this is the link kzbin.info/www/bejne/l6iygX2Baq2YaJo
@rasdavis83903 жыл бұрын
Followed ur code it didn't work even copied ur code and it didn't work
@DIYTECHBROS5 жыл бұрын
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: kzbin.info/www/bejne/l6iygX2Baq2YaJo