User Tools

Site Tools

한국어

modularfaduino:cfmega1

This is an old revision of the document!


CFMEGA1

This is an Arduino Mega-compatible CPU module. It is designed with a compact form factor so that it can be used practically in small spaces.

  • This module must be positioned on the far left. Attach I/O modules to the right side.
  • Up to 16 I/O modules can be connected to one CPU module.

System Specifications

  • MCU: Mega2560
  • Program memory: 256 KB
  • SRAM memory: 8 KB
  • EEPROM: 4 KB

Device Specifications

  • Power supply voltage: DC 12–24 V
  • Power supply capacity selection: Use a power supply with enough capacity to handle the total current consumed by the connected I/O modules. If the total number of connected modules is 8 or fewer, a 24 V, 1 A SMPS is suitable. If the total number of connected modules is more than 8, use a 24 V, 3 A SMPS.
  • Communication: RS232C x 2
  • User program LED: 13 = LED

Description of Each Part

Power Input

Apply a voltage between DC 12–24 V to the power supply terminals at the bottom of the terminal block.

Example Programs

- STATUS LED Blinking : This program blinks the STATUS LED.

const int StatusLED = 13;
void setup() {
    pinMode(StatusLED, OUTPUT);
}
void loop() {
    digitalWrite(StatusLED, HIGH);
    delay(1000);
    digitalWrite(StatusLED, LOW);
    delay(1000);
} 

- RS232 Communication : This is an echo communication program for channel 1 (Tx1, Rx1). Connect Tx1 and Rx1 to each other before running the program.

void setup() {
    Serial.begin(9600);
    Serial1.begin(9600);
}
void loop() {
 if (Serial1.available() > 0) {
     char rx_Byte = Serial1.read();
     Serial.print("I received: ");
     Serial.print(rx_Byte);
 
     Serial1.print(rx_Byte);
  }
} 

Technical Support Policy

Source code that you are developing is not covered by technical support. If you believe there is a problem with the product, please send the product itself to our company. We will test it using our own source code and test jig, determine whether there is a defect, and take action if a problem is found.

Modular FADUINO

modularfaduino/cfmega1.1782950890.txt.gz · Last modified: by mfranklin