-->

M5StickC RS485 HAT AOZ1282CI

SKU:U067

Regular price $3.25
Standard Shipping Estimated Delivery Time: 7-20 days
Description

RS485-HAT is a TTL to RS485 converter for M5StickC. Among M5stack products we have 5 items that include TTL to RS485, they are RS485 unit, RS485 HAT, PLC, LAN, BASE26 they have different input voltage, vary from 5V - 12V. 

In this RS485-HAT, it consists of a 485 automatic transceiver circuit and a DC-DC buck circuit which can drop an input 12V to 5V. 

RS485 is a standard defining the electrical characteristics of drivers and receivers for use in serial communications systems, widely used in the industrial field. multipoint systems are supported. 

It is used to convert the TTL standard to the RS485 standard. If the outside serial device is RS485 standard, you can attach this hat on top of stickc, therefore, to implement the communication with RS485 device by TTL protocol.

 

Product Features

  • Built-in SP485EEN
  • The built-in automatic transceiver circuit
  • Built-in DC-DC buck circuit
  • AOZ1282CI
  • input DC 5~12 V
  • BandRate up to 115200
  • Program Platform: Arduino, UIFlow(Blockly, Python)

Include

  • 1x RS485 HAT
  • 1x 4 Pin 3.96 Pitch Terminal

Application

  • RS485 multipoint systems
  • Serial communication in industrial field.
Learn

Links

Code

1. Arduino IDE

To get complete code, please click here.

#include <M5StickC.h>

/* This demo is for RS485 Hat uart write and read ,
AutoSend Hello M5! AutoReceive and diaplay on screen */

void setup() {

  M5.begin(true,true,true);
  Serial.begin(115200);
  // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
  Serial2.begin(115200, SERIAL_8N1, 26, 0);

  Serial.println("RS485");

}
void loop() {
  Serial2.print("Hello M5!");

 if(Serial2.available()) {
    char ch = Serial2.read();
    M5.Lcd.setTextSize(2);
 }
}

Pin Map

M5StickC GPIO0 GPIO26 5V GND
HAT ADC TX RX 5V GND

Video

Demo

Customer Reviews

Based on 2 reviews
100%
(2)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
K
K.S.

M5StickC RS485 HAT AOZ1282CI

M
M.S.

M5StickC RS485 HAT AOZ1282CI

Click to edit the product in Ali Orders.
Note: only show for shop owner