![]() ![]() TX is short for transmit, RX is short for receive. Time to re-check your circuit! TX RX LEDs If this light doesn’t turn on, there’s a good chance something is wrong. This LED should light up whenever you plug your Arduino into a power source. Just beneath and to the right of the word “UNO” on your circuit board, there’s a tiny LED next to the word ‘ON’ (11). Unlike the original Nintendo however, blowing on the Arduino doesn't usually fix any problems. This can be very useful if your code doesn’t repeat, but you want to test it multiple times. Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on the Arduino. Just like the original Nintendo, the Arduino has a reset button (10). It is sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins. ![]() Most of the time you can leave this pin alone. AREF (9): Stands for Analog Reference.We have a tutorial on PWM, but for now, think of these pins as being able to simulate analog output (like fading an LED in and out). These pins act as normal digital pins, but can also be used for something called Pulse-Width Modulation (PWM). PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO).These pins can be used for both digital input (like telling if a button is pushed) and digital output (like powering an LED). Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO). ![]() These pins can read the signal from an analog sensor (like a temperature sensor) and convert it into a digital value that we can read.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |