Getting startet with the HC-12 and Arduino for wireless communication - from Banggood

  Рет қаралды 56,897

DIY TECH BROS

DIY TECH BROS

Күн бұрын

Пікірлер: 47
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
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
@walshrd
@walshrd 2 жыл бұрын
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.
@elecoding6900
@elecoding6900 9 ай бұрын
Shouldn't it be Rx to Tx, and Tx to Rx? confused here!
@smappdooda
@smappdooda 4 жыл бұрын
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?
@ChamikaRavinduEkanayaka
@ChamikaRavinduEkanayaka 4 жыл бұрын
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
@polcasanovas597
@polcasanovas597 4 жыл бұрын
@@ChamikaRavinduEkanayaka Sorry could you elaborate?
@orphidian11
@orphidian11 4 жыл бұрын
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?
@orphidian11
@orphidian11 4 жыл бұрын
follow-up: just tested our hypothesis. yeah, it really is the other way around. Arduino TX to HC-12 RX and vice versa
@walshrd
@walshrd 2 жыл бұрын
@@orphidian11 TX --> RX and RX --> TX is always the way communications of any sort work.
@xrphobby1341
@xrphobby1341 2 жыл бұрын
Hi is it possible to have one HC12 as transmitter and send it to multiple HC12 receivers? Thank you for your reply
@jpdesroc
@jpdesroc 3 жыл бұрын
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
@DIYTECHBROS 3 жыл бұрын
Hi! Yes, it keeps the settings :-)
@jpdesroc
@jpdesroc 3 жыл бұрын
@@DIYTECHBROS GOOOOOD !
@mitsos306ify
@mitsos306ify 2 жыл бұрын
Great video, very useful module! I believe it is a good alternative for building a multi channel remote control?
@DIYTECHBROS
@DIYTECHBROS 2 жыл бұрын
Yes, indeed!
@aloklakhera866
@aloklakhera866 3 жыл бұрын
Tx of Arduino to Rx of Hc-12 or reverse?
@munch15a
@munch15a 3 жыл бұрын
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 ?
@automatizacionindustrialro6810
@automatizacionindustrialro6810 4 жыл бұрын
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
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Yes, thats a perfect use case!
@user-sk3un2cy5d
@user-sk3un2cy5d 10 ай бұрын
HELP ME PLS I HAVE A PROPLEM WITH MY HC-12 MODULE
@emanvlogz8088
@emanvlogz8088 Жыл бұрын
Can we use multiple HC12 Transmitters and one receiver combination?
@jasonparkin8416
@jasonparkin8416 7 ай бұрын
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-nh3nl
@TOMTOM-nh3nl 4 жыл бұрын
Thank You
@daviddonghue9672
@daviddonghue9672 4 жыл бұрын
I'm trying to send data from an bmp280 and have another Arduino display the readings to an lcd. how do you do this?
@576924
@576924 3 жыл бұрын
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
@yuvageosector8102
@yuvageosector8102 4 жыл бұрын
Is it possible that HC-12 can receive data from multiple HC-12 in a same time.
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
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_Life
@Lego_Life 4 жыл бұрын
Will the code for HC 05 work for HC 12 too?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Hi Lego Life! Not sure, but some basics remains the same!
@Lego_Life
@Lego_Life 4 жыл бұрын
@@DIYTECHBROS thank you. Will try using them myself then. Could you please make a tutorial for that?
@hush7111
@hush7111 2 жыл бұрын
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
@prashantsaini2141
@prashantsaini2141 4 жыл бұрын
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??
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
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!
@pieceofcake2057
@pieceofcake2057 4 жыл бұрын
How do i send in integer and then use that integer on the recieving arduino?
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Use String(int) to make an int into a string. And, toInt() to make it an int. myString = String(123); myInt = myString.toInt()
@kaustubhponkshe6186
@kaustubhponkshe6186 5 жыл бұрын
How to send multiple variables using HC 12
@DIYTECHBROS
@DIYTECHBROS 5 жыл бұрын
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
@nuggetking1770 Ай бұрын
3:49
@khatrichaitanya1981
@khatrichaitanya1981 5 жыл бұрын
I want to upload sketch via hc-12 module ,possible or not?
@DIYTECHBROS
@DIYTECHBROS 5 жыл бұрын
+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.
@khatrichaitanya1981
@khatrichaitanya1981 5 жыл бұрын
@@DIYTECHBROS ok thanks brother like as possible in hc -05 module
@florentleider222
@florentleider222 4 жыл бұрын
Your HC-12 lokks like a copy (widely spred..)
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
Hi Mac! Yes, we did a video on that topic as well - with extremely different results! See this video: kzbin.info/www/bejne/n4rTl4iZgL9jec0
@JoeEvansSound
@JoeEvansSound 4 жыл бұрын
@@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!!!
@DIYTECHBROS
@DIYTECHBROS 4 жыл бұрын
PJ Jones sorry, this is the link kzbin.info/www/bejne/l6iygX2Baq2YaJo
@rasdavis8390
@rasdavis8390 3 жыл бұрын
Followed ur code it didn't work even copied ur code and it didn't work
@DIYTECHBROS
@DIYTECHBROS 5 жыл бұрын
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
HC-12 AT Commands - Set up for Long Range with Arduino
5:36
DIY TECH BROS
Рет қаралды 41 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 16 МЛН
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 868 М.
Which radio module? NRF24, LoRa, CC1101, HC12, 433MHz, HC05
17:00
Electronoobs
Рет қаралды 466 М.
2 KM SUCCESS STORY with HC-12 - going beyond 1800 meters!
8:47
DIY TECH BROS
Рет қаралды 53 М.
HC-12 FIX for bad clones
4:37
DIY TECH BROS
Рет қаралды 21 М.
How do HT12E Encoder and HT12D work ?
4:00
PHYTION
Рет қаралды 23 М.
How to use LoRa Module with Arduino - Range Test - RYLR406 15KM
13:00
#BB11 Create an Arduino Library😨 - A Real World Example (Easy)
25:54
Using Inexpensive 433 MHz RF Modules with Arduino
29:50
DroneBot Workshop
Рет қаралды 565 М.
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 16 МЛН