Search found 10 matches

by Architekt
Wed Dec 10, 2014 10:51 am
Forum: Hardware Projects
Topic: Driver for WS2812 RGB LEDs (NeoPixels, ...)
Replies: 30
Views: 104736

Re: Driver for WS2812 RGB LEDs (NeoPixels, ...)

Damien wrote:DMA transfers are now supported by the SPI bus, so you should no longer need to disable interrupts while doing the spi.send call.
Thank's for info. I have updated the driver.
by Architekt
Thu Dec 04, 2014 12:31 pm
Forum: Development of MicroPython
Topic: Ported to esp8266!?
Replies: 29
Views: 28378

Re: Ported to esp8266!?

I think there is no need for reverse engeneering. Schema, datasheet, FW, SDK... everything is available: https://nurdspace.nl/ESP8266

Flashing MicroPython into these modules shouldn't be hard. If anyone already tried it, how-to would be appreciated :-)
by Architekt
Tue Dec 02, 2014 12:35 pm
Forum: General Discussion and Questions
Topic: Implement co-operative schduling
Replies: 5
Views: 5362

Re: Implement co-operative schduling

tarun2121 wrote:When I use generator.next() in micropython It gives error "generator object has no attribute 'next' ".
I used it in Python without any library import it works. what can be the issue and solution?

Code: Select all

generator.next()
Is not in Python 3. Use:

Code: Select all

next(generator)
by Architekt
Sun Nov 23, 2014 6:30 pm
Forum: Hardware Projects
Topic: Driver for WS2812 RGB LEDs (NeoPixels, ...)
Replies: 30
Views: 104736

Re: Driver for WS2812 RGB LEDs (NeoPixels, ...)

I have played with 4 meters of NeoPixels Strip which has 240 RGB LEDs in total.

Driver works fine. I just released v1.1 with some speed optimizations. Should work for much more RGB LEDs :)

In action: http://youtu.be/vb5l3h1-TqA
NeoPixels strip - small 2.jpg
240 RGB LEDs driven by MicroPython
NeoPixels strip - small 2.jpg (124.57 KiB) Viewed 44870 times
by Architekt
Fri Nov 21, 2014 2:27 pm
Forum: General Discussion and Questions
Topic: Re-import module?
Replies: 35
Views: 39768

Re: Re-import module?

Hi stijn, I have some suggestions for you: 1) Use static source code checker like flake8 . Modern source code editors usually has plugins/extensions to integrate them and check you code on save. 2) Use pyboard.py to run and re-run your scripts on pyboard. 3) Use REPL to live debug/change your code r...
by Architekt
Wed Nov 12, 2014 1:01 pm
Forum: Hardware Projects
Topic: Use FadeCandy with an USB hub connector
Replies: 4
Views: 5766

Re: Use FadeCandy with an USB hub connector

I would like to talk to a fadecandy board from my upython. The object being to send images to my Adafruit Neopixel 8x8. It seems like connecting the upython and fadecandy through a USB hub would be a simple way. Is this possible? Do I need a PyUSB library? Is there one? thanks Tom I think much simp...
by Architekt
Wed Nov 12, 2014 11:30 am
Forum: Hardware Projects
Topic: Driver for AdaFruit 8x8 LED Matrix (+ Game of Life)
Replies: 1
Views: 10532

Driver for AdaFruit 8x8 LED Matrix (+ Game of Life)

Hi, I made driver for AdaFruit 8x8 LED Matrix displays with HT16K33 backpack connected to I2C. Driver is here: https://github.com/JanBednarik/micropython-matrix8x8 In examples if implementation of Conway's Game of Life (maybe first ever on MicroPython :-) ) which looks pretty cool on 8x8 LED display...
by Architekt
Sat Nov 08, 2014 9:32 am
Forum: General Discussion and Questions
Topic: Working WS2812 LED Example
Replies: 12
Views: 18844

Re: Working WS2812 LED Example

Hi, I made driver for WS2812 LEDs which provides you more hi-level Pythonic interface. More here: http://forum.micropython.org/viewtopic.php?f=5&t=394
by Architekt
Fri Nov 07, 2014 9:27 am
Forum: Hardware Projects
Topic: Driver for WS2812 RGB LEDs (NeoPixels, ...)
Replies: 30
Views: 104736

Driver for WS2812 RGB LEDs (NeoPixels, ...)

Hi, I made driver for WS2812 (and compatible) RGB LEDs. Those are popular RGB LEDs used for example in AdaFruit NeoPixels.

Driver: https://github.com/JanBednarik/micropython-ws2812

MicroPython and NeoPixels ring demo: http://youtu.be/ADYxiG40UJ0