This is wonderful! The only tutorial on RUclips that shows the whole process! Thank you. I like how calm your voice is btw! Most channels try to be too active and shout! I almost never subscribe but subscribed to you. Cheers.
I was trying to send 130 integer data from Python to Arduino for days. I had used just serial.Serial('COM4' , 9600) . I had not used as you used. Now, I did the same thing as you and it worked.
good work expecting pserial exception video soon expecially how to clear the memory after serial communication without ending serial which makes the arduino or esp32 respond faster
Hello, I have a question. Since I don't have Arduino uno, is it possible if I just connect two PC with usb to RS-232 converter and have 1 pc send signal to the other using serial.write() and use serial.readline() to receive?
serial.serialutil.SerialException: could not open port 'COM2': PermissionError(13, 'Access is denied.', None, 5) please help me !!! i've watched 7 tutorials on it . but my code is giving this error !
Great tutorial. Is it possible to listen to the a COM port continuously and capture a string upon arrival with out over loading the winXP PC? I suppose using some kind of COM wake up on interrupt or similar concept.
I dont think that is possible on a Windows XP or a Windows 10 system. That would require access to the underlying hardware directly and most of the time on x86 PC the serial port is virtual and runs on the USB hardware. You may be able to do it in some embedded linux systems that would allow you direct access to the hardware. I think you can do a network wakeup where the whole PC starts up on receiving a network packet through the LAN cable Hope this helps
Thank you, but i have some issues : SerialException: could not open port 'COM6': PermissionError(13, 'Accès refusé.', None, 5) No specific suggestions for this error (yet).
you need to connect some device to your USB port that will act as a Virtual COM port for Eg Arduino UNO,Arduino Mega,USB to serial converter chips like FT232 or CP210x and the drivers for those chips installed. Then check the device manager or refresh it
I have this error Traceback (most recent call last): File "E:\Downloads\peoplecounteryolov8-main\peoplecounteryolov8-main\test 26april buzzer.py", line 39, in arduino = serial.Serial(arduino_port, baud_rate, timeout=1) AttributeError: module 'serial' has no attribute 'Serial'
COM4 is what the arduino is assigned in my system, In your system COM number will be different, do change it. Plug your Arduino to PC and check the device manager for the correct COM number. Or you can check it in the arduino ide Menu settings,Tools-> Port
This is wonderful! The only tutorial on RUclips that shows the whole process!
Thank you.
I like how calm your voice is btw! Most channels try to be too active and shout!
I almost never subscribe but subscribed to you.
Cheers.
Thank you
I was trying to send 130 integer data from Python to Arduino for days. I had used just serial.Serial('COM4' , 9600) . I had not used as you used. Now, I did the same thing as you and it worked.
You are welcome.Hope your Project worked
good work expecting pserial exception video soon expecially how to clear the memory after serial communication without ending serial which makes the arduino or esp32 respond faster
Exception video launched,do check out
can I send data from arduino to py and vice versa in a same program ? Like datas from sensors
Yes you can but you will have to modify the code
👋Please Subscribe 👈
Hello, I have a question.
Since I don't have Arduino uno, is it possible if I just connect two PC with usb to RS-232 converter and have 1 pc send signal to the other using serial.write() and use serial.readline() to receive?
that is possible, replace arduino with one of your PC
serial.serialutil.SerialException: could not open port 'COM2': PermissionError(13, 'Access is denied.', None, 5)
please help me !!! i've watched 7 tutorials on it . but my code is giving this error !
I hope you are using windows,check device manager for correct port number,is any other program using the port ,is your port number com2 or different
Great tutorial. Is it possible to listen to the a COM port continuously and capture a string upon arrival with out over loading the winXP PC? I suppose using some kind of COM wake up on interrupt or similar concept.
I dont think that is possible on a Windows XP or a Windows 10 system. That would require access to the underlying hardware directly
and most of the time on x86 PC the serial port is virtual and runs on the USB hardware.
You may be able to do it in some embedded linux systems that would allow you direct access to the hardware.
I think you can do a network wakeup where the whole PC starts up on receiving a network packet through the LAN cable
Hope this helps
Do Subscribe to our channel if you are interested in learning about embedded systems ,electronics or programming.
I can't find the cs file generated
what cs file?
Hey nice tutorial,well done.it was quite helpful
can we do the same with esp32 wroom 32 board
Our code deals with the PC side of things,Yes you can use it to communicate with the ESP32
How do we send sensor data from Arduino to the pc directly?
we are sending data directly from Arduino to PC and vice versa here. Could you be more specific
Thank you, but i have some issues : SerialException: could not open port 'COM6': PermissionError(13, 'Accès refusé.', None, 5)
No specific suggestions for this error (yet).
is your com port number com6?check that first,go to device manager find the com port number and substitute in for com6
Thank you 🎉
I canot find a port section in device manager
you need to connect some device to your USB port that will act as a Virtual COM port for Eg Arduino UNO,Arduino Mega,USB to serial converter chips like FT232 or CP210x and the drivers for those chips installed.
Then check the device manager or refresh it
I have this error
Traceback (most recent call last):
File "E:\Downloads\peoplecounteryolov8-main\peoplecounteryolov8-main\test 26april buzzer.py", line 39, in
arduino = serial.Serial(arduino_port, baud_rate, timeout=1)
AttributeError: module 'serial' has no attribute 'Serial'
have you installed pyserial using pip.pyserial is not installed by default.check the spelling of your pyserial function also?
No pyvenv.cfg file
this appears if I check my python version. please help
Are you trying to create a virtual environment using env
great
thank you
Hello sir com4 not showing
COM4 is what the arduino is assigned in my system, In your system COM number will be different, do change it.
Plug your Arduino to PC and check the device manager for the correct COM number.
Or you can check it in the arduino ide Menu settings,Tools-> Port
added subtitles for the video
Thanks you
You are welcome ,Do subscribe if youlike our channel
I was referred from Twitter
hope you find our video useful