Intel® Aero Platform For UAVs
Peer-to-peer support only
Announcements
This is a peer-to-peer only forum. This forum is not monitored by Intel.
775 Discussions

Gimbal Control through GPIO

idata
Community Manager
1,181 Views

Hello,

I have a universal 3 axis gimbal (https://www.banggood.com/FPV-3-Axis-CNC-Metal-Brushless-Gimbal-With-Controller-For-DJI-Phantom-GoPro... FPV 3 Axis CNC Metal Brushless Gimbal With Controller For DJI Phantom GoPro 3 4 180g for RC Drone FPV Racing Sale - Bang… ) that takes roll pitch yaw inputs (1 pin each), with PWM values. The thing is we want to send those values through GPIO of Intel Aero RTF board.

  1. Is there any expansion board we can buy to have access to GPIO?
  2. If not how can we access them right now (software and hardware talking)?
  3. Can we send PWM values in range the range of 0 to 1500?

Thanks.

0 Kudos
3 Replies
idata
Community Manager
177 Views

Hello Sotiris,

 

 

Thank you for your interest in the Intel Aero drone.

 

 

The processor GPIO's can be accessed through software.

 

You can find a guide here on how to access them: https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# processor-gpios

 

 

You can also find more details in the hardware guide: https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar...

 

 

As for your second question,

You can configure the PWM signals via the FPGA.

There are 2-byte frequency registers to configure each PWM output. Register value = 25MHz/Desired PWM frequency,

To set PWM0, for instance, to a frequency of 500Hz (2 ms) and 50% Duty Cycle (1 ms), the frequency register should be set to a value of, 25,000,000/500 = 50,000 which is 0xC350.

You can find more info about the FPGA on our wiki: https://github.com/intel-aero/meta-intel-aero/wiki/95-%28References%29-FPGA https://github.com/intel-aero/meta-intel-aero/wiki/95-(References)-FPGA

The sample application can be used to configure this.

spi_xfer -b 1 -c 1 -d 5097 -w 2 spi_xfer -b 1 -c 1 -d C398 -w 2

 

Hope this helps.

 

 

Regards,

 

Octavian
idata
Community Manager
177 Views

Hello Sotiris,

 

 

Do you require any more assistance with this issue?

 

 

Regards,

 

Octavian
idata
Community Manager
177 Views

No thank you very much!

Reply