Search found 344 matches

by loboris
Wed Jan 30, 2019 8:41 am
Forum: General Discussion and Questions
Topic: Help writing SPI library (FT813 lcd driver)
Replies: 9
Views: 7447

Re: Help writing SPI library (FT813 lcd driver)

@vitormhenrique

You can check this EVE library used on my ESP32 MicroPython port, It is fully working and it should be no problem to convert it for PyBoard (change the low level SPI functions).
The MicroPython module is here.
by loboris
Sat Jan 26, 2019 9:01 pm
Forum: Other Boards
Topic: New implementation of MicroPython for K210
Replies: 5
Views: 4486

Re: New implementation of MicroPython for K210

@Roberthh

I've fixed the issues with ampy and rshell.
ampy works fine, directory listing with rshell is little slow. other things works, I'll check it more before committing the changes...

BTW, this Forum could be a better place to discuss issues related to this MicroPython port.
by loboris
Fri Jan 25, 2019 11:11 pm
Forum: Other Boards
Topic: New implementation of MicroPython for K210
Replies: 5
Views: 4486

Re: New implementation of MicroPython for K210

I noticed that you used a quite old version of pye ... Thanks for reminding me, I'll certainly update the pye module. As you said, still a lot of work to do. It took some time to familiarize myself with K210 hardware and software (plus the freertos-sdk required quite a few changes to make it work p...
by loboris
Fri Jan 25, 2019 12:03 pm
Forum: Other Boards
Topic: New implementation of MicroPython for K210
Replies: 5
Views: 4486

New implementation of MicroPython for K210

New implementation of MicroPython for Kendrite K210 (MaixPy) based on FreeRTOS is now available.

For more information see the announcement on my Forum.
by loboris
Tue Jan 22, 2019 8:59 pm
Forum: General Discussion and Questions
Topic: Charging 3,7v LiPo battery
Replies: 6
Views: 4144

Re: Charging 3,7v LiPo battery

The LiPo charger charging current only indicates the maximum current it can provide. So, you can safely charge 500 mAh battery with the 5A LiPo charger or charge 6000 mAh battery with 500 mA charger. The charger circuitry and the battery chemistry will take care to charge the battery at the right ra...
by loboris
Sun Jan 20, 2019 10:40 am
Forum: ESP32 boards
Topic: estimating battery life
Replies: 2
Views: 2830

Re: estimating battery life

You can easily test the battery life experimentally. As the power consumption during deep sleep is minimal, just use the minimal sleep time (for example 10-100 ms) and see how long your system runs on battery. Multiply the measured battery life time with sleep time/run time ratio. The actual battery...
by loboris
Sat Jan 12, 2019 8:15 am
Forum: ESP32 boards
Topic: How to use SIM800l connect internet with network.socket?Thanks
Replies: 3
Views: 4469

Re: How to use SIM800l connect internet with network.socket?Thanks

There is a gsm module in my MicroPython port which makes it possible to use any network related function with GSM the same way as with WiFi.
by loboris
Wed Jan 02, 2019 8:56 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 4076

Re: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

Your main() never exits, it has an infinite while loop in it (two of them!).

BTW, when posting a code, put it in the code block!
by loboris
Sat Dec 29, 2018 9:30 am
Forum: Hardware Projects
Topic: NeoPixel using microPython
Replies: 4
Views: 4594

Re: NeoPixel using microPython

You put the development board on the breadboard, then solder the wires to it! :?
by loboris
Sun Dec 23, 2018 7:34 pm
Forum: General Discussion and Questions
Topic: Can i store arbitrary data in RTC_DATA_ATTR for ESP32
Replies: 3
Views: 3805

Re: Can i store arbitrary data in RTC_DATA_ATTR for ESP32

This is supported in my Micropython port. Up to 64 32-bit integers can be saved in RTC memory. One string of up to 2048 characters can be saved in RTC memory. The string can be, for example, json string containing the parameters which has to be restored after deep sleep wake-up. Integers and string ...