Search found 164 matches

by fma
Tue Sep 29, 2015 2:31 pm
Forum: Drivers for External Components
Topic: T6963C LCD Graphics Controller Chip
Replies: 2
Views: 6361

Re: T6963C LCD Graphics Controller Chip

Yes, I know these projects; I'm working on the Arduino library, to clean it up. Then I will start to port it to micropython.

The idea is to dedicate a pyboard as a LCD interface, to build some sort of VT100 terminal.
by fma
Tue Sep 22, 2015 5:38 am
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Re: Servo resolution

Thanks for you answer! Good hobby servos have resolutions of 2-3µs, I guess. Even the chineese one I'm testing, which is pretty bad regarding resolution, takes avdantage of a 1µs resolution, over 10µs... It is really simple to change the timer5 init in micropython code, so the Servo class has 1µs re...
by fma
Sun Sep 20, 2015 2:08 pm
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Re: Servo resolution

Yes, no problem for a fix pulse width, but what the Servo class does, and your examples don't, is managing the pulse width variation speed...
by fma
Sun Sep 20, 2015 7:43 am
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Re: Servo resolution

dhylands wrote:(or convince Damien to allow it to change)
I vote for this solution ;)

Damien, could it be possible to:
- have 1µs resolution (timer5 config)
- add a 'time' parameter to the pulse_width() method, so it works like the angle() method, allowing precise control over position/speed

Thanks!
by fma
Sun Sep 20, 2015 6:44 am
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Re: Servo resolution

Is there a way to overwrite timer5 configuration when using the Servo class, so I can still use this class, but with 1µs resolution?
by fma
Fri Sep 18, 2015 8:33 pm
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Re: Servo resolution

Thanks for your answer. I'll give a try to your code, to see if 1µs resolution improves the servo behaviour.
by fma
Fri Sep 18, 2015 5:41 pm
Forum: General Discussion and Questions
Topic: Servo resolution
Replies: 10
Views: 9154

Servo resolution

Hi!

What is the resolution (in µs) of the Servo class, when driving from an angle to another?

I'm having some issues with a servo, and I wonder if it is a lack of resolution of my controllers; using pyboard gives the same results, but I don't know if pyboard is better!

Thanks,
by fma
Tue Sep 15, 2015 12:51 pm
Forum: Drivers for External Components
Topic: T6963C LCD Graphics Controller Chip
Replies: 2
Views: 6361

T6963C LCD Graphics Controller Chip

Hi!

Did anyone already write a python module to drive such controller?

Thanks,
by fma
Mon Apr 27, 2015 3:57 pm
Forum: Hardware Projects
Topic: SmartButton class
Replies: 0
Views: 2817

SmartButton class

Hi!

Part of my future smart gamepad, and already part of my Hexapod framework, here is a SmartButton class, which can handle press/release/click/double-click/hold/double-hold triggers (triple-click/triple-hold can be add without problem). Based on a FSM.

Feel free to test/comment/review!
by fma
Mon Apr 20, 2015 8:55 am
Forum: Hardware Projects
Topic: PyS2X: gamepad PS2X library port
Replies: 0
Views: 3213

PyS2X: gamepad PS2X library port

Hi!

Here a python port of the Arduino/PIC PS2X gamepad library:

https://github.com/fma38/micropython/bl ... X/pys2x.py

I'm still optimizing the code, but I would be intersting to now if it works fine with all supported controllers; I only own a Sony DualShock 2.