Search found 24 matches

by cobra18t
Mon Dec 23, 2013 4:56 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15466

Re: Need testers for SoftPWMServo library

Outstanding!

I will check this out.


-Thomas
by cobra18t
Fri Oct 18, 2013 7:13 pm
Forum: IDE Integration
Topic: MPIDE error running
Replies: 7
Views: 1205

Re: MPIDE error running

The error with: SoftPWMServoPWMWrite(uint32_t, uint8_t, bool) Is due to a manual code change I used for another application. The standard code does not have the "bool" argument. If you replace the SoftPWMServo folder in 20120913 with the same folder from a later version (20130918), you should be abl...
by cobra18t
Thu Sep 26, 2013 11:40 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15466

Re: Need testers for SoftPWMServo library

Any word on the overflow issue mitigation?


-Thomas
by cobra18t
Thu Aug 22, 2013 10:42 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15466

Re: Need testers for SoftPWMServo library

Here is some code that fails after 107s, recovers briefly before failing again after 214s, and so on... #include <SoftPWMServo.h> const int LEDPin = 21; #define PWM_FREQUENCY (75) // Number of 40MHz CoreTimer ticks of the default frame time #define SOFTPWMSERVO_NEW_FRAME_TIME (F_CPU / 2 / PWM_FREQUE...
by cobra18t
Thu Aug 22, 2013 7:17 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15466

Re: Need testers for SoftPWMServo library

I upgraded to MPIDE 20130715 hoping that would solve the issue, but no good. If I am actively driving the motor when 107 seconds passes, PWM continues to work until I disable the PWM pins. When I try to reenable them seconds later, they will not work. I am controlling the motor PWM via joystick posi...
by cobra18t
Thu Aug 15, 2013 11:52 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15466

Re: Need testers for SoftPWMServo library

I am having a similar issue to one previously mentioned. Every 107 seconds, the raw PWM that I use to drive 4 SSRs arranged in an H-bridge fails. After a number of seconds (20-60?), the PWM comes back and I can control my motor again. This points to a Core Timer overflow issue, but I thought that wa...
by cobra18t
Tue Mar 26, 2013 7:31 am
Forum: Libraries
Topic: SimpleSDAudio Library port to chipKit
Replies: 11
Views: 3348

Re: SimpleSDAudio Library port to chipKit

I have an alpha release of the BasicSDAudio library available on GitHub. I am also working on an amplifier board. Check out the release at: http://github.com/cobra18t/BasicSDAudio another demo at: http://cobrainnovations.blogspot.com/2013/03/basicsdaudio-alpha-release-and-demo.html and info on the a...
by cobra18t
Sat Jan 26, 2013 9:08 pm
Forum: chipKIT Boards
Topic: FubarinoSD released
Replies: 20
Views: 3703

Re: FubarinoSD released

Any news as to when the Fubarino Mini will be released? I would like to port the MultiWii software to PIC32 and use the Mini for my next quadcopter.


-Thomas
by cobra18t
Mon Jan 07, 2013 6:37 pm
Forum: Libraries
Topic: SoftPWMServo Invert Pin
Replies: 3
Views: 1117

Re: SoftPWMServo Invert Pin

Thanks EmbeddedMan. I added a "pin_Inv" element to the ChanStruct structure to keep track of which pins are inverted. I used the way "IsServo" is handled as a template to add support for "pin_Inv." Now whenever SetPort or ClearPort were called it checks the pin_Inv element and does the opposite if i...
by cobra18t
Thu Jan 03, 2013 9:38 pm
Forum: Libraries
Topic: SoftPWMServo Invert Pin
Replies: 3
Views: 1117

SoftPWMServo Invert Pin

Is there a way to invert a pin in the SoftPWMServo library (start low, switch high)? If not, can anyone make suggestions on how to change it to do so? I have a half-bridge motor driver which relies on a bootstrapped gate drive on the high side. This means that I need to force the output low during t...