Ardupilot Hardware related!

Hi everyone,I am a new student to this area, and there are so many questions.First of all, what is the purpose of AT45 on the board while ATmega328 is used as main controller here. Also what if i want to control more servos?? can i use D6- D13 which i m having a doubt. There is MUX input which allow no 3,4 servo, and they need to connect to 2 Digital out pins right?? my question is..is there more PWM out from those Digital pins?? I cant use analog pins as it is hooked to IMU.ThanksPG

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

Join diydrones

Email me when people reply –

Replies

  • I managed to understand abit of what is going on through eagle files. And all digital pins seems to give out PWM while out3,4 need to hook up one of digital pin if needed. Is there a way to know what code AT45 is running so i can understand what it is doing. I am sure it does more than MUX and rebooting 328.

    About two lines giving three states ....you mean servo centre signal and two each end right?? another weird thing is when green LED (mode) flash and servo hooked to S1B(out1) start to jump but that happen when i play with other controls.any idea??

    regards
    PG
  • Developer
    The AT45 runs the Hardware MUX, so you can enter manual mode. It reads your radio from the control input. It signals the ATMega 328 through two lines giving you 3 states to work with in the code. You need to adjust your radio to signal the middle state correctly. The AT45 can also reboot the ATMega328.

    The Manual states you need to connect Pin 8 to ch3 input on the mux with a wire. This will give you throttle output.
    There is no code in the Ardupilot to control Ch4, but you could add your own using the second timer.

    You don't necessarily need HW PWM to control servos, but it helps reduce overhead to use the interrupts to do so.

    Pin 11 and 12 are just connected to LEDs. You could use those if you're desperate.
    Pin 14 and 15 don't seem to be connected to anything. Perhaps you could hack the board and access those pins.
This reply was deleted.

Activity