GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Arduino interface

Mircea Chira Physics Englisch 18 Karten

Karten in diesem Stapel (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

Informationen

Beschreibung
Basic arduino structure and interaction
Erstellt von
Mircea Chira
Aufrufe
0
Verlauf
  • Erstellt von Mircea Chira · 28 Aug 2017
  • Kopiert von Mircea Chira · 10 Sep 2017
  • Kopiert von Mircea Chira · 10 Sep 2017
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck