Search found 494 matches

by mcauser
Thu May 27, 2021 11:55 pm
Forum: Drivers for External Components
Topic: 74HC595 shift registers
Replies: 4
Views: 644

74HC595 shift registers

Made a little MicroPython driver for 74HC595 shift registers, both SPI + bit bang.
More examples coming soon.
https://github.com/mcauser/micropython-74hc595
by mcauser
Thu Apr 29, 2021 11:10 am
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 11
Replies: 2
Views: 2774

Re: MicroPython Newsletter Issue 11

Congratulations Damien and Happy Birthday MicroPython!
by mcauser
Thu Mar 25, 2021 10:25 pm
Forum: ESP32 boards
Topic: ESP-32 WROOM discrepancy in quickref page
Replies: 6
Views: 853

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

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

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

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

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

[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: 7
Views: 2114

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...