SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
This thread is privately moderated by shoutchen, who may elect to delete unwanted replies.
Old Oct 23, 2008, 11:58 AM
Registered User
mudville
Joined Nov 2002
952 Posts
Discussion
Diy 72 Mhz 4 Channel Fm Rx For Actuators

Diy 72 Mhz 4 Channel Fm Rx Project Tools
Based on Silabs C8051F411 CPU
Using Silabs ToolStick Development Tools

C Compiler is SDCC...

Progress so far,,,

Analyzed the hall effect sensor output from
a radiially polarized magnet spinning over the sensor

Can initialize the chip I/O

Can initialize the radio chip an any channel.

Set up the data amp/slicer for negative shift TXes.

Can decode the PPM pulse train into the separate channel components

Implemented glitch detection on the frames,

Implemeneted failsafe for the channels.

Implemented throttle soft start

Can set the frequency and duty cycle for all 6 pwm channels.

wrote code to drive the a3901 hbridge ( finished this
in servoactuator project)

Can read all the adc channels

There are other rcgroups members involved in developing a prototype
PCB for this. That effort is being documented in the indoor and micro
model forum...


The sofware "super loop" runs a time slice scheduler based on timer interrupts. This scheduler lets each of 8 tasks run for .5 msec at a time.

The tasks include:

1. Reading the ADC channels,

2. Running a PID loop for each actuator to determine how to program the hbridge to move the actuator output arm to the requsted position,

3. Sendng the information about the PID gains, the PWM settings, the pulse width, and the angle of the output arm in the backbround over the TXD rs232 pin.
shoutchen is offline Find More Posts by shoutchen
Last edited by shoutchen; Nov 17, 2008 at 10:22 PM.
Reply With Quote
Sign up now
to remove ads between posts
Reply

Thread Tools