[PyGUI] Dynamic Polar Plor - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [PyGUI] Dynamic Polar Plor (/thread-8633.html) |
Dynamic Polar Plor - mounikapaladugu - Mar-01-2018 Hello, I am having two data values. One is of distance measured using UltraSonic sensor and the other is angle, varied using Stepper motor. Now, I want to plot it as a polar plot dynamically with the values updated. Is it possible using Python reading the values from Arduino? Is there any code available for the same? RE: Dynamic Polar Plor - Barrowman - Mar-01-2018 Certainly this is possible using a Raspberry Pi and arduino. About 8 years ago I hooked up a small speaker to an arduino and displayed on my laptop screen the output when someone spoke. It wasn't brilliant as the analogue inputs on the adruino are not that fast but good enough for audio. However that used the C like code on the arduino and processing which is also a C like language on the laptop Have a look here https://www.raspberrypi.org/blog/raspberry-pi-and-arduino/ And here http://www.doctormonk.com/2012/04/raspberry-pi-and-arduino.html There are many more sites which would help. Of course you could use your PC. if you connect to the serial interface on the arduino you can communicate bidirectionally with suitable programs on each one. |