Search found 605 matches

by EmbeddedMan
Mon Dec 05, 2011 12:55 pm
Forum: Forum Suggestions
Topic: Useless forum software
Replies: 17
Views: 7438

Re: Useless forum software

It doesn't get any more official than this! At least as far as forums are concerned. All of the open source hardware chipKIT dev team regularly visits this forum and tries to provide as much help as they can. Official releases are announced here. Etc.

*Brian
by EmbeddedMan
Mon Dec 05, 2011 12:52 pm
Forum: What are you developing?
Topic: ChipKit Uno32 - car brain
Replies: 24
Views: 8888

Re: ChipKit Uno32 - car brain

Is it broken? I just tried the following program on my Uno32 and it worked as expected: int brightness = 50; // how bright the LED is int fadeAmount = 1; // how many points to fade the LED by void setup() { // declare pin 9 to be an output: pinMode(3, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT);...
by EmbeddedMan
Fri Dec 02, 2011 12:14 am
Forum: What are you developing?
Topic: ChipKit Uno32 - car brain
Replies: 24
Views: 8888

Re: ChipKit Uno32 - car brain

Ahh, OK, things are making a lot more sense now. I guess I just couldn't follow what you were trying to do accurately - there is a lot of information in these two pages of posts. After reviewing what you did in the first video (used HARDWARE PWM to drive the bar graph display), I can tell you that I...
by EmbeddedMan
Thu Dec 01, 2011 8:58 pm
Forum: What are you developing?
Topic: ChipKit Uno32 - car brain
Replies: 24
Views: 8888

Re: ChipKit Uno32 - car brain

Can you send me to the code that was used to make the first video? I would expect that the PWM value from your posted SoftPWMServo code would ramp the from 0 to 255 (0% o 100%) over the course of 3.84s (15ms * 256 iterations). Instead, it looks like it is ramping about once per second. I'll take a l...
by EmbeddedMan
Thu Dec 01, 2011 4:20 am
Forum: What are you developing?
Topic: ChipKit Uno32 - car brain
Replies: 24
Views: 8888

Re: ChipKit Uno32 - car brain

Slayer,

All of the testing I've done on SoftPWMServo shows that it is working fine. Can you send some example code where it's not working? I'd love to find any bugs in it so we can get it fixed, but so far, nobody has been able to send me any code that shows a failure of any type.

*Brian
by EmbeddedMan
Wed Nov 30, 2011 10:31 pm
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15385

Re: Need testers for SoftPWMServo library

Where is the fade example code? I'm not familiar with it.

Our SoftPWMServo library outputs PWM pulses at the same rate as analogWrite(), which is 490Hz.

*Brian
by EmbeddedMan
Wed Nov 30, 2011 10:27 pm
Forum: What are you developing?
Topic: ChipKit Uno32 - car brain
Replies: 24
Views: 8888

Re: ChipKit Uno32 - car brain

By SoftPWM do you mean the SoftPWMServo library that comes with MPIDE? If so, then there should be no reason you can't duplicate the first example with the SoftPWMServo library.

*Brian
by EmbeddedMan
Wed Nov 30, 2011 4:53 am
Forum: Libraries
Topic: Need testers for SoftPWMServo library
Replies: 55
Views: 15385

Re: Need testers for SoftPWMServo library

Well, all of the latest releases of MPIDE have the latest version of this library already included, so there isn't really a need to download it separately anymore I guess.

*Brian
by EmbeddedMan
Mon Nov 21, 2011 3:13 pm
Forum: IDE Integration
Topic: Uno32: microseconds timer glitch every 107.4 seconds?
Replies: 14
Views: 5771

Re: Uno32: microseconds timer glitch every 107.4 seconds?

I think it should be possible to do the following: 1) Disable interrupts 2) Register the 'new' ISR routine 3) Enable interrupts We'd do this whenever we want to switch. The new ISR routine (be that the SoftPWMServo version or the 'normal' version) simply replaces whatever was in the old vector spot....
by EmbeddedMan
Sat Nov 19, 2011 9:19 pm
Forum: IDE Integration
Topic: Uno32: microseconds timer glitch every 107.4 seconds?
Replies: 14
Views: 5771

Re: Uno32: microseconds timer glitch every 107.4 seconds?

WestfW, I have tried out your new wiring.c, and I _really_ like it. It appears to solve all of our time related problems. Very, very nice job. You write some really sweet code - thank you very much for that. Now I'm trying to integrate support for the SoftPMMServo library. And you are, of course, ri...