Search found 31 matches

by doceave
Sat Sep 25, 2021 8:38 am
Forum: ESP32 boards
Topic: Problem with LoRa: sx127x.py --- Exception: Invalid version
Replies: 7
Views: 3405

Re: Problem with LoRa: sx127x.py --- Exception: Invalid version

@Marcidy --- just as you said: Walking through each step manually reveals that the code is hanging waiting for end_packet loop to finish... Before I troubleshoot further would you kindly just cast an eye over my schematic in my first post? This is the LoRa module I have used: https://www.lcsc.com/pr...
by doceave
Fri Sep 24, 2021 7:53 am
Forum: ESP32 boards
Topic: Problem with LoRa: sx127x.py --- Exception: Invalid version
Replies: 7
Views: 3405

Re: Problem with LoRa: sx127x.py --- Exception: Invalid version

@Marcidy --- I am learning so much! I will walk through println step by step ad then, if need be, crack an oscilloscope I inherited. Many many thanks.
by doceave
Thu Sep 23, 2021 6:24 pm
Forum: ESP32 boards
Topic: Problem with LoRa: sx127x.py --- Exception: Invalid version
Replies: 7
Views: 3405

Re: Problem with LoRa: sx127x.py --- Exception: Invalid version

Ahhh no... I hope I am one step closer to success... This now executes without any problem (I commented out the entire section about version warning): lora = SX127x(device_spi, pins=device_config, parameters=lora_parameters) However processing hangs following this: payload = "Testing" lora.println(p...
by doceave
Fri Sep 17, 2021 8:27 am
Forum: ESP32 boards
Topic: Problem with LoRa: sx127x.py --- Exception: Invalid version
Replies: 7
Views: 3405

Re: Problem with LoRa: sx127x.py --- Exception: Invalid version

Ahh Marcidy --- you are amazing! Thanks for your care.

I will test this and revert asap :)
by doceave
Wed Sep 15, 2021 6:40 pm
Forum: ESP32 boards
Topic: Problem with LoRa: sx127x.py --- Exception: Invalid version
Replies: 7
Views: 3405

Problem with LoRa: sx127x.py --- Exception: Invalid version

Hi there I have no doubt that someone here can tell me why I cannot initiate communication with my sx1276: My setup: > ESP32-WROVER-B > Micropython: esp32spiram-20210902-v1.17.bin > Module: https://github.com/lemariva/uPyLoRaWAN - config.py has been modified according to my circuit layout - sx1276.p...
by doceave
Mon Jun 01, 2020 9:34 pm
Forum: Programs, Libraries and Tools
Topic: Simplest implementation of micropython-mqtt
Replies: 1
Views: 1440

Simplest implementation of micropython-mqtt

Hi there All (and PeterH) Please assist me with an idiot's guide to implementing MQTT using your uasyncio compatible library:(https://github.com/peterhinch/micropython-mqtt) All I need is an implementation that satisfies the following: > Callable function that publishes a string to a topic > The fun...
by doceave
Sun May 31, 2020 8:40 pm
Forum: Programs, Libraries and Tools
Topic: Send string by using sockets and UDP
Replies: 1
Views: 1667

Send string by using sockets and UDP

Hi there I have an ESP32 that is using almost all available memory --- so much so that I cannot import umqttsimple without memory allocation errors (I do acknowledge that this is likely due to extreme inefficient use of memory by a NOOB).... What I would like: > Help with the implementation of the s...
by doceave
Sat May 23, 2020 6:30 am
Forum: ESP32 boards
Topic: ESP32 WROVER-I --- Uasyncio results in reboot (?PSRAM bug)
Replies: 1
Views: 1587

ESP32 WROVER-I --- Uasyncio results in reboot (?PSRAM bug)

Recently we completed a prototype device which employs an ESP32-WROOM module --- this worked admirably albeit that the device is short on RAM and can thus only buffer +- 500 seconds worth of sensor data with which to make decisions. Five times this number is desirable. The WROVER module with SPI RAM...
by doceave
Sun Apr 05, 2020 11:12 am
Forum: Programs, Libraries and Tools
Topic: uasyncio --- Cleaning up after a task
Replies: 3
Views: 2373

Re: uasyncio --- Cleaning up after a task

I am indeed using the older version of uasyncio
> Upgrade pending

Following numerous reviews of the linked tutorial I now finally get it!
> I now have a main loop which starts tasks, each of which await coros as needed :)

As always... many many thanks for the gentle assistance.
by doceave
Sat Apr 04, 2020 7:06 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio --- Cleaning up after a task
Replies: 3
Views: 2373

uasyncio --- Cleaning up after a task

Hi there everyone It is very likely that owing to my poor implementation of the uasyncio library, on an ESP32 WROOM32, that after a few minutes of running memory intensive tasks, bugs begin revealing themselves. All functions test well initially, but after a while seemingly random error is raised in...