Speed Control PWM Voltage/Frequency

Questions or remarks on the Gluonpilot-module? Put them here!

Moderator: lukasz

Re: Speed Control PWM Voltage/Frequency

Postby Mitch » Fri Aug 27, 2010 6:41 pm

I know, but always striving for the simple and elegant solution! ;)
User avatar
Mitch
 
Posts: 118
Joined: Sat Dec 05, 2009 1:59 pm
Location: Florida, USA

Re: Speed Control PWM Voltage/Frequency

Postby Flying_Teapot » Mon Aug 30, 2010 5:31 pm

Tom,

I think I'm experiencing the same problem described by Mitch. I put 4 x BLC Turnigy Plush 25A on my quad. Those connected on port #1 and #2 seems to be connected to nothing. I did check with a scope signal quality on all ports. Everything is ok and the duty cycle varies with stick position. Your opto-isolator card will be more than welcome as I'm a bit stuck for the time being.

Pierre
Last edited by Flying_Teapot on Tue Aug 31, 2010 10:56 am, edited 1 time in total.
User avatar
Flying_Teapot
 
Posts: 6
Joined: Sat Aug 14, 2010 7:41 am
Location: France - South-West of Paris

Re: Speed Control PWM Voltage/Frequency

Postby Tom » Mon Aug 30, 2010 6:02 pm

Hi Pierre,

I'm very sorry to see you're having the same problem...

I can offer you 2 solutions:
- You buy http://store.diydrones.com/product_p/br-0003-20.htm
- You give me 2 weeks time and I sell you a self made version :-)

Best regards,

Tom
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: Speed Control PWM Voltage/Frequency

Postby Flying_Teapot » Mon Aug 30, 2010 9:09 pm

Tom,

No worries. I can wait 2 weeks your version. In the meantime I'll give a try with i2c-pwm converters I got some time ago. I already started to modify control.c file for that.

Pierre
User avatar
Flying_Teapot
 
Posts: 6
Joined: Sat Aug 14, 2010 7:41 am
Location: France - South-West of Paris

Re: Speed Control PWM Voltage/Frequency

Postby Tom » Tue Aug 31, 2010 6:51 am

Maybe you better write an alternate "servo_i2c.c" that implements "servo.h" to replace servo.c ?
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: Speed Control PWM Voltage/Frequency

Postby Flying_Teapot » Tue Aug 31, 2010 9:19 am

You're absolutely right. The time I do that your opto card will be available ;)
User avatar
Flying_Teapot
 
Posts: 6
Joined: Sat Aug 14, 2010 7:41 am
Location: France - South-West of Paris

Re: Speed Control PWM Voltage/Frequency

Postby Flying_Teapot » Thu Sep 02, 2010 2:45 pm

Tom,

as my converters are based on an ATMega8 powered with 5v I was wondering if i2c lines on the dsPic33 are 5v tolerant. I prefer double check before connecting both world.
User avatar
Flying_Teapot
 
Posts: 6
Joined: Sat Aug 14, 2010 7:41 am
Location: France - South-West of Paris

Re: Speed Control PWM Voltage/Frequency

Postby Tom » Thu Sep 02, 2010 2:52 pm

Yes they are :-)

SJ1 allows you to select 3V3 or 5V (for both VCC and pullups of I2C) - see the schematic.

It would be really cool if you could make the I2C to PWM board work! Unlimited PWM outputs :-)

Tom
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 14 guests

cron