Thank you so much for this. Using pyserial is so much easier than using pyfirmata. This is going to help me with my every project
@RockRanchCowboy4 жыл бұрын
Helped me a lot, thanks for the tutorial! Also, for other people learning programming, don't forget that ascii code is characters, not int's. I did, and couldn't figure out why python wasn't getting a response for hours (was checking for an integer not a char)
@myviewspace2 жыл бұрын
Excellent tutorials! Simple, clear, and very useful, not only the one on Serial Communication between Arduino and Python. These tutorials help me a lot. I have to donate to this channel.
@WaveShapePlay2 жыл бұрын
I am very grateful for your donation! Thank you, and I glad you find the tutorials useful!
@rluxon4 жыл бұрын
easy to follow your lessons. thank you so much for taking the time to make the videos.
@WaveShapePlay4 жыл бұрын
Thank you for watching Richard!
@MaheshKumar-kt5lv6 жыл бұрын
Nice way of explaining. Easy for beginners to understand.
@Jacno775 ай бұрын
thanks for making these buddy
@tecnologiaelectrolichan91112 жыл бұрын
muchas gracias por tus videos. saludos desde peru
@Electheo5 жыл бұрын
Great and helpful video! I used PyCharm to program so some things were a bit different. But you explain the functionality really well!
@DrZylvon Жыл бұрын
Thanks, very useful tutorial.
@charlesklein72326 жыл бұрын
consider writing a book! i have read a few and now am investigating "PROCESSING" language. your videos are better then the books. consider 3 dimensional "Vpython" or "processing"
@sermadreda3996 жыл бұрын
very good explanation and good topic
@EunchanPark6 жыл бұрын
I am happy that you made this video. Thank you !
@matheuscardoso14 жыл бұрын
Thank you! This is really helpful!
@rverm10005 жыл бұрын
so good and simple
@DimPyProg3 жыл бұрын
cool, great, nice
@MayankSingh-tk5vq6 жыл бұрын
Exactly what i want to learn,Thankyou sir.
@Heron314153 жыл бұрын
When l input character 'g' Arduino accepts it like iscii-code (103) and cannot compare it with the symbol 'g' in if-construction. Why?
@najninmansuri9346 Жыл бұрын
Heyy, Can we not defined the input pin commands in python only, like I don't want to use ide, Can I do that?
@vaughntaylor28553 жыл бұрын
Thank you!
@markbowring1514 жыл бұрын
I'm at the bottom of a very steep learning curve. Can you tell me which text editor you are using with the "Run" command on the ribbon, and does this automatically bring up Python 3.5.1 Shell
@WaveShapePlay4 жыл бұрын
Hey Mark - I am using IDEL the default Python Integrated Development Environment (IDE). It comes with your python download. If you right click the .py file and select 'edit with IDEL' then you will have the option to run the script like I did in the video. It will launch the shell as well.
@amiramiri28452 жыл бұрын
I assume Serial.println() write the data to serial bus and then Python reads from there! but my python cannot do that because the port is alreadly busy !
@Heron314153 жыл бұрын
Thank you for your examle and expanation. Is it possible to use such method for comunicate PC and Arduino for real time values monitoring tasks?
@WaveShapePlay3 жыл бұрын
Thank you for your question, and watching! Yes it is possible! You can customize the input/output data for real time data transfers. If you set up the request/read from the python/arduino code, you can set a predetermined rate to request/read data.
@Heron314153 жыл бұрын
@@WaveShapePlay thank you so much! So I have to organize own request/read protocol.
@WaveShapePlay3 жыл бұрын
Yes, that is the way to do it! The basics are outlined in this video series. Also, note you can add a time stamp, if you would like. See part 9: github.com/WaveShapePlay/ArduinoPySerial_LearningSeries/tree/master/Part9_AddingTimestamp)
@Heron314153 жыл бұрын
@@WaveShapePlay 👍👍👍
@NguyenDat-sn2pb5 жыл бұрын
how to convert it to int , when i use int(arduinoData) it call the error :: invalid literal for int() with base 10: ''
@acy13354 жыл бұрын
I have the exact problem
@niet56475 жыл бұрын
Everything works but only when i type 'y', only a y without the single quotations will result in an error. Any ideas on how to fix this?
@abdelmoumen62334 жыл бұрын
thaaaank youuu siiir ♥
@wykonos5 жыл бұрын
omg this video awesome thx
@maartenv.b.14763 жыл бұрын
Am I the only one that has to disconnect and reconnect the arduino after sending some code, otherwise it gives an error messege... Does somebody have a solution for this problem?
@rajeshsingh37175 жыл бұрын
Is it necessary to have a audrino code else than python code.
@rverm10004 жыл бұрын
serial.Serial doesnt work?
@cgowthamraja5485 жыл бұрын
iam getting this error pls help me to solve Get data point?y Traceback (most recent call last): File "ArduinoSerialCom.py", line 16, in userInput = input('Get data point?') File "", line 1, in NameError: name 'y' is not defined
@cubeur42615 жыл бұрын
I think you should just write 'y' instead of y in line 16. If you just write y, it thinks that it is a variable not a character.
@idilatac81775 жыл бұрын
I will try to do similar things with Basys3 board using vhdl instead of arduino. I am trying to make vhdl read data which python creates( the data is in the form of an array which consists of 6 columns and x rows) has anyone got related information. I would appreciate very much:)
@jcpole5 ай бұрын
Just my usual comment - the name of the board is Arduino. It is NOT Ardrino. Please learn how to pronounce it correctly. Again, good content, but you really need to learn how to pronounce Arduino correctly.