Hello and welcome to our community! Is this your first visit?
Register
Results 1 to 1 of 1

Thread: RC PWM to I2C

  1. #1
    Senior Pilot CupOfTea's Avatar
    Join Date
    Apr 2010
    Location
    New Zealand
    Posts
    183
    Blog Entries
    1
    Downloads
    0
    Uploads
    0
    Reputation Points (Add)
    0

    RC PWM to I2C

    I needed to use my RC receivers to drive a robotics project so I hacked this up using the AQ receiver code.

    I use it to take the PWM from my receiver into a 5v Arduino Pro Mini which acts as an I2C slave sending the reciever data on request from an I2C master.

    There's Arduino code for the master and slave and a third just to dump the numbers to the console so I can manually configure the master to do useful things.

    In addition to the contents of the zip it needs these libraries from https://github.com/AeroQuad/AeroQuad/tree/master/Libraries

    AQ_Math #include <AQMath.h>
    AQ_Defines #include <GlobalDefined.h>
    AQ_Receiver #include <Receiver_328p.h>
    Attached Files Attached Files


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •