Search found 283 matches

by mcauser
Sat May 12, 2018 11:31 pm
Forum: ESP8266 boards
Topic: Beacon frame timestamp alt to ntp
Replies: 6
Views: 239

Re: Beacon frame timestamp alt to ntp

Being able to fetch the datetime on battery operated nodes that spend most of their time asleep, without requiring a network connection, would be nice to have. If the node forwards sensor data in real-time over RF, it doesn’t need to send a timestamp with the data. The recipient, which would have a ...
by mcauser
Sat May 12, 2018 6:33 am
Forum: General Discussion and Questions
Topic: Get Pins from SPI
Replies: 1
Views: 76

Get Pins from SPI

Is it possible to get a Pin object from an SPI object? >>> from machine import Pin, SPI >>> spi = SPI(2) >>> spi.init(baudrate=6000000, polarity=0, phase=0) >>> print(spi) SPI(2, baudrate=5250000, polarity=0, phase=0, bits=8) I know the MISO pin on my board is B14. Instead of typing this... >>> miso...
by mcauser
Sat May 12, 2018 2:08 am
Forum: ESP8266 boards
Topic: Beacon frame timestamp alt to ntp
Replies: 6
Views: 239

Re: Beacon frame timestamp alt to ntp

Looks like you can get the date/time from FM radio stations that emit RDS packets, eg. with a RDA5807M radio.
https://hackaday.io/project/9009-arduino-radio-with-rds
I have basic RDA5807M + TEA5767 micropython drivers. I'll see if I can add RDS support!
by mcauser
Tue May 01, 2018 11:06 am
Forum: Drivers for External Components
Topic: TinyRTC I2C Module DS1307 + AT24C32N
Replies: 5
Views: 199

Re: TinyRTC I2C Module DS1307 + AT24C32N

Does the loboris port support readfrom_mem() with addrsize=16?
by mcauser
Thu Apr 12, 2018 9:12 am
Forum: Drivers for External Components
Topic: Anyone working on a MAX7219 8x8 LED matrix display library?
Replies: 25
Views: 5411

Re: Anyone working on a MAX7219 8x8 LED matrix display library?

I’ll flash the latest version of micropython to my Wemos D1 mini and see if I can replicate the issue.
by mcauser
Wed Apr 11, 2018 9:22 pm
Forum: Drivers for External Components
Topic: Anyone working on a MAX7219 8x8 LED matrix display library?
Replies: 25
Views: 5411

Re: Anyone working on a MAX7219 8x8 LED matrix display library?

Hi Rob,

Try replacing:
d.text=("7219",0,0,1)
With:
d.text("7219",0,0,1)
by mcauser
Wed Mar 28, 2018 12:26 pm
Forum: Drivers for External Components
Topic: TTP223 1-key capacitive touch module
Replies: 1
Views: 100

TTP223 1-key capacitive touch module

I was going to write a driver for the $0.20c little red TTP223 touch module, but it's pretty much just a drop in replacement for a push button. No driver needed. So I put together some examples: https://github.com/mcauser/micropython-ttp223 There is a little red LED under the touch pad that lights u...
by mcauser
Wed Mar 28, 2018 12:22 pm
Forum: Drivers for External Components
Topic: TinyRTC I2C Module DS1307 + AT24C32N
Replies: 5
Views: 199

TinyRTC I2C Module DS1307 + AT24C32N

I created a driver for the TinyRTC I2C module. Features a DS1307 RTC IC + AT24C32N 32K EEPROM and headers for optional DS18B20. https://github.com/mcauser/micropython-tinyrtc-i2c It was only after I finished that I realised my STM32F407VET6 Mini actually has built-in hardware RTC and all I needed to...
by mcauser
Fri Mar 23, 2018 9:51 pm
Forum: Drivers for External Components
Topic: TM1638 - 8x 7-segment LED modules with 8x buttons
Replies: 7
Views: 310

Re: TM1638 - 8x 7-segment LED modules with 8x buttons

Have a look at my tm1640 driver: https://github.com/mcauser/micropython-tm1640 It’s geared towards 8x8 led matrices as that’s the only device I have using that chip. You could use it to run 7segments. Each row in the matrix translates to a single digit 7segment module. Maybe add some convenience met...
by mcauser
Tue Mar 20, 2018 1:47 am
Forum: Drivers for External Components
Topic: MPR121 capacitive touch keypads and breakout boards
Replies: 0
Views: 74

MPR121 capacitive touch keypads and breakout boards

I created a driver for MPR121 capacitive touch keypads and breakout boards.
https://github.com/mcauser/micropython-mpr121

Image

The vias on pads 0, 4 and 8 are not right aligned like the rest. Cannot be unseen.