{"title":"M5StickC RS485 HAT AOZ1282CI","handle":"m5stickc-rs485-hat-aoz1282ci","url":"/products/m5stickc-rs485-hat-aoz1282ci","description":"   Description RS485-HAT&nbsp;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.&nbsp;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.&nbsp;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.&nbsp;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. &nbsp; 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   Datasheet&nbsp;-&nbsp;SP485EEN   Code  1. Arduino IDE To get complete code, please click&nbsp;here. #include &lt;M5StickC.h&gt;  /* 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 ","vendor":"Little Bird","product_type":"physical","in_stock":false,"options":[],"variants":[{"id":4812,"title":"Default Title","sku":"M5-U067","price":7.63,"compare_at_price":0.0,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}]}