Search found 1388 matches
- Mon Sep 12, 2016 4:24 pm
- Forum: Other Boards
- Topic: Suggestions please: ESP8266 "Base"-Board with pyboard Footprint
- Replies: 29
- Views: 21948
Re: Suggestions please: ESP8266 "Base"-Board with pyboard Footprint
So I tried to make a quick and dirty mockup of such a PCB in Fritzing (http://fritzing.org). The first problem I had is that the WROOM-02 board is too wide to fit between pyboard's pins. So I used an ESP-12 module instead, which has the same pins, but is much smaller. It looks something like this: p...
- Mon Sep 12, 2016 11:45 am
- Forum: MicroPython pyboard
- Topic: Ideas for next evolution of pyboard
- Replies: 75
- Views: 72122
Re: Ideas for next evolution of pyboard
I am not capable of designing board layouts, maybe someone is keen on providing (and open-source) board designs for a ESP-WROOM-02 based board with a full or half pyboard foorprint? I can help you with that, perhaps you could start a separate thread where we could discuss how exactly such a board w...
- Mon Sep 12, 2016 9:39 am
- Forum: Development of MicroPython
- Topic: UNIX-port and GPIO's?
- Replies: 5
- Views: 5207
Re: UNIX-port and GPIO's?
I think that in the true UNIX fashion, all those pins are exposed as files in the /dev subsystem, so you should be able to control them using regular file operations. Then again, not sure if this is the most efficient way of doing it.
- Sun Sep 11, 2016 7:52 pm
- Forum: ESP8266 boards
- Topic: Force socket closure?
- Replies: 2
- Views: 2791
Re: Force socket closure?
I'm not sure if it helps, but you can set a timeout on the socket itself.
- Sat Sep 10, 2016 4:52 pm
- Forum: Hardware Projects
- Topic: Ideas for the project
- Replies: 15
- Views: 18770
Re: Ideas for the project
That's what you get for using naked excepts. Your code is throwing an exception, and you can't even see it. If you correct this, such that only the i2c operation is in try-except, and you only catch the OSError exception, you will see the problem.
- Sat Sep 10, 2016 2:04 am
- Forum: micro:bit boards
- Topic: import neopixel - less of em work now.
- Replies: 2
- Views: 4144
Re: import neopixel - less of em work now.
Really hard to say anything without seeing the code.
However, did you know that the micro:bit has a library for neopixels built-in?
However, did you know that the micro:bit has a library for neopixels built-in?
- Fri Sep 09, 2016 7:43 pm
- Forum: ESP8266 boards
- Topic: Accessing SD cards
- Replies: 21
- Views: 17945
Re: Accessing SD cards
As far as I know that's the plan eventually, but some considerable cleanup of the related code needs to happen first, see https://github.com/micropython/micropython/pull/2140 for some discussion.
- Fri Sep 09, 2016 3:12 pm
- Forum: Development of MicroPython
- Topic: "Hacking MicroPython" article
- Replies: 5
- Views: 7442
Re: "Hacking MicroPython" article
I have started a dev manual on readthedocs some time ago, but no time to actually write there much. I guess I will try to write it in small fragments.
- Fri Sep 09, 2016 3:11 pm
- Forum: ESP8266 boards
- Topic: Accessing SD cards
- Replies: 21
- Views: 17945
Re: Accessing SD cards
Yes, it's no longer necessary to edit your _boot.py, you as you can now unmount the filesystem.
- Fri Sep 09, 2016 1:43 pm
- Forum: Drivers for External Components
- Topic: SHARP GP2Y0E03 Distance Sensor
- Replies: 0
- Views: 2975
SHARP GP2Y0E03 Distance Sensor
A quick-and-dirty dirty driver for the SHARP GP2Y0E03 I²C distance sensor. Code at https://bitbucket.org/thesheep/micropython-gp2y0e03/src
Example usage:
Example usage:
Code: Select all
from machine import I2C, Pin
i2c = I2C(Pin(5), Pin(4), freq=100000)
import gp2y0e03
s = gp2y0e03.GP2Y0E03(i2c)
s.read()