SparkFun Forums 

Where electronics enthusiasts find answers.

Have a good idea for a new product for SFE or Olimex? Let us know!
By michaelj
I'd like to be able to get the output from an R/C receiver to go into a PIC, then contol the servo's via the PIC insted of directly.

By doing this, I could add sensors to the Remote controlled car that made it impossible to (for example) stear into a wall.

The Idea would be that without any input from the sensors, the R/C's PWM signal is decoded by the PIC, then "passed on" as is to the output of the PIC circuit, which would control, as usual the stearing and speed of the vehicle. As the sensors picked up obsticals getting closer then the output would be modified slightly at first ( i.e. the car starts to veer away from the wall), but as the sensors pick up more or bigger obsticals, then the output is modified more, until the car is eaither turned in the oposite direction and / or the speed shut down.
User avatar
By sparky
This is certainly do-able. The PIC can easily decode/encode PWM. There are actually hardware modules built into PICs to do this. Most PICs only have one or two but I believe there are some specifically designed for motor control that have multiple modules. I wanna say the 16F676 but I think that's wrong. will fill you in on all you need to know.

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]