Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Quazee137 Guru Joined: 07/08/2016 Location: United StatesPosts: 600
Posted: 12:30am 31 Jan 2019
Copy link to clipboard
Print this post
I got four of the HC-12's wired two of them up on two breadboards with power. USB to serial RXT > TX HC and TX > HC. "SET" pins to ground. I plugged them into two computers running minicom 8N1.
When I press "A" to start the "AT" I get "ERROR". Does this on both computers. So I played with minicom settings keeping baud at 9600 went through all permutations of bits, parity, stopbits. Still prints ERROR at 1st key press.
Even tried 3 different USB to serial cables / modules. Then tried the other two HC-12's with same results.
Now wondering did I get bad HC-12's
Anyone else have this happen?
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9754
Posted: 12:52am 31 Jan 2019
Copy link to clipboard
Print this post
[Quote]"SET" pins to ground.[/Quote]
That's your problem. You ONLY ground the SET pin, to configure the module - channel and output power, FU mode etc.
Remove the ground references on both module's SET lines, and try again. Smoke makes things work. When the smoke gets out, it stops!
Quazee137 Guru Joined: 07/08/2016 Location: United StatesPosts: 600
Posted: 02:23am 31 Jan 2019
Copy link to clipboard
Print this post
I was trying to configure them. Well I thought I was then remembered rob's HC-12 graphical configuration utility.
Using wine I had to start it up then the new wine makes a bunch of com links had to
went back to HC config and clicked "OK" every thing just works now. Thanks rob.
I have two setup as a repeater one at my desk and one with a 170BP for testing now I need to get eight more to do a real field test.
rob a though for an SC project a 170 backpack with the configuration algorithm as a way to set these up on the fly in the field.
one more Where the HC-12 text is make way to select other RF "AT" based modules. add a few different sockets for them even 3.3V <> 5V
Grogster could do a board.
Thanks rob and Grogster Edited by Quazee137 2019-02-01
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9754
Posted: 06:36am 31 Jan 2019
Copy link to clipboard
Print this post
Do you think that perhaps Linux was interpreting the AT commands as some kind of internal Linux command thing? Seems rather unlikely, but....
Tell me more about the board. I would be interested in doing one, if anyone thought it would be useful. Smoke makes things work. When the smoke gets out, it stops!