Search found 26 matches

by doceave
Mon Jun 01, 2020 9:34 pm
Forum: Programs, Libraries and Tools
Topic: Simplest implementation of micropython-mqtt
Replies: 1
Views: 279

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: 246

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: 367

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: 562

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: 562

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...
by doceave
Sat Apr 04, 2020 6:43 pm
Forum: Programs, Libraries and Tools
Topic: Soft UART on specific pins
Replies: 2
Views: 318

Re: Soft UART on specific pins

Got you....

I will move logging to version next in which UART pins will be freed
by doceave
Thu Apr 02, 2020 8:09 pm
Forum: Programs, Libraries and Tools
Topic: Soft UART on specific pins
Replies: 2
Views: 318

Soft UART on specific pins

Hi there all With the help of this forum I have been able to stumble along almost to the completion of a device which will become useful to great many people. Which each iteration the device protoype has become a bit better. Today, however I need to work around a number of problems which will be add...
by doceave
Thu Apr 02, 2020 7:10 pm
Forum: Programs, Libraries and Tools
Topic: uasyncio --- implementation of interrupts
Replies: 7
Views: 935

Re: uasyncio --- implementation of interrupts

Hi there Peter

I am learning... and every time I meet a problem I learn more how epic uasyncio is!

I endeavor to remove the interrupts as you have suggested.

Thanks and keep well
by doceave
Wed Apr 01, 2020 6:32 am
Forum: Programs, Libraries and Tools
Topic: uasyncio --- implementation of interrupts
Replies: 7
Views: 935

uasyncio --- implementation of interrupts

Hi there all I am certain there is a way to solve this problem: > I have a number of hardware interrupts that are served as follows (only one IRQ displayed for example purposes) > When a button press is detected I need the function ACT_Now_R() to run - when it begins running it sets the variable hs_...
by doceave
Sat Mar 28, 2020 4:57 pm
Forum: ESP32 boards
Topic: ESP32 Sleep Modes
Replies: 2
Views: 335

Re: ESP32 Sleep Modes

Thanks tve... Awesome :)