Search found 492 matches

by mcauser
Thu Mar 25, 2021 10:25 pm
Forum: ESP32 boards
Topic: ESP-32 WROOM discrepancy in quickref page
Replies: 6
Views: 446

Re: ESP-32 WROOM discrepancy in quickref page

Should that https://github.com/micropython/micropython-esp32 repo be marked as archived to avoid confusion, now that it has been merged into mainline?
by mcauser
Sun Feb 28, 2021 11:10 pm
Forum: Drivers for External Components
Topic: Drivers for EEPROM, FRAM and Flash chips
Replies: 12
Views: 3456

Re: Drivers for EEPROM, FRAM and Flash chips

writevto() was recently added for writing a tuple/list of buffers. Same can be achieved by combining the bufs and calling write() once, or calling write() multiple times within a start() - stop(). # new way self._i2c.writevto(self._i2c_addr, (self._addrbuf, buf[start: start + npage])) # old way, com...
by mcauser
Thu Jan 07, 2021 5:11 am
Forum: Drivers for External Components
Topic: TCRT5000-driver
Replies: 3
Views: 578

Re: TCRT5000-driver

If you are using one of these modules, it has the resistors on board.
The A0 and D0 are analog and digital outputs. You can use one or the other, depending on your needs.
The blue potentiometer is for tweaking the D0 sensitivity - where on the analog scale it triggers.
by mcauser
Thu Jan 07, 2021 4:45 am
Forum: General Discussion and Questions
Topic: ESP8266 4x7 segment display
Replies: 3
Views: 369

Re: ESP8266 4x7 segment display

The TM1637 driver is just for common anode displays. MAX7219 can be used to drive both common cathode (normal) and common anode (reverse). Here's how you can wire it in either direction . If you just want more IOs, have a look into using an IO expander: MCP23008, MCP23017, PCF8574, PCF8575 Other LED...
by mcauser
Fri Dec 11, 2020 9:14 pm
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 75
Views: 21856

Re: WeAct STM32F411CEU6 black pill

You can switch off USB mass storage in boot.py See: http://docs.micropython.org/en/latest/pyboard/tutorial/usb_mouse.html I think littlefs also doesn’t work with USB mass storage, only fat, so you could try reformatting it. Anyone else able to confirm this? ESP ports don’t have USB mass storage supp...
by mcauser
Sat Dec 05, 2020 10:17 am
Forum: Other Boards
Topic: [nRF52] I2C reconstruct issues
Replies: 3
Views: 404

[nRF52] I2C reconstruct issues

Found two few issues with HW I2C on the nRF52832. 1) Constructing a new I2C instance does not deinit the previous peripheral. 2) A soft reboot does not deinit the previous HW I2C. Running latest MicroPython on the Ebyte E73-TBB dev board (E73-2G4M04S1B module) MicroPython v1.13-221-gc8b055717 on 202...
by mcauser
Sat Dec 05, 2020 6:53 am
Forum: Other Boards
Topic: Simple cheap small board: NRF52 ?
Replies: 4
Views: 1474

Re: Simple cheap small board: NRF52 ?

EByte E73-TBB https://i.imgur.com/C4jyvFJ.jpeg Was pretty easy to flash MicroPython to it! EByte E73-TBB: https://www.aliexpress.com/item/4000516424563.html J-Link clone: https://www.aliexpress.com/item/4001335080402.html Install command line tools (on macOS): https://github.com/ARMmbed/homebrew-fo...
by mcauser
Wed Nov 18, 2020 3:29 am
Forum: Other Boards
Topic: [STM32F407VGT6] Board HELP!
Replies: 11
Views: 2969

Re: [STM32F407VGT6] Board HELP!

@wasp09 the board shown in that link above is a "DevEBox" from "MCUDev" in China. They normally sell them on mcudev.taobao.com, however some other shops on AliExpress are reselling them. If you look close in the top right corner on the back of the board, it says "mcudev.taobao.com". The same devs th...
by mcauser
Thu Nov 12, 2020 5:09 am
Forum: ESP32 boards
Topic: Four MCP23017 (I2C GPIO Expander) on one ESP32
Replies: 5
Views: 975

Re: Four MCP23017 (I2C GPIO Expander) on one ESP32

Roberthh is spot on. That's a lot of IOs! What are you building? You can only have 8x MCP23017 chips on the same I2C bus, unless you use something like the TCA9548A, which give you another 7x I2C busses - well, more like channels on the bus. https://github.com/mcauser/micropython-tca9548a 8x I2C bus...