brg
Arduino Mega 2560 Overview
Here is a basic view of the Arduino Mega 2560 (https://www.adafruit.com/product/191).  There is a large number of functionality this board can achieve, but for our tutorials we will only cover the basics!

191-07.jpg  
  • Analog Pins: A0 - A15.  Analog pins allow for the Arduino board to read in sensor values.  These pins can also be used to output a signal as well.  For the Hobby Hand 2.0, we will only use these pins for our potentiometers and sensors!
  • Digital Pins: 14 - 53.  It's binary, my friends.  Digital pins can only be set to '0' off or '1' on.  Synonyms for this are 'LOW' for off and 'HIGH' for on.  This will be useful information later when we start programming.  
  • Pulse Width Modulation (PWN) Pins: 2 - 13.  PWM pins have the ability to 'simulate' an analog output.  Digital pins can only send the signal '0' for off and '1' for on.  PWM pins can rapidly pulse the signal to simulate values between 0 and 255, respectively.  There will be a separate tutorial that covers how this is implemented and why this is important for us!  Here is a brief schematic on how the PWM wave behaves at different duty (load) cycles.  Learn more about PWM HERE.

pwm.gif
  

Quote 0 0
UA-63837278-7