Welcome! Log In Create A New Profile

Advanced

Arduino megapololu shield schematic

Posted by KM6VV 
Arduino megapololu shield schematic
October 11, 2017 11:07AM
I'm looking at the Arduino megapololu shield schematic, and up in the left hand top corner are the pins for Arduino connectors. I am familiar (was?) with the pins of the Arduino boards, and have used the boards several times. This shield schematic has only the 'local' signal names, with no match to the Arduino pin (signal/port) names. The two vertical rows suggest the sockets on the sides of the Arduino, but neglect the sockets on the end. A0-15 and D0-53 simply don't match! I've pulled up Arduino pinout drawings, the MegaPinOut is quite complete and useful.

What is the correlation between the RAMPS board names and the Arduino names? What am I missing? For example, if I want to control heaters and fans; D8, D9 & D10 are what Arduino Mega chip pins?

I found from RAMPS14Test:

#define FAN_PIN             9
#define HEATER_0_PIN       10
#define HEATER_1_PIN        8

    digitalWrite(HEATER_0_PIN, LOW);
    digitalWrite(HEATER_1_PIN, HIGH);
    digitalWrite(FAN_PIN, LOW);


So are pins 8,9,10 the digital pins PH5, PH6, PB4? They are in a similar position to the 'PWM' labeled pins (Digital pins) on the board. And then if the
'A' pins are the Analog pins. That must be it.

Last few projects were PICs. It's been a while since I wrote code for an Arduino. OK I'm starting to remember... Looking up in Arduino.cc

Thanks for any comments.
Sorry, only registered users may post in this forum.

Click here to login