I would like to minimize the processor time in arduino and googled some ppm encoder stuff. I found that the parallax propeller has multi core architecture with eight 32-bit risc cores. That device is commonly used as servo controller, but I would like to use it in opposite. Has anybody done something like that?

I was thinking about reading the channels and writing the pulse time to register, wich could be read with for example via I2C.

There are some old blog posts about this: http://diydrones.com/profiles/blogs/multichannel-rc-servo-signal

Examples about communication protocols for parallax propeller can be found on web.

Ps. Also the same controller could be used for driving the servos. If using 7 independent input channels/timers, the output can be done by the eight timer. So the input pulses can be with any freq or order and the output can run in another freq.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I have a receiver object for the Prop that will read 8 RC channels in any order at 1us resolution and write the results to main RAM, and it runs in one core.  You could use two cores to read 16 channels, if you had a need for that many.  From there you'd just need to write the I2C communication to slave it to another processor, which wouldn't be terribly difficult.

    There's also a Prop object that uses a single core to output up to 32 servos at 1us resolution at 50Hz.  I've modified it to output 8 outputs at about 250Hz - again, using a single core.  You don't need to use hardware timers if you write things like this in assembly, and there are enough cores to do this work and much more, in parallel, so you don't have to deal with interrupts.  It's very good at this kind of work.

    Jason

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @knightsautoteam: Hi @diyrobocars, we are Orlando's first Autonomous racing club and would love your support. We are hosting our first K…
Jan 20
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Jan 16
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
More…