Search found 16 matches

by sim222
Thu Jun 17, 2021 11:31 pm
Forum: General Discussion and Questions
Topic: Can I use a USB mass storage?
Replies: 7
Views: 327

Re: Can I use a USB mass storage?

davef wrote:
Thu Jun 17, 2021 10:55 pm
Check out the Teensy port.
Thanks for your reply..
When I visit the site, I think the boards don't seem to support Micropython.
I am looking for the board to support Micropython.
Anyway thanks~
by sim222
Thu Jun 17, 2021 10:43 pm
Forum: General Discussion and Questions
Topic: Can I use a USB mass storage?
Replies: 7
Views: 327

Can I use a USB mass storage?

Hi guys, I am trying to develop a data logger using 3 UARTs and want to use a USB mass storage instead of a default microSD card. I think micropython should have the host function for it. However, I can't find a suitable library or class for it. Is there any way to use it? Thanks for your help in ad...
by sim222
Tue May 18, 2021 5:55 am
Forum: MicroPython pyboard
Topic: Lack of stm32f405 chipset.
Replies: 1
Views: 878

Lack of stm32f405 chipset.

Hi guys, I am developing the board using micropython and today I have loaded the default DFU file into the chipset. It means it's time to order the chipset to manufacture. However, I can't find any supplier for it. All stocks are gone now. What should I do? Should I change the chipset having the mic...
by sim222
Tue Mar 23, 2021 11:22 pm
Forum: MicroPython pyboard
Topic: How to set Thonny?
Replies: 1
Views: 413

How to set Thonny?

Got the menu for it. Need to deselect heap option from view menu. -------------------------------------------------------------- Hi guys, Thanks for your reply as always. I have tried to use thonny it's worked well as I thought. However, I can't the output like REPL. Don't understand and know how to...
by sim222
Tue Mar 23, 2021 2:56 am
Forum: Programs, Libraries and Tools
Topic: How to adapt a python library to micropython?
Replies: 11
Views: 4076

Re: How to adapt a python library to micropython?

Hi! I also needed MAX30100 for MicroPython, and this discussion helped a lot to implement a working script to read this sensor. I forked from the repository mentioned in the first post of this discussion, and made all needed changes. Also added a working example. Tested nicely with ESP8266. The cod...
by sim222
Tue Mar 23, 2021 1:50 am
Forum: Programs, Libraries and Tools
Topic: comparing hex code.
Replies: 0
Views: 454

comparing hex code.

Thanks guys, My purpose is to convert the library corded by Python to MicroPython. And found the article about it in this forum. It worked well!! Hi guys, Allway thanks for your valuable comment on this forum!! I am a newbie for this embedded system instead am a hardware guy. Am trying to develop a ...
by sim222
Fri Feb 26, 2021 12:25 am
Forum: MicroPython pyboard
Topic: SD card after ejecting and re-inserting.
Replies: 5
Views: 1827

Re: SD card after ejecting and re-inserting.

.deinit() is affect to ESP32 port, I confuse them, on PyBoard, use sd.power() instead, before eject SD card, uos.umount('/sd') sd.power(0) True then re-insert SD card, sd.power(1) True uos.mount(sd, '/sd') If none SD card inserted, execute sd.power(0) or sd.power(1) will return False. It looks work...
by sim222
Fri Feb 05, 2021 6:27 am
Forum: MicroPython pyboard
Topic: SD card after ejecting and re-inserting.
Replies: 5
Views: 1827

Re: SD card after ejecting and re-inserting.

water wrote:
Thu Jan 28, 2021 2:12 pm
Try sd.deinit() after uos.umount('/sd') or eject SD card, and initialize 'sd' object again after re-insert SD card.
Thanks for your suggestion.
However, I can't find deinit() in my pyb1.1 (fw 1.4)
by sim222
Tue Feb 02, 2021 12:48 am
Forum: General Discussion and Questions
Topic: SD card recognition after reinserting.
Replies: 4
Views: 417

Re: SD card recognition after reinserting.

My understanding is that the SD card should only be removed or inserted when the power is down. It is possible to run an external SD card using the official sdcard.py driver. In this case you can provide your own power control circuit allowing you to power down the external SD card for removal and ...