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 15:55]
ashley
en:arduino_modules [2018/01/24 17:21]
ashley
Line 2: Line 2:
 Any spacecraft contains in its composition the equipment that ensures the fulfillment of the flight mission. This equipment, for which the spacecraft is created or launched, is called the spacecraft payload. Any spacecraft contains in its composition the equipment that ensures the fulfillment of the flight mission. This equipment, for which the spacecraft is created or launched, is called the spacecraft payload.
  
-As part of the construction set, there are modules that are often used as a payload, for example, the camera. However, sometimes an extension of the set's functionality is required with the use of non-standard modules. The simple creation of such modules is provided by the open platform Arduino, which is integrated into the on-board information network of the construction set. The provided expansion module uses the Arduino Mega 2560 microcontroller board based on the ATmega2560 chip. The information exchange between the Arduino microcontroller and BCC occurs with the help of an expansion card (the so-called shield), which is installed on the motherboard ​with the microcontroller. The expansion card contains a connector for connecting RS-485 interface to the cable network through a standard loop.\\+As part of the construction set, there are modules that are often used as a payload, for example, the camera. However, sometimes an extension of the set's functionality is required with the use of non-standard modules. The simple creation of such modules is provided by the open platform Arduino, which is integrated into the on-board information network of the construction set. The provided expansion module uses the Arduino Mega 2560 microcontroller board based on the ATmega2560 chip. The information exchange between the Arduino microcontroller and BCC occurs with the help of an expansion card (the so-called shield), which is installed on the motherboard ​using the microcontroller. The expansion card contains a connector for connecting ​the RS-485 interface to the cable network through a standard loop.\\
  
 **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: 2020/03/25 16:28 (external edit)