Search found 14 matches

by bjames28
Sun Oct 10, 2021 2:46 pm
Forum: Programs, Libraries and Tools
Topic: converting lorawan lib to uasyncio version 3
Replies: 5
Views: 2404

Re: converting lorawan lib to uasyncio version 3

Hi Peter, With the help of examples I converted the program, it seems to work, however I am not confident if this part of the code is really doing what is expected to do. So I appreciate your offer, please find below the whole module. I made the relevant changes only between lines 565 and 596, frame...
by bjames28
Wed Sep 29, 2021 9:17 am
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 28
Views: 45779

Re: ESP32-CAM-MB + Development Board CH340G

Hi, You can find the firmware in this repo: https://github.com/lemariva/micropython-camera-driver The project description and more details : https://lemariva.com/blog/2019/09/micropython-how-about-taking-photo-esp32 If you have questions please feel free to ask, I hope I can answer, but better to op...
by bjames28
Tue Sep 28, 2021 8:57 am
Forum: Programs, Libraries and Tools
Topic: converting lorawan lib to uasyncio version 3
Replies: 5
Views: 2404

Re: converting lorawan lib to uasyncio version 3

Hi Peter,

Thanks for the guidance.
I mistakenly stated that the program uses uasyncio V2, it was written with V3
But it uses IRQ_EVENT which is deprecated and ThreadSafeFlag is the new way to go.

Still not really understand how I should modify the relevant few lines of code
by bjames28
Mon Sep 27, 2021 6:48 pm
Forum: Programs, Libraries and Tools
Topic: converting lorawan lib to uasyncio version 3
Replies: 5
Views: 2404

converting lorawan lib to uasyncio version 3

Hi All, uPyLoRaWAN had some issues with IRQ handling, and a fix was proposed with uasync library ver 2. See the discussion and working solution here: https://github.com/lemariva/uPyLoRaWAN/issues/16 As uasync v2 is deprecated I'd like to use the v3, however I have no enough experience with that. Cou...
by bjames28
Sun Sep 26, 2021 12:34 pm
Forum: ESP32 boards
Topic: No REPL on ESP32-S2
Replies: 22
Views: 23262

Re: No REPL on ESP32-S2

Hi,

I am not sure, but your problem seems very similar to what I had (esp32-ca-mb with esp32S2)
Try the solution described below, and give feedback if it works:

viewtopic.php?f=18&t=10151&start=10#p61272
by bjames28
Sun Sep 26, 2021 12:24 pm
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 28
Views: 45779

Re: ESP32-CAM-MB + Development Board CH340G

I had the same issue, but found this solution (which is rather a workaround): Open the Thonny configuration.ini file (Tools -> Open Thonny Data folder) and in [ESP32] section you need to add: dtr = False rts = False Worked for me! The longer story is here: https://github.com/thonny/thonny/issues/1462
by bjames28
Tue Aug 24, 2021 12:49 pm
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99684

Re: ESP32 and LoRa

Did somebody manage to work the downlink communication ?
Sending from end device to gateway/TTN is working well, but not the other direction.

There are others also struggling with this issue, but I could find a working solution.
https://github.com/lemariva/uPyLoRaWAN/issues/16
by bjames28
Fri Feb 19, 2021 3:14 pm
Forum: ESP32 boards
Topic: uploading upy files / firmware without USB
Replies: 4
Views: 2061

Re: uploading upy files / firmware without USB

Hi Robert,

Thanks for the great hint, we will include those pins into the PCB design.
by bjames28
Thu Feb 18, 2021 4:09 pm
Forum: ESP32 boards
Topic: uploading upy files / firmware without USB
Replies: 4
Views: 2061

Re: uploading upy files / firmware without USB

Hi Robert, Thanks for the quick reply. I can't use any ESP32 board with USB bridge just the "pure" ESP32 chip alone. Therefore I thought such https://www.aliexpress.com/item/33028710111.html?spm adapter board (with USB bridge) could be used to flash the all my ESP32 chips initially, and later change...
by bjames28
Thu Feb 18, 2021 1:51 pm
Forum: ESP32 boards
Topic: uploading upy files / firmware without USB
Replies: 4
Views: 2061

uploading upy files / firmware without USB

Hi All,

I'd like to use the ESP32 chip on custom made PCB without USB connection.
What are the possibilities to upload the micropython firmware and eventually later uploading .py files?
JTAG or UART maybe?

Thank you for any guidance in advance