However, the upper value can be changed using AREF and analogReference() function. These pins can measure from ground to 5V. Each analog pin comes with a 10-bit resolution. It is important to note that all these analog pins can be used as digital I/O pins. The L of LED is connected to the 13th digital I/O, and can be lighted up by setting the 13th pin to HIGH (5V) in the program. The pin numbers 3,5,6,9,10 and 11 are used as a PWM pin. Arduino Mega 2560 has 4 LEDs (chip parts). PWM Pins: This pins of the board is used to convert the digital signal into an analog by varying the width of the Pulse. Analog Pins: There are 16 analog pins incorporated on the board labeled as A0 to A15. External Interrupt Pins: This pin of the Arduino board is used to produce the External interrupt and it is done by pin numbers 2 and 3.AREF stands for Analog Reference Voltage which is a reference voltage for analog inputs. This gives you the change to nursing your programming skills in real-time. HIGH value at this pin will turn the LED on and LOW value will turn it off. LED: This board comes with a built-in LED connected to digital pin 13.50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) are used for SPI communication. SPI stands for Serial Peripheral Interface used for the transmission of data between the controller and other peripherals components. providing LOW value, rising or falling edge or changing value to the interrupt pins. These pins produce interrupts by a number of ways i.e. External Interrupts: Six pins are used for creating external interrupts i.e interrupt 0(0), interrupt 1(3), interrupt 2(21), interrupt 3(20), interrupt 4(19), interrupt 5(18).Setting this pin to LOW will reset the board. Reset: This pin is used to reset the board.There are four combinations of these serial pins are used where Serail 0 contains RX(0) and TX(1), Serial 1 contains TX(18) and RX(19), Serial 2 contains TX(16) and RX(17), and Serial 3 contains TX(14) and RX(15). Rx represents the transmission of data while Tx used to receive data. Serial Communication: RDX and TXD are the serial pins used to transmit and receive serial data i.e.However, the output voltage through this pin to the board will be automatically set up to 5V. The voltage provided by the power jack can be accessed through this pin. Vin: It is the input voltage supplied to the board which ranges from 7V to 20V.GND: There are 5 ground pins available on the board which makes it useful when more than one ground pins are required for the project.While another voltage regulation is provided by 3.3V pin. It can be obtained from Vin of the board or USB cable or another regulated 5V voltage supply. This regulated power supply powers up the controller and other components on the board. 5V & 3.3V: This pin is used to provide output regulated voltage around 5V.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |