Good day everyone. I am new to this sort of things but I am willing to learn so please bare with me and I am hoping that sum1 can help me with my queries.
My project is a wireless power monitoring system and Im using a 433MHz rf module. I can already send the parameters I wanted to send from the RF transmitter to my RF receiver both connected with each own arduino (UNO). The arduino on my receiver side is connected to my laptop for monitoring purposes. Using the serial monitor of arduino I can already monitor the data sent from my transmitter. Attached with this is a picture of it. Now I really want to display this data on PLX-DAQ which I found on the post of NetDevil here in this community. The PLX-DAQ is in smooth condition when I tested it using sensor values but during testing I didnt use the RF module. I am hoping that sum1 can help me to link my arduino (uno) which is connected to my RF receiver to PLX-DAQ so that I can use the excel to monitor the data instead of the serial monitor. Again I attached a picture showing the result on the arduino serial monitor. This is my code for my receiver :
#include <DataCoder.h>
#include <VirtualWire.h>
const int rx_pin = 11;
const int led_pin = 13;
void setup()
{
delay(1000);
Serial.begin(9600);
pinMode(led_pin,OUTPUT);
digitalWrite(led_pin,LOW);
vw_set_rx_pin(rx_pin);
vw_setup(1000);
vw_rx_start();
}
void loop()
{
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
union RFData inDataSeq;
float inArray[4];
if(vw_get_message(buf,&buflen))
{
digitalWrite(led_pin, HIGH);
for(int i =0; i< buflen; i++)
{
inDataSeq.s = buf*;*
* }*
* Serial.println();*
* digitalWrite(led_pin, LOW);*
* DecodeRFData(inArray, inDataSeq);*
* Serial.print("realPower:");*
* for (int i=0; i < 1; i++)*
* {*
_ Serial.print(inArray*);
Serial.print(", ");
}*_
* Serial.print("Irms:");*
* for (int i=1; i < 2; i++)*
* {*
_ Serial.print(inArray*);
Serial.print(", ");
}
Serial.print("supplyVoltage:");*_
* for (int i=2; i < 3; i++)*
* {*
_ Serial.print(inArray*);
Serial.print(", ");
}*_
* Serial.print("powerFActor:");*
* for (int i=3; i < 4; i++)*
* {*
_ Serial.print(inArray*);
Serial.println(", ");
}*_
}
}
xx.pdf (74.6 KB)