reted30 wrote: ↑
Wed Oct 17, 2018 1:40 pm
Actually, I have already connected the Arduino Uno with a USB port of Raspberry Pi,
Arduino IDE is installed in Raspberry Pi and I am able to check the reading in Arduino serial monitor also,
But is there any possible way to use Arduino IDE (which is installed in raspberry pi) with raspberry pi's Wifi?
And after connecting it with wifi is it possible to use MQTT protocol?
So I understand that your wireless current monitoring sensor sends data to the Arduino uno, this Arduino is connected via USB to the Raspberry Pi and you can read this data in the serial monitor on the Arduino IDE installed on the Pi. This is ok and working.
No you cannot use Arduino IDE with raspberry pi's Wifi. I mean not directly.
But as suggested by PhatFil you can use a program to read the data on the serial port (should be /dev/ttyACM0 with an Uno) and do whatever you want with this data, publish it by MQTT for instance.
Another solution if you are happy with the Arduino IDE serial monitor, is to enable the VNC server on the Pi (from config menu) and install on a PC/Tablet/smartphone a VNC client, you will get the PI desktop screen on this device and therefore the Arduino IDE.