Search found 7 matches

by sjp770
Thu Nov 16, 2017 11:57 pm
Forum: ESP32 boards
Topic: SPI SSD1306
Replies: 13
Views: 11092

SPI SSD1306

So it looks like Hardware SPI is working in the latest release, but I am having trouble getting the ssd1306 driver to work: I'm following this guide: https://learn.adafruit.com/micropython-hardware-ssd1306-oled-display/micropython But it may be out of date by now? If i use ampy to put the ssd1306.py...
by sjp770
Mon Sep 04, 2017 3:51 am
Forum: ESP32 boards
Topic: SPI MAX31855 - Anyone got it working?
Replies: 7
Views: 10933

Re: SPI MAX31855 - Anyone got it working?

Ok, i'll keep looking and post back if i ever get it working. Thanks
by sjp770
Fri Sep 01, 2017 12:30 am
Forum: ESP32 boards
Topic: SPI MAX31855 - Anyone got it working?
Replies: 7
Views: 10933

Re: SPI MAX31855 - Anyone got it working?

Ok, using that library I have to edit the max31855.py file to handle Pin control from cs.low() and cs.high() to cs.value(0) and cs.value(1), then it runs fine but still returns 0.0. I'm now trying it on a Wemos Lolin32 1.0.0 board which is labelled much better. DO from the MAX31855 is connected to p...
by sjp770
Thu Aug 31, 2017 7:20 am
Forum: ESP32 boards
Topic: SPI MAX31855 - Anyone got it working?
Replies: 7
Views: 10933

Re: SPI MAX31855 - Any got it working?

https://www.adafruit.com/product/269 - 5v compatible

This is the one im using, but that highlights why the cheaper ones I have on the way had less components probably only support 3.3v.

Thanks for the heads up.
by sjp770
Thu Aug 31, 2017 3:09 am
Forum: Drivers for External Components
Topic: Stepper motor module
Replies: 7
Views: 20874

Re: Stepper motor module

My driver is a more common Polou A4988, (https://www.pololu.com/product/1182) Any idea if it would work with this or if there is a way to control it yet?
by sjp770
Thu Aug 31, 2017 2:04 am
Forum: ESP32 boards
Topic: SPI MAX31855 - Anyone got it working?
Replies: 7
Views: 10933

SPI MAX31855 - Anyone got it working?

Ive been trying to get this working, let me know if there are any major issues: import machine spi = machine.SPI(2, baudrate=5000000, polarity=0, phase=0) cs = machine.Pin(5, machine.Pin.OUT) cs.value(0) data = spi.read(4) print(data) def temp_c(data): temp = data[0] << 8 | data[1] if temp & 0x0001:...
by sjp770
Fri Aug 25, 2017 1:42 pm
Forum: Drivers for External Components
Topic: Stepper motor module
Replies: 7
Views: 20874

Re: Stepper motor module

Looks good, is there doco on how to use it? I'm still new to micropython.