Hello, your video is excellent. I have a question. If I wanted to read two ports at the same time using pyserial, how would that be? Could you help me? Thanks.
@Avirup17123 күн бұрын
Hi. That should be possible, however I need to check it out. I’ll check and update you on the same.
@yorlysflores65644 күн бұрын
hi @@Avirup171 , how are you? Ok, I appreciate it.
@Avirup1714 күн бұрын
@@yorlysflores6564 Hi. I’m doing fine. Was involved in some personal projects. Will be back here on KZbin soon.
@pkthevio2 ай бұрын
import serial line 1, in <module> import serial ModuleNotFoundError: No module named 'serial' ~ I've installed pyserial in everyway possible and even tried unistalling and installing it again. I tried using sudo to put it in dev mode to get it back working to only focus on the microcontroller. None of them worked and I still get the no module named serial error! what should I do?
@MarkHall-d1p2 ай бұрын
Rocio Branch
@mixme86553 ай бұрын
new subscriber thank you for sharing sir
@yonathegod4 ай бұрын
Thank you for the amazing tutorial!
@oladojasirajudeen.12154 ай бұрын
Wow this works, thanks so much
@YPat-uz7zp5 ай бұрын
Thank you brother, it worked. simple explanation.
@IesKorpershoek5 ай бұрын
How do I bridge my local broker too two external brokers ? Simple put in 2 connection sections?
@kushagrakumar19926 ай бұрын
bohot acha
@v24blog467 ай бұрын
import serial Ple help ! File "c:/Users/youtb/Downloads/vehicle counting/CCom7.py", line 1, in <module> import serial ModuleNotFoundError: No module named 'serial'
@markestz94024 ай бұрын
did you install a pyserial? in terminal:pip install pyserial
@unik89857 ай бұрын
Hello sir, May I ask if do you know how to fix the " Access is Denied " problem? I've been dealing with it for the past 12 hours. Thank you in advance!
@Avirup1717 ай бұрын
Can you make sure that the port isn’t being used anywhere else?
@lalithkumar24748 ай бұрын
Why not use esp ?
@schm0sbyy8 ай бұрын
I am trying to send a message to the IoT hub as well. I understood that the azure.iot.device.aio is for the async instance of IoT Hub Device client objects. However, if there is no internet connection, the device_client.send_message(data) will keep on retrying until the internet connection is restored which is a bit counter intuitive with the nature of its asynchronicity. Without internet connection, the device_client.send_message(data) becomes synchronous and will halt other operations. Is there a way to overcome this? I tried using threads but the issue persists.
@algercomalekmalki79978 ай бұрын
Thank you !
@cd-mar8 ай бұрын
Thank you !!! wonderful !! I can send data to my ardruino !!! You save my brain 🧠
@giovannifernandesgarciados95349 ай бұрын
Thank you so much!
@kaniobed289 ай бұрын
Thank you very much for the tutorial.
@yrnn239 ай бұрын
hello ı have some question . I want to use in virtual serial ports how can ı make
@craigthepony62599 ай бұрын
how? I literally just get a syntax error
@Avirup1719 ай бұрын
Can you please paste the error once?
@omarcruz632611 ай бұрын
hello Avirup. Great video !!! Unfortunately, I copy/pasted your code, the only thing that I changed was the connection string and even like that it didn"t work :( The error message says: 34 "asyncio.run() cannot be called from a running event loop") Any idea ?
@Avirup17111 ай бұрын
What issues are you facing? If possible let’s connect over a quick discovery call at Topmate. You can book a slot for free and I can help you out over the call. topmate.io/avirup171
@Avirup17111 ай бұрын
HI. I just tested my code again. It seems fine. You can also reach out to me directly on my email [email protected] and I should be able to guide you. Thanks.
@arifagustyawan145611 ай бұрын
Hello SIr. I have watched your video. I have a problem related to python serial and barcode scanner. I have a USB Barcode Scanner and plug into my Ubuntu PC. The Scanner is work propperly, since when I used it, it will output the reuslt of barcode on every cursor i put (such as terminal, vscode, etc.) but the `received_string` variable is always empty. The script is not give any error. Do you have any idea? ``` import serial import time SerialObj = serial.Serial("/dev/ttyS0", 9600) time.sleep(3) SerialObj.timeout(3) print("Starting") while True: received_string = SerialObj.readline() print("Received: ", received_string) SerialObj.close() ``` I want to retrieve the data using Serial with the code, so the variable `received_string` will be assign with the value of the scanner data, but I always get `Received: b''`.
@agnichatian Жыл бұрын
is the call ser.readline() a blocking call ? if so then how to do it without blocking the rest of the application ?
@Avirup17111 ай бұрын
Its a blocking call. One approach simply is to check if something is available in the serial first and then read it. Use an if statement to check ----- if (Serial.available() > 0) then continue to read else continue with other parts.
@sajadmohammadi3155 Жыл бұрын
Hello, I want to set the parameters of a variable frequency drive using a node through RS485 serial communication. In this project, I need to use the hexadecimal codes of an industrial drive and control the drive using the hexadecimal codes. Can you help me with this project with node-red-node-serialport?
@Avirup17111 ай бұрын
Hi. I can look into it. Please block a time for me at topmate.io/avirup171
@Dasol0135 Жыл бұрын
I like where you are going with this, could you turn your explanations into a project that we could follow along ie. a bmp280 sensor connected to a pi pico plugged into a pc, reading the data into file, then shipping the data to the cloud etc....
@Avirup171 Жыл бұрын
Yes, that’s in the pipeline for sure. Will do it. Thanks for the recommendation
@gustavolimay Жыл бұрын
Superb! Thanks man!
@exclusiveforcroma8126 Жыл бұрын
Clearly understood... thankyou
@exclusiveforcroma8126 Жыл бұрын
theri level ... .Easy but superbly explained .
@exclusiveforcroma8126 Жыл бұрын
Thanks Bro.... this much clearly no one told me.... superbly understood
@edinetgrunhed6000 Жыл бұрын
simple but concise!! thank u sir
@hellobro1461 Жыл бұрын
🛑🛑🛑🛑🛑🛑🛑🛑How to query USB port using python
@Avirup171 Жыл бұрын
Can you please help me out with the details?
@priyangshusarkar6325 Жыл бұрын
👍✨
@TECHCODETWINS Жыл бұрын
Hello sir, i have seen so much videos on youtube and didn't find any useful video except this. i am stuck at a line and the line is SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5) how to solve this problem i have tried everything but didn't get solution please help me
@Avirup171 Жыл бұрын
Is the same com port being used by any other application?
@aasifajawsi1928 Жыл бұрын
@@Avirup171 I have also same problem. I used COM3 port in arduino IDE only. What can I do to overcome this problem sir?
@Avirup171 Жыл бұрын
Hi. Ideally if the same port is accessed by another application, this problem happens. Since you are facing this issue, it will be gereat if we can get on a call to resolve this issue. Feel free to block my callender for a free quick chat. topmate.io/avirup171
@raniakhaled5523 Жыл бұрын
can do communiction between arduino and python wireless communicathion ?
@Avirup171 Жыл бұрын
Yes it will work
@sumitmishra3037 Жыл бұрын
best explainaition regarding this project
@Avirup171 Жыл бұрын
Thanks a lot Sumit.
@avijitdas114 Жыл бұрын
Very informative. Keep it up!
@Avirup171 Жыл бұрын
Thank you Avijit Da.
@mayureedas8087 Жыл бұрын
Thanks for giving such amazing information ❤
@Avirup171 Жыл бұрын
Thanks a lot Mayuree.
@prakashgandhi93 Жыл бұрын
can i know about the full working of the project
@12345charliebrown Жыл бұрын
Good morning sirs
@anandkumarrohal5761 Жыл бұрын
Keep going
@Avirup171 Жыл бұрын
Thanks a lot.
@kolboy20282 жыл бұрын
Docker plz!
@Avirup1712 жыл бұрын
Sure. Next year will create a series on the same. Docker, Python and IoT. Thanks for the feedback.
@merazgaammar31342 жыл бұрын
how tosend data from lora node (heltec lora esp32 v2) to gateway (heltec wireless bridge wifi/ble --lora model htit-tb)
@Avirup1712 жыл бұрын
I've not specifically used this module, but if gateways support message sending from its config portal, it can allow. However, LoRa gateway is essentially using the same chipset. So you should be in a position to program it explicitely at FW level to do it. I will have a look at the module you mentioned and get back too.
@TheSumitBanik2 жыл бұрын
Beautifully explained 👌 Expecting a FastAPI based video soon.
@Avirup1712 жыл бұрын
Thanks a lot. Will definitely look into it.
@rainejianoran9082 жыл бұрын
hello sir thank you for this video. but i have questions. where can i find you? thank you
@Avirup1712 жыл бұрын
You can reach out to me in LinkedIn “avirup171”
@devilshome99872 жыл бұрын
what if the address of two LoRa nodes is same , will they communicate of not with each other ?
@doozybrat2 жыл бұрын
Nice!
@Avirup1712 жыл бұрын
Thanks mate!
@manix71723 жыл бұрын
"Khujei pacchina maltake" "Ah khujei pacchina sundor jinis take"
@Avirup1713 жыл бұрын
Ha ha ...... I get that 😅😅😅
@hariadhikari66513 жыл бұрын
Beautiful piece of work,the background score is well synchronized with the video
@Avirup1713 жыл бұрын
Thanks a lot sir.
@manojsundaray38373 жыл бұрын
Jai Jawan Jai kisan Jai vigyan Mera Desh Bharat Mahaan I'm pure Indian Fan
@souviksarkar80503 жыл бұрын
Bro missed it again but probably you will drag me through for the next ride 😂
@Avirup1713 жыл бұрын
Bro next time for sure you should attend it. And lets go riding on weekends.