Hi all,
Ok, so I have 2 Arduino Nano's. Both with HC-12 RF 433mhz serial wireless boards. I have a basic sketch on both using software serial in which I can transmit and recieve string messages between the two.
My goal is:
Arduino 1:
Read 2 x potentiometer readings using AnalogRead (One pot on each analog pin).
En-code the corrosponding values and send via wifi.
Arduino 2:
Decode and read analog values sent by Arduino 1.
Control 2 seperate FET gates via PWM (AnalogWrite) using the values sent from Arduino 1.
I'm fairly new to the RF HC-12 side of things, but I have this circuit working using just one Arduino without any issues. I just need help with coding to intergrate the transmission of the values from one Arduino to the other.
Ideally, latency rates need to be minimul as to provide rapid responce of the FET's.
Any help grately appreciated.
Many thanks,
Jim
Ok, so I have 2 Arduino Nano's. Both with HC-12 RF 433mhz serial wireless boards. I have a basic sketch on both using software serial in which I can transmit and recieve string messages between the two.
My goal is:
Arduino 1:
Read 2 x potentiometer readings using AnalogRead (One pot on each analog pin).
En-code the corrosponding values and send via wifi.
Arduino 2:
Decode and read analog values sent by Arduino 1.
Control 2 seperate FET gates via PWM (AnalogWrite) using the values sent from Arduino 1.
I'm fairly new to the RF HC-12 side of things, but I have this circuit working using just one Arduino without any issues. I just need help with coding to intergrate the transmission of the values from one Arduino to the other.
Ideally, latency rates need to be minimul as to provide rapid responce of the FET's.
Any help grately appreciated.
Many thanks,
Jim