Search found 210 matches

by mcauser
Mon Nov 13, 2017 1:05 am
Forum: Drivers for External Components
Topic: New Library creation
Replies: 2
Views: 108

Re: New Library creation

Also, search on github.com for "MicroPython" or "MicroPython Sensor" to find some examples.
If you share your project on github, we can help you with a code review.
by mcauser
Mon Nov 06, 2017 5:31 am
Forum: Hardware Projects
Topic: Project Help Pool Motor
Replies: 14
Views: 334

Re: Project Help Pool Motor

DS18B20 is not the most accurate sensor, but since you can have multiple of them on the same wire, add a few and average the results.
Calibration: https://edwardmallon.wordpress.com/2016 ... nailed-it/
by mcauser
Thu Nov 02, 2017 10:28 pm
Forum: Other Boards
Topic: Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 52
Views: 8867

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

VET6 MicroPython v1.9.1-29-g1686346-dirty on 2017-06-20; BLACK STM32F407VE with STM32F407VE Type "help()" for more information. >>> import gc >>> gc.collect() >>> gc.mem_free() 102080 >>> ZET6 MicroPython v1.8.7-333-gfb1e7e2-dirty on 2017-02-28; BLACK STM32F407ZE with STM32F407ZE Type "help()" for m...
by mcauser
Mon Oct 23, 2017 2:06 pm
Forum: Other Boards
Topic: Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 52
Views: 8867

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

The W25Q16 2MB SPI flash is connected to the SPI(3) bus on the VET6 and ZET6 boards. This script works, with a few modifications: https://github.com/manitou48/pyboard/blob/master/spiflash.py Replace: cs = pyb.Pin('X5') With either: cs = pyb.Pin('PB0') #VET6 cs = pyb.Pin('PB14') #ZET6 Replace: spi = ...
by mcauser
Mon Oct 23, 2017 2:18 am
Forum: Other Boards
Topic: [STM32F405] Quadcopter Fight Controller
Replies: 1
Views: 112

[STM32F405] Quadcopter Fight Controller

There's a whole bunch of STM32F405 based quadcopter controllers out now. Might be a cheap alternative for portable projects that do not need a lot of IO. Onboard accelerometers and gyros could be useful. https://oscarliang.com/best-flight-controller-quad-hex-copter/ https://www.aliexpress.com/item/S...
by mcauser
Fri Oct 20, 2017 3:18 am
Forum: Drivers for External Components
Topic: Drivers for Waveshare 2.13inch E-Ink display
Replies: 14
Views: 1320

Re: Drivers for Waveshare 2.13inch E-Ink display

My 2.9" Waveshare e-paper module arrived today. I'm a little late to the party. https://www.aliexpress.com/item/2-9inch-e-Paper-Module-296x128-2-9-E-Ink-display-SPI-interface-For-Raspberry-Pi/32811712396.html Looking forward to making it work with my Pyboard + ESPs. I went with the black/white versi...
by mcauser
Thu Oct 19, 2017 4:53 am
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 7
Views: 341

Re: Using the ESP with a Ethernet Port through SPI

1) Yes. Ethernet and Wifi would use separate libraries. 2) Yes. The existing network module is very specific to ESP8266s Wifi firmware. You'll need something separate for Eth. 3) I am not sure about the ENC28J60 but there is a driver for the Wiznet 5x00 ethernet boards. eg. W5100, W5500 See: https:/...
by mcauser
Thu Oct 19, 2017 4:37 am
Forum: Drivers for External Components
Topic: I2C LCD Library... Help!
Replies: 45
Views: 6273

Re: I2C LCD Library... Help!

You only need to upload: * esp8266_i2c_lcd.py * lcd_api.py The file esp8266_i2c_lcd_test.py gives you an example on how to use it. Those black PCF8574 I2C backpacks with blue trimpots are designed to work with all 16x2 displays, as shown in your first image. The ESP8266 version of this library was d...
by mcauser
Thu Oct 19, 2017 4:24 am
Forum: General Discussion and Questions
Topic: Tabs vs Spaces vs Compiled
Replies: 2
Views: 134

Tabs vs Spaces vs Compiled

The pyboard has limited flash storage, when the SD card isn't being used. Taking this average size library as an example: https://raw.githubusercontent.com/adafruit/micropython-adafruit-tsl2561/master/tsl2561.py If I convert tabs to spaces I can store a tiny bit more. Wait... hear me out. Using spac...
by mcauser
Wed Oct 18, 2017 11:20 pm
Forum: ESP8266 boards
Topic: Is this ESP8266 module compatible with MicroPython
Replies: 7
Views: 336

Re: Is this ESP8266 module compatible with MicroPython

The ENOENTs were a bit confusing for me too at first.
It means Error NO ENTry (or Error NO ENTity)

You can safely ignore it, or just create an empty main.py file to make the warning go away.

http://docs.micropython.org/en/latest/e ... ot-process