User Tools

Site Tools


en:arduino_modules

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:arduino_modules [2018/01/24 16:22]
ashley
en:arduino_modules [2018/01/24 17:21]
ashley
Line 5: Line 5:
  
 **Organization of information exchange**\\ ​ **Organization of information exchange**\\ ​
-The Arduino board has a serial UART port for communicating with other devices. For data exchange, digital I / O ports 0 (RX) and 1 (TX) and USB are used. RX and TX connectors, which connects the information network cable, are placed on the expansion card. It is necessary to connect the RX bus and board connectors and use the "​Serial"​ function set for Arduino to communicate between the microcontroller on the Arduino board and the BCC.\\+The Arduino board has a serial UART port for communicating with other devices. For data exchange, digital I / O ports 0 (RX) and 1 (TX) and USB port are used. The expansion card also houses the RX and TX connectors, ​to which connects the device'​s ​information network cable. It is necessary to connect the RX bus and board connectors and use the "​Serial"​ function set for Arduino to communicate between the microcontroller on the Arduino board and the BCC.\\
  
 **Principle of network operation**\\ **Principle of network operation**\\
-For the organization of information exchange communication protocol is used. It ensures precise transfer of information. When accessing a device BCC sends a request ​on the bus, which is perceived by all connected devices, but only the called device responds to it. The index of the called device is registered in the request. When accessing the Arduino board, this protocol is also used. The board has its own index. The request, which is perceived by the board from BCC, is a sequence of some characters in the ASCII table format. To ensure the interaction between the BCC and the microcontroller,​ it is necessary for the microcontroller to read the string of symbols sent from the bus by the BCC, decode it, and perform the specified actions. The sequence of actions for microcontroller to execute when receiving a certain sequence of symbols from the BCC is prescribed in the firmware program of the board. The sequence ​that BCC sends to the busand which Arduino perceives to decrypt and execute, is prescribed in the program that is sent to BCC via the web interface.+For the organization of information exchange, a communication protocol is used. The protocol ​ensures ​for the precise transfer of information. When accessing a device, the BCC sends a request ​to the bus, which is perceived by all connected devices, but only the called device responds to it. The index of the called device is registered in the request. When accessing the Arduino board, this protocol is also used. The motherboard is assigned ​its own index. The request, which is perceived by the board from the BCC, is a sequence of some characters in the ASCII table format. To ensure the interaction between the BCC and the microcontroller,​ it is necessary for the microcontroller to read the string of symbols sent from the bus by the BCC, decode it, and perform the specified actions. The sequence of actions for the microcontroller to execute when receiving a certain sequence of symbols from the BCC is prescribed in the firmware program of the board. The sequence, which the BCC sends to the bus and the Arduino perceives to decrypt and execute, is prescribed in the program that is sent to the BCC via the web interface.
  
 You can download test samples here:\\ You can download test samples here:\\
-{{ ru:​led_test.zip |}} Sketch for Arduino Mega 2560, which allows you to enable and disable the diode on 11 contact by command with BCC, sketch for BCC and archive for BCC firmware via the web interface.+{{ ru:​led_test.zip |}} Sketch for Arduino Mega 2560, which allows you to enable and disable the diode on 11 contact by command with the BCC, sketch for BCCand archive for BCC firmware via the web interface.
  
-To work with the Arduino board the IDE is used+To work with the Arduino boardthe IDE is used
 [[https://​www.arduino.cc/​en/​Main/​Software]]\\ [[https://​www.arduino.cc/​en/​Main/​Software]]\\
 You can download it from the official site of the Arduino platform developer. You can download it from the official site of the Arduino platform developer.
en/arduino_modules.txt · Last modified: 2018/01/24 17:21 by ashley