|
Forum Index : Microcontroller and PC projects : HC-12 communication
| Author | Message | ||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
There was a thread (I can't seem to find it) that seemed to have a lot of information on HC-12 communication. It listed the basic AT commands needed to set up a module-to-module serial communication. Basically a simple transparent wireless serial cable. I'm looking for just a simple example. I can't seem to find that thread, or notes. Micromites and Maximites! - Beginning Maximite |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4142 |
Might be here Or here John Edited 2020-10-13 05:05 by JohnS |
||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
or here - this is the famous thread in which Grogster tracked down the rogue 30MHz crystal and his escapade made it onto hackaday https://www.thebackshed.com/forum/ViewTopic.php?TID=10443&P=1 contained within is another fab link which shows how to use cheapie SDR USB modules (circa £15 on eaby) as a poor man's Spectrum Analyzer... ish Edited 2020-10-13 05:14 by CaptainBoing |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
Somewhere I remember reading that the set pin could be left floating (after initialization?) and the device would be in data mode. Is this true? Micromites and Maximites! - Beginning Maximite |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3474 |
Does it have to be HC-12? ESP8266 with ESP-Link has pass-through mode. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
Thanks, I'm doing that, too. And HC05. I'm putting the HC-12 module on a RetroMax to replace the console connection. The RetroMax supports the HC-12 and HC05 right there. ![]() Micromites and Maximites! - Beginning Maximite |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
And note I left the set pin floating. I don't know where my notes are, so I'm recreating the process I went through and verifying it on the hardware. https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12912 Edited 2020-10-13 06:00 by CircuitGizmos Micromites and Maximites! - Beginning Maximite |
||||
Chopperp![]() Guru Joined: 03/01/2018 Location: AustraliaPosts: 1106 |
CircuitGizmos]Somewhere I remember reading that the set pin could be left floating (after initialization?) and the device would be in data mode. Is this true? I leave mine floating. Work OK. Edited 2020-10-13 06:05 by Chopperp ChopperP |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
I'm missing my folder and notes about the HC-12. So that is exactly what I am asking and/or verifying. Micromites and Maximites! - Beginning Maximite |
||||
Chopperp![]() Guru Joined: 03/01/2018 Location: AustraliaPosts: 1106 |
In this post Here Grogster has written some code (at the end) which enables the HC-12 to be programmed in situ. The set pin is tied to an I/O pin for the purpose. Works well as long as you keep track of the baud rate last used. Brian ChopperP |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
Thank you, Chopper! Micromites and Maximites! - Beginning Maximite |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9755 |
Yes, you can leave the SET pin floating. I believe the HC12 has an on-board pull-up for this pin, to hold it high. You pull the SET pin LOW to enter the setup mode. Robert Rozee wrote a nice little GUI for talking to the HC12 module. I will ask him to post it here. Smoke makes things work. When the smoke gets out, it stops! |
||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2466 |
the latest version of the utility (for win32) can be downloaded from the document register, here: http://www.thebackshed.com/docregister/ViewDoc.asp?DocID=16 and the HC-12 datasheet can be downloaded from here: http://www.thebackshed.com/docregister/ViewDoc.asp?DocID=18 cheers, rob :-) |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
Thank you Rob! (and Grog!) Edited 2020-10-14 00:12 by CircuitGizmos Micromites and Maximites! - Beginning Maximite |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
I want to make a correction for the record. In my haste to post a little picture of the wireless console link, I plugged the wrong HC-12 module in the RetroMax to take a quick photo. The earlier picture is upside/backwards/inverted/insideout or something. Here is the correct HC-12 module orientation: ![]() What it looks like soldered into a case: ![]() Edited 2020-10-14 04:47 by CircuitGizmos Micromites and Maximites! - Beginning Maximite |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |