Search found 11 matches

by CRImier
Sun Apr 05, 2020 8:34 pm
Forum: General Discussion and Questions
Topic: hackable consumer electronic products with microppython ?!?
Replies: 13
Views: 10049

Re: hackable consumer electronic products with microppython ?!?

I started porting MicroPython (finding/making drivers and adding example code) for the T-Wristband hardware: Hackaday GitHub
by CRImier
Sun Jul 09, 2017 4:12 pm
Forum: General Discussion and Questions
Topic: Is viper going to be faster than pure Python when toggling GPIOs? (ESP8266)
Replies: 1
Views: 3001

Is viper going to be faster than pure Python when toggling GPIOs? (ESP8266)

I'm implementing a shiftOut function in Python to drive a 595 - for my IMTAIDKW project. Here's a Python example of it: def shiftOut(byte): latch.off() for i in range(8): value = byte & 1<<i #Is bit set or cleared? data.value(value) clock.on() clock.off() Here's a @micropython.viper-ported shiftOut ...
by CRImier
Fri Sep 16, 2016 11:35 pm
Forum: Drivers for External Components
Topic: Simple&light HD44780 library
Replies: 1
Views: 3122

Simple&light HD44780 library

I've ported my HD44780 library from pyLCI project to MicroPython. It's very lightweight, LiquidCrystal-compatible, expandable for various different hardware interfaces and quite readable. Here it is. If you need drivers for some other hardware interfaces, just post a thread reply, I can provide you ...
by CRImier
Mon Jan 11, 2016 3:38 pm
Forum: Drivers for External Components
Topic: HMC5883L (I2C compass) driver
Replies: 0
Views: 6336

HMC5883L (I2C compass) driver

I've ported a Python driver for HMC5883L magnetometer to MicroPython, thanks to how easy it is to re-use Python code =)
Here's the driver. Hope it will be useful to somebody :)
by CRImier
Mon Sep 08, 2014 9:16 am
Forum: Hardware Projects
Topic: micropython based keyboard
Replies: 1
Views: 8153

Re: micropython based keyboard

That would be a truly wonderful project. If it gets finished, I'll make my own version =)
by CRImier
Fri Sep 05, 2014 8:57 pm
Forum: MicroPython pyboard
Topic: HID Keyboard functionality?
Replies: 14
Views: 19119

Re: HID Keyboard functionality?

I second that. It'd be great for those numerous keyboard emulation projects =)
by CRImier
Sun Aug 17, 2014 12:01 pm
Forum: General Discussion and Questions
Topic: Using both RFID & Bluetooth??
Replies: 3
Views: 5064

Re: Using both RFID & Bluetooth??

For BT, I'd recommend any Bluetooth-to-UART module able to communicate in Slave mode. Most famous are, of course, HC-05/HC-06/HC-whatever, more can be found here - an excellent resource on those modules. They're sold on eBay for about 5$ each, and some of them are sold on a convenient breakout board...
by CRImier
Sat Aug 02, 2014 10:46 am
Forum: Drivers for External Components
Topic: Anyone working on HD44780 library?
Replies: 28
Views: 40442

Re: Anyone working on HD44780 library?

Nice! Do you consider passing pyb.I2C class object to a constructor a good practice? If so, I guess I've got some pull requests to make =)
by CRImier
Sat Aug 02, 2014 12:02 am
Forum: Drivers for External Components
Topic: Anyone working on HD44780 library?
Replies: 28
Views: 40442

Re: Anyone working on HD44780 library?

Aha, clear! Thank you for the code! I guess for directly connected display library I'll copy LiquidCrystal interface because it'll be easier for Arduino folks to rewrite their code if they move to different board, but your code might make an excellent base for LiquidCrystal_I2C =)
by CRImier
Fri Aug 01, 2014 11:38 pm
Forum: General Discussion and Questions
Topic: Micropython and XBEE
Replies: 9
Views: 9949

Re: Micropython and XBEE

It's not really a problem of MicroPython - it's not adding "\n" to the received data, it's the Arduino that sends "\n" when you use println() instead of just print () =) And IMO parsing with Python is much more easier - so it shouldn't be a problem. No, there's no better idea, idea of waiting for "/...