Using Python to fetch Data from Arduino and Processing using VPython [Subtitles]

preview_player
Показать описание
This tutorial shows you how to download the free Python software and Pyserial(for communicating with Arduino) and Vpython (for modeling data into life like objects). These programs are the ones that will allow you to simply and seamlessly communicate between the Arduino and Python. at the end we will also talk about how you make a simple object which can change its parameters according to the instructions we are getting from surrounding via arduino.

It is a first part of video series in which we will master the arduino - python interaction and you can apply it in your own projects.

Remember to Subscribe to this channel so that you don't miss next video.

Thanks for watching

`````````````````````````````````````````````````````````````````````````````````````

Arduino code::
int x = 2;
void setup()
{
}

void loop()
{
x++;
delay(800);
}

`````````````````````````````````````````````````````````

Python code:-
~~~~~~~~~
import serial
from visual import *

data = serial.Serial(''your com port',your baud rate)

while(True):
y = float(k)
print y
Рекомендации по теме
Комментарии
Автор

Can't we read data from Arduino via Python in real-time?

TheNikhilmishras