GoConqr has a new look! Let us know what you think.

Flashcards

Arduino interface

Mircea Chira Physics English 18 cards

Cards in this deck (18)

  1. 1reset buttonresets the ATmega microcomtroller
  2. 2Usb port partused for powerind and programming the arduino
  3. 3tx and rx ledsindicate communication between arduino and computer
  4. 4digital pinsused for reading and writing, digital works on all, analog only works on PWM
  5. 5pin 13 ledonly builtin actuator, used for debugging
  6. 6ATmega microcontrollerthe hearth of the arduino
  7. 7GND and 5v pinsused for powering circuits
  8. 8analog in pinsused for analog input
  9. 9power ledindicates the arduino is receiving power
  10. 10Digital pinscan take two types of inputs: 1 or HIGH when there is voltage and 0 or LOW when there isn't
  11. 11digitalWrite()takes pin number and HIGH/LOW, gives a 5V to the pin if high
  12. 12digitalRead()takes one input, the pin number and returns 0 or 1 (LOW or HIGH)
  13. 13pinMode()used for configuring the pins, takes pin number and mode (INPUT or OUTPUT)
  14. 14setup()runs only once, when the arduino program is first uploaded
  15. 15loop()runs until the program shuts down
  16. 16delay()milliseconds to wait before continuing with program execution
  17. 17analogRead()takes pin number as input and returns a value, these depend on the sensor and can be used to compute other related values (ex: voltage and temperature)
  18. 18Serialconnection between arduino and pc,
    begin() starts connection with given bitrate/s
    print() prints stuff to the serial monitor

Information

Description
Basic arduino structure and interaction
Created by
Mircea Chira
Views
0
History
  • Created by Mircea Chira · Aug 28, 2017
  • Copied by Mircea Chira · Sep 10, 2017
  • Copied by Mircea Chira · Sep 10, 2017
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?