Search found 13 matches
- Wed Jul 08, 2015 1:24 pm
- Forum: Other Boards
- Topic: Multitech mDot LoRaWAN board
- Replies: 0
- Views: 4649
Multitech mDot LoRaWAN board
Just had the Multitech rep in at work, showing us the full range of what's available (and what's to come)! Interesting to see their "mDot" product, which has ARM mbed libraries - but it's running the same CPU as the Pyboard 1 ;) Would be interesting to see the LoRaWAN (Low power, long range WAN) and...
- Fri Jun 26, 2015 8:38 am
- Forum: Drivers for External Components
- Topic: NEC Infrared receiver class
- Replies: 9
- Views: 13453
Re: NEC Infrared receiver class
There are many protocols for IR transmitters. I only implemented the NEC format. An output of 0,0,true indicates zero address, zero command, and a repeat. It's likely your remotes are not NEC format - the repeat signal in NEC format is simply an IR pulse. The command and data, on the other hand, are...
- Tue Apr 28, 2015 3:11 pm
- Forum: General Discussion and Questions
- Topic: Cpython in the pyboard?
- Replies: 2
- Views: 2878
Re: Cpython in the pyboard?
You'll find these slides helpful:
http://micropython.org/static/resources ... ernals.pdf
(Slide 5 onwards)
http://micropython.org/static/resources ... ernals.pdf
(Slide 5 onwards)
- Mon Apr 27, 2015 8:04 pm
- Forum: Drivers for External Components
- Topic: NEC Infrared receiver class
- Replies: 9
- Views: 13453
Re: NEC Infrared receiver class
You will find the following pages helpful (I used these as a source):
http://wiki.micropython.org/platforms/b ... r-Examples
https://github.com/micropython/micropyt ... pture-mode
https://micropython.org/doc/module/pyb/Timer
Have fun!
http://wiki.micropython.org/platforms/b ... r-Examples
https://github.com/micropython/micropyt ... pture-mode
https://micropython.org/doc/module/pyb/Timer
Have fun!
- Mon Apr 27, 2015 1:24 pm
- Forum: Drivers for External Components
- Topic: NEC Infrared receiver class
- Replies: 9
- Views: 13453
NEC Infrared receiver class
(Hope this is the right place THIS time :D ) Just threw together a little library in about an hour that will let you capture infrared remote values according to the NEC protocol. (The type available on eBay under "Arduino infrared remote") https://github.com/MattMatic/micropython-necir (NOTE: You ma...
- Sun Apr 26, 2015 5:33 pm
- Forum: Hardware Projects
- Topic: Long duration WAV player
- Replies: 2
- Views: 3732
Re: Long duration WAV player
pfalcon: first post I knew of Didn't seem related to "Projects" as just a library rather than a project per-se. Wasn't immediately obvious TBH.
Will think twice before posting.
Will think twice before posting.
- Sun Apr 26, 2015 11:51 am
- Forum: Hardware Projects
- Topic: Long duration WAV player
- Replies: 2
- Views: 3732
Long duration WAV player
As promised, I've uploaded a simple "longwave.py" to GitHub: https://github.com/MattMatic/micropython-longwave/ It allows you to play much longer WAV files than memory can allow. I've tested it with 32kHz mono WAV files, happily playing many minutes of audio. Just added simple restart mechanisms so ...
- Thu Apr 23, 2015 11:07 am
- Forum: General Discussion and Questions
- Topic: DMA completion callback
- Replies: 2
- Views: 3493
Re: DMA completion callback
Aha! Fabulous! I had to read the reply a few times... but now I get it :) I had declared the callback as just a general (global) function in the "longwave.py" file, rather than as a class method of the LongWave class. Having made the callback a class method it all fell into place ;) I'll try and get...
- Wed Apr 22, 2015 8:09 pm
- Forum: Drivers for External Components
- Topic: MPU-6050 library
- Replies: 2
- Views: 10518
- Wed Apr 22, 2015 2:17 pm
- Forum: Hardware Projects
- Topic: Driver for WS2812 RGB LEDs (NeoPixels, ...)
- Replies: 30
- Views: 106414
Re: Driver for WS2812 RGB LEDs (NeoPixels, ...)
Really appreciate the WS2812 library :) Got me going in under 5 minutes. However, I ran into a couple of minor issues. First, the "buf_bytes" are not correct. Since SPI shifts the MSB first, the assignment should be (0x88, 0x8e, 0xe8, 0xee). Having sorted that out my first NeoPixel worked properly. ...