Python To Arduino using Serial Port

preview_player
Показать описание
📢 Hey everyone I have a *NEW* coding channel where I build simple projects with Python.

- Python Serial Module Download
Рекомендации по теме
Комментарии
Автор

📢 Hey everyone I have a *NEW* coding channel where I build simple projects with Python.

Monkhaus
Автор

PSA: If you have the error "could not open port 'COM4': PermissionError", you need to close the Arduino serial monitor. Windows doesn't allow for two programs to be communicating with a serial port at the same time!

zackperry
Автор

I think rather than while loop to pause the code a bit, you may use
"
import time
time.sleep(5) # e.g. You can pause the process for 5 seconds.
"
And thank you for your video!

daesoolee
Автор

Nice man 😂😂😂😂 the code was some waht funny at last

v-loger
Автор

How to send two separate int data from python so that Arduino can receive it and use it for two separate motor speed control?

muthulaxmi
Автор

Did you try to declare the timeout? serial.Serial('COM4', 9600, timeout=2)

CarPort-nydm
Автор

Make entire series of videos, I'm waiting

cmoulali
Автор

Every day software developers make solutions to real life problems more complicated. Software engineers change every day, what works today, in a month it no longer works, one uses an example from the internet and it doesn't work and you have to spend days searching in internet for the solution and even so, sometimes you can't find it, and the solution to real life problems waiting for one to solve them. I work with Arduino and other micros and I have the solution for several IoT problems but when I want to connect the circuit to the PC to make it easier for the user to use, that's where the tragedy begins. Please agree and make a program that works and works for a long time without so much ambiguity.

RobertoFernandezRey
Автор

thanks very much
you solved my biggest problem
write(b'1') instead of write('1') .

proprince
Автор

The loop doesn't working because loop not include led_on() function

ertugrulcakici
Автор

can you help me
i need to send an number like '1234' as a password from a python code on raspy pi and receive it on arduino C code
and i need to send back the temperature from arduino using sensor to use it in the python code

ahmedhesham
Автор

Thanks bro. Can you show us the condition if there is a specific word in a text file or Excel file in a directory, it triggers a port in a serial, say comm8?

eric
Автор

What about a slider in python ? how to get value from slider to control a servo motor please 0 to180 ?

brahimjarallah
Автор

Great video. Can you let me know where to get the wallpaper?

ericjia
Автор

why does the error arduino com port is busy shown when trying serial communication?

jogithajohn
Автор

How can i use hc-12 with Arduino using python language

waleedaiad
Автор

Hi, nice video! Its great for starting.
I have question, if i use a Bluetooth module, can i use this method for communication? I just have to change the com port, right?
Thanks.

fjaralampidis
Автор

when I try to Create serial port object
Arduino_Serial = serial.Serial('com70', 9600)

I get bellow Error Response
AttributeError: partially initialized module 'serial' has no attribute 'Serial' (most likely due to a circular import)


I'm Using Python Python 3.8.1 on windows 10
Please Bro Give me Replay ? or any others
I'm stopped my project in case of this Error

EthioCybrary
Автор

I make a similar project, but using 5 led.

pythongui
Автор

I've been able to use Arduino IDE to turn off a LED with a character H or L. But when I used Pycharm the LED blinks when I run my program. The light won't stay on.

MisterBinx