Search found 317 matches

by loboris
Fri Nov 02, 2018 8:01 pm
Forum: ESP32 boards
Topic: Help with m5stack project (willing to pay)
Replies: 4
Views: 699

Re: Help with m5stack project (willing to pay)

A quick fix for the issue: The problem was with the implementation of random32(void) in components/micropython/lib/trezor-crypto/rand.c . Change the definition to: #include "esp_system.h" uint32_t random32(void) { return esp_random(); } Your main example now works: MicroPython ESP32_LoBo_v3.2.24 - 2...
by loboris
Fri Nov 02, 2018 9:00 am
Forum: ESP32 boards
Topic: Help with m5stack project (willing to pay)
Replies: 4
Views: 699

Re: Help with m5stack project (willing to pay)

I've cloned the repository, but could not build.
Some errors were reported - conflicting names in esp-idf mbedtls component and trezor-crypto library.
I'll try again next week.

Have you done something special to compile it?
by loboris
Mon Oct 22, 2018 10:42 pm
Forum: Other Boards
Topic: [ESP32] New dev board
Replies: 48
Views: 4160

Re: [ESP32] New dev board

@seonr I have used HT7833 LDO which has quiescent current of only 4 uA. ESP32 in deepsleep mode draws ~5 uA, I was able to get total 15-20 uA in deepsleep on custom board with MicroPython. Typical active current is 40-60 mA with WiFi not activated, depending on CPU speed and activity. Be shure to ha...
by loboris
Mon Oct 22, 2018 6:53 am
Forum: General Discussion and Questions
Topic: smallest, basic devices
Replies: 10
Views: 1079

Re: smallest, basic devices

You can use ESP32-PICO-D4 packaged on a small 13x19mm module as a general purpose microcontroller running MicroPython. WiFi and BT are not enabled until you enable them explicitly and you can even fully disable WiFi/BT at build time. There is also a TinyPICO MicroPython board project using ESP32-PIC...
by loboris
Sun Oct 21, 2018 8:06 am
Forum: ESP32 boards
Topic: Is _thread supported on ESP32 with SPIRam?
Replies: 8
Views: 977

Re: Is _thread supported on ESP32 with SPIRam?

External RAM cannot be used as task stack memory ( puxStackBuffer & pxTaskBuffer ) unless SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY esp-idf option is enabled (which should not be enabled for MicroPython). Because some bits of the ESP32 code environment cannot be recompiled with the cache workaround, norma...
by loboris
Fri Oct 19, 2018 10:49 pm
Forum: ESP32 boards
Topic: optimize LoBo TFT access...
Replies: 4
Views: 461

Re: optimize LoBo TFT access...

Lobo if I used the above work around that I mentioned would this use DMA to transfer the bytearray?? tft.tft_writecmddata() does not use DMA for transfer. But it uses a very efficient routine, writing directly to SPI hardware and the transfer speed is practically the same as with DMA. In case the b...
by loboris
Fri Oct 19, 2018 9:38 pm
Forum: ESP32 boards
Topic: optimize LoBo TFT access...
Replies: 4
Views: 461

Re: optimize LoBo TFT access...

OutoftheBOTS_ wrote:
Fri Oct 19, 2018 8:19 pm
I did put in a feature request to Lobo to add that I can write a buffer from RAM to the screen window but as far as I am aware this hasn't been implemented.
I didn't forget about it, it is in my work queue (which. I'm afraid, is not of a FIFO type).
by loboris
Fri Oct 19, 2018 6:47 pm
Forum: General Discussion and Questions
Topic: resuse pin ?!?
Replies: 2
Views: 292

Re: resuse pin ?!?

You can create ony one ADC instance on any pin. If you don't need it anymore, free it with adc.deinit(), than you can use the same pin again (for adc or any other purpose).
Read the ADC Wiki for more details.
by loboris
Fri Oct 19, 2018 6:38 pm
Forum: Other Boards
Topic: persistent memory?!?
Replies: 6
Views: 619

Re: persistent memory?!?

RTC memory seems not to work on Odroid Go with ESP32 LoBo v3.2.24 Values set with rtc.write_string() are deleted after soft reset. Does the Odroid Go has NVRAM? It has 4MB PSRAM... Is it battery buffered RAM ? Any how to read/write it from micropython? RTC memory is preserved only after deepsleep r...
by loboris
Fri Oct 12, 2018 6:57 pm
Forum: Drivers for External Components
Topic: Driver for LCDs using Hitachi HD44780U controller
Replies: 4
Views: 828

Re: Driver for LCDs using Hitachi HD44780U controller

This forum has a Search button, why not use it to search for "HD44780" ?