Hello, I'm starting a second project using an Arduino and a mpu6050 sensor. And I was wondering if there is a way to display the sensor's output on my PC without any USB cable connected to my computer since I'm planning to have a wireless design since all this time I'm still using the serial monitor to display an output.
Your topic was MOVED to its current forum category which is more appropriate than the original as it is not an Introductory Tutorial
The answer is yes if you use a board such as an ESP32 which can host a webserver which you can connect to using a web browser on your PC
There are two points in your question.
- Wireless connection.
- Display.
There are various options.
For the wireless connection you can use wifi (see previous reply) or bluetooth.
For the display, if you opt for wifi a web server (see previous reply) or a dedicated application.
If you opt for bluetooth, a terminal program (it does not have to be serial monitor) or a dedicated application.
You could also send via bluetooth to a smart phone and view the data in a bluetooth terminal app on the phone.
I would use an ESP part, either ESP8266 or ESP32.
They are inexpensive, small, fast, and have lots of onboard resources including the all the needed wireless h/w.
There are multiple ways to communicate wirelessly.
Even better as that you won't have to invent any of the communication mechanisms and/or protocols.
It already has wireless support for:
uploads/downloads, debuging, serial output, web interfaces.
There is also lots of documentation and examples out there as well.
--- bill
You can always just use a second serial port. If you are using the main serial port over USB for testing and so forth, hook up a second serial port and use PuTTY or CoolTerm or another terminal emulator.
These days that might mean using a second USB port and a serial to USB adaptor, or another Arduino used only for its ability to talk serial to USB.
Or a TTL to RS-232 converter on a real serial port on the PC.
Use a SoftwareSerial port at a relatively low baud rate if your Arduino doesn't have extra real UARTS.
a7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.