This is wonderful! The only tutorial on UA-cam 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
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'
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?
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
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).
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
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
👋Please Subscribe 👈
This is wonderful! The only tutorial on UA-cam 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
Hey nice tutorial,well done.it was quite helpful
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
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?
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
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
Thank you 🎉
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
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
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.
great
thank you
No pyvenv.cfg file
this appears if I check my python version. please help
Are you trying to create a virtual environment using env
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
I can't find the cs file generated
what cs file?
I was referred from Twitter
hope you find our video useful
added subtitles for the video
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
Thanks you
You are welcome ,Do subscribe if youlike our channel