Hi please excuse the amateur question, I have searched for many hours and am still confused in what I am trying to do. I have only just started using Arduino wirelessly and have an IOT 33 Nano. I have managed to get it connected to my wifi and run an LED test example and connect it to IOt dashboard with a simple push button that works great. I also have tried an accelerometer example script that reads the data and prints to serial when connected via USB. I now want to read this data wirelessly...
What I need is a way to send this data to another computer as I am using an application that reads COM port data and not wireless data, or at least I do not know how to read wireless data from it.
I wanted to know if another arduino can read the serial monitor data from my IOT 33 somehow and send it via COM port to my third party application. I am sure the the third party application (UE4) allows other methods of data input wirelessly, perhaps via JSON but i am completely out of my depth and can capture the data from a usb connected arduino easily and with the latency I require.
sorry if this makes no sense if anyone can help or think of another way to do this I would be much obliged.
I'm not really sure what you're trying to do. Since your nano can send data out of the serial port, your PC application should be able to read it - USB will appear to be a COM port as far as it's concerned.
Is there a need to have the nano some distance from the PC?
hi thanks for the reply, the nano is sending out data to the usb yes but i do not want it connected via usb but wirelessly. The application i am using it for only reads COM data....
hi thanks again for the reply, i could go with that, i assume it has to obviously be another iot 33 nano. I understand that there may be some latency as ideally the application should be realitme like a game controller but i would be happy enough with that.
i just searched and the wifinna library apparently provides comms between two arduinos and using UDP, UE4 accepts UDP also so perhaps I just need to work on a single one and reading the data from that, but i am lost when it comes to networking