Hi!
I have played with this HC-12 module, and work nice with FC8 UART RS232.
https://www.robotshop.com/media/files/p ... 132001.pdf
https://www.youtube.com/watch?v=DGRPqeacJns
Normally these module is config with Default setting according the datasheet, but sometime it´s miss some setting, and is an another config, so:
Is it difficult to create a component in FC8 which can "adjust" and config the settings in AT mode for these RF module, change the baud rate, power, FU, yes, all according the datasheetand. Could be done via an Arduino, Pic or Eico. will somebody give it a try, Please I am unfortunately not able to do it.
Br Jorgen
HC-12 RF module!
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: HC-12 RF module!
Hello Jorgen,
I would start here, it highlights how to use a CAL component e.g. in your case the CAL UART as the basis for creating a component.
https://www.matrixtsl.com/wiki/index.ph ... Components
Have a go and see how you get on. If you post the project file as you go then we can help to point you back in the right direction.
Brilliant sounds like you've got good progress.I have played with this HC-12 module, and work nice with FC8 UART RS232.
No it shouldn't be too difficult.Is it difficult to create a component in FC8 which can "adjust" and config the settings in AT mode for these RF module, change the baud rate, power, FU, yes, all according the datasheetand.
Yes all of the above.Could be done via an Arduino, Pic or Eico.
Have you tried? It's a easier than you think and as you have the hardware you are in a prime position to be creating a component.will somebody give it a try, Please I am unfortunately not able to do it.
I would start here, it highlights how to use a CAL component e.g. in your case the CAL UART as the basis for creating a component.
https://www.matrixtsl.com/wiki/index.ph ... Components
Have a go and see how you get on. If you post the project file as you go then we can help to point you back in the right direction.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: HC-12 RF module!
Hi Ben!
Thank´s-
Yes yes, I tryed, but not to create a new component, will play with creation of component later . Try on another way. And yes it´s a tiny RF module with "high power" No problem to transmit and receive with UART in FC8. FC8 perfect.
Don´t know if you have experience with this module, but it is possible to set it in config mode by pulling the set pin low. So what I did, put the set pin low, and try to send AT command via UART in FC8.I should receive AT OK according datasheet.. But did not. I am in doubt, should I sent and receive it by String or Char. I could imagine it should be possible to do it this way.
Maybe you could have a look at my attemp, please.
Br Jorgen
Thank´s-
Yes yes, I tryed, but not to create a new component, will play with creation of component later . Try on another way. And yes it´s a tiny RF module with "high power" No problem to transmit and receive with UART in FC8. FC8 perfect.
Don´t know if you have experience with this module, but it is possible to set it in config mode by pulling the set pin low. So what I did, put the set pin low, and try to send AT command via UART in FC8.I should receive AT OK according datasheet.. But did not. I am in doubt, should I sent and receive it by String or Char. I could imagine it should be possible to do it this way.
Maybe you could have a look at my attemp, please.
Br Jorgen
- Attachments
-
- Flowcode1.fcfx
- (11.47 KiB) Downloaded 187 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: HC-12 RF module!
Hi Jorgen,
You will need a carriage return and maybe also a line feed after the command to terminate it. Try this instead.
or
You will need a carriage return and maybe also a line feed after the command to terminate it. Try this instead.
Code: Select all
SendString ( "AT\n" )
Code: Select all
SendString ( "AT\r\n" )
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel