Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:programming_fundamentals_rtu:setting_up_programming_environment [2018/01/11 12:37] Agrisniken:iot-open:programming_fundamentals_rtu:setting_up_programming_environment [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 ====== Setting up the programming environment ====== ====== Setting up the programming environment ======
  
Line 33: Line 34:
 |  O(RX) and 1(TX)  | //Serial I/O// for serial communication. RX is used for receiving data, and TX for sending data to external devices. For data transmitting and receiving, the voltage must not exceed 5 V. | |  O(RX) and 1(TX)  | //Serial I/O// for serial communication. RX is used for receiving data, and TX for sending data to external devices. For data transmitting and receiving, the voltage must not exceed 5 V. |
 |  2 and 3  | //External interrupt// pins that can be used to receive external interrupt in cases when the value is low, value is changed, etc. For this functionality the  function //attachInterrupt()// is used. | |  2 and 3  | //External interrupt// pins that can be used to receive external interrupt in cases when the value is low, value is changed, etc. For this functionality the  function //attachInterrupt()// is used. |
-|  PWM: 3, 5, 6, 9, 10, 11  | //Pulse Width Modulation (PWM)// pins are used to provide 8-bit PWM signal that often can be used for motor management or other specific use cases. For this functionality the //analogWrite()// function is used. |+|  PWM: 3, 5, 6, 9, 10, 11  | //Pulse Width Modulation (PWM)// pins are used to provide 8-bit PWM signal that often can be used for motor control or other specific use cases. For this functionality the //analogWrite()// function is used. |
 |  SPI: 10(SS), 11(MOSI), 12(MISO), 13(SCK)  | Pins that support //Serial Peripheral Interface (SPI)// communications. For this the SPI library is used. | |  SPI: 10(SS), 11(MOSI), 12(MISO), 13(SCK)  | Pins that support //Serial Peripheral Interface (SPI)// communications. For this the SPI library is used. |
 |  LED: 13  | This pin is used to manage the built-in LED. LED can be turned on by setting the value of pin HIGH and turned off by setting pin value LOW. | |  LED: 13  | This pin is used to manage the built-in LED. LED can be turned on by setting the value of pin HIGH and turned off by setting pin value LOW. |
Line 48: Line 49:
  
 <figure label> <figure label>
-{{https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/arduinouno.jpg?400 |title}}+{{ https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/arduinouno.jpg?400 |title}}
 <caption>The Arduino UNO board ((https://store.arduino.cc/arduino-uno-rev3))</caption> <caption>The Arduino UNO board ((https://store.arduino.cc/arduino-uno-rev3))</caption>
 </figure>  </figure> 
  
 <figure label> <figure label>
-{{https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/usbcable.jpg?400 |title}}+{ {https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/usbcable.jpg?400 |title}}
 <caption>USB cable for Arduino UNO</caption> <caption>USB cable for Arduino UNO</caption>
 </figure> </figure>
Line 61: Line 62:
  
 <figure label> <figure label>
-{{https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/arduinoide.png?800 |title}}+{{ https://home.roboticlab.eu/_media/en/iot-open/programming_fundamentals_rtu/arduinoide.png?800 |title}}
 <caption>Downloading the installation file for Windows OS from Arduino original website.</caption> <caption>Downloading the installation file for Windows OS from Arduino original website.</caption>
 </figure> </figure>
Line 125: Line 126:
   * Examples for the accompolishing tasks of different level of difficulty ((http://arduino.cc/en/Tutorial/HomePage)).   * Examples for the accompolishing tasks of different level of difficulty ((http://arduino.cc/en/Tutorial/HomePage)).
   * Reference for the programming language used ((http://arduino.cc/en/Reference/HomePage)).   * Reference for the programming language used ((http://arduino.cc/en/Reference/HomePage)).
 +
 +**Check yourself**
 +
 +1. What power supply Arduino UNO mictrocontroller requires?
 +
 +2.How to operate with inputs/outputs of the microcontroller?
 +
 +3. Try different examples in the menu of Arduino IDE.
en/iot-open/programming_fundamentals_rtu/setting_up_programming_environment.1515674258.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0