Search found 24 matches

by fizban
Mon Apr 17, 2017 8:01 am
Forum: micro:bit boards
Topic: SPI version of the SSD1306 OLED library
Replies: 2
Views: 3200

Re: SPI version of the SSD1306 OLED library

I have seen several driver versions. Most of them use a Framebuffer, which is not supported by the micro:bit; others does not support text and all of them are too big and too memory consuming for the micro:bit standards. My version is specifically aimed at the microbit, and tries to have a small foo...
by fizban
Sat Apr 15, 2017 9:44 pm
Forum: micro:bit boards
Topic: SPI version of the SSD1306 OLED library
Replies: 2
Views: 3200

SPI version of the SSD1306 OLED library

I ported my library for the I2C version of the SSD1306 to the SPI version of the OLED display . The SPI version is much faster and the code is more compact. This means that most of the functions fit in one library and we can also use the full resolution of the display (128x64). As an example, I have...
by fizban
Thu Apr 13, 2017 9:35 pm
Forum: micro:bit boards
Topic: rtttl tunes to microbit converter
Replies: 2
Views: 1914

Re: rtttl tunes to microbit converter

I actually took a look at your project. Nicely done, by the way. But I wanted some kind of GUI and Excel was just a quick way of getting this functionality done. It serves my purpose and, if it is useful to others, there it is for anyone to use it.
by fizban
Thu Apr 13, 2017 12:44 pm
Forum: micro:bit boards
Topic: rtttl tunes to microbit converter
Replies: 2
Views: 1914

rtttl tunes to microbit converter

There are lots of options to play rtttl tunes (aka nokia ring tones) on Arduinos and directly in micropython parsing it directly, but the micro:bit has its own format for playing tunes and parsing an rtttl string does not seem efficient. Besides, the play function in micropython allows for asynchron...
by fizban
Sun Apr 02, 2017 8:53 pm
Forum: micro:bit boards
Topic: 'Best' way to program MicroPython on the micro:bit
Replies: 12
Views: 5502

Re: 'Best' way to program MicroPython on the micro:bit

I also wonder the same thing, since the official documentation contains features of the upcoming release (e,g, the set mode function or the I2C init parameters), but it seems that there has not been an official release since then and the new release contains important changes that require extensive ...
by fizban
Sun Apr 02, 2017 6:37 pm
Forum: micro:bit boards
Topic: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries
Replies: 12
Views: 7131

Re: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries

I believe the micro:bit digital pins expects 3.3V for a logic 1. I do not think you will damage the micro:bit with a 5V logic in the short term, but it might be causing undesirable results. If we assume there is an internal pull down of 12K, maybe you can try putting a resistor between 5K and 12K be...
by fizban
Sun Apr 02, 2017 5:28 pm
Forum: micro:bit boards
Topic: 'Best' way to program MicroPython on the micro:bit
Replies: 12
Views: 5502

Re: 'Best' way to program MicroPython on the micro:bit

I believe pin mode setting will come in the next release, which I have the feeling will not be too far, but we still have to wait until it is ready... As with other open source projects, it will be ready when it is ready. As per building the hex, you can just hit Flash with an empty file and the mic...
by fizban
Sun Apr 02, 2017 4:36 pm
Forum: micro:bit boards
Topic: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries
Replies: 12
Views: 7131

Re: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries

Interesting. Are you connecting the echo pin directly to the microbit or with a divider? I wonder if an echo pulse of 5V might be causing problems in the sampling...
by fizban
Sat Apr 01, 2017 10:27 pm
Forum: micro:bit boards
Topic: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries
Replies: 12
Views: 7131

Re: Ultrasonic (US-100/HC-SR04) and sound sensor (KY038) libraries

Thanks for testing. I just uploaded the version with mm. Apparently, I still had it on my computer and had not uploaded it. Good to know that my library is more accurate than the pxt one, since until now the pxt option was the recommended option for using this sensor. The US-100, the one I have, iis...
by fizban
Tue Mar 28, 2017 8:13 am
Forum: micro:bit boards
Topic: My newbit board
Replies: 7
Views: 3937

Re: My newbit board

Interesting. I see the micropython.cn community is comercializing it already for 100 Yuans in taobao, which might be around 13,5 euro...