Skip to main content

USB/Bus77 converter

Assembling the device yourself

Bus77 is a smart home device interface from iRidi mobile. It is based on the CAN2.0B bus.

The following instructions describe how to build a USB/Bus77 converter to connect a Windows/Linux computer with a USB port to the bus and perform all required operations with Bus77 devices:

  • monitoring,
  • scanning,
  • configuration,
  • firmware uploading.

USB_Bus77_01.jpg

Components​

To build a USB/Bus77 converter, you will need:

  • an STM32F103C8T6 microcontroller board,
  • a CAN transceiver board (for example, CJMCU-230 based on SN65HVD230),
  • a TTL/USB converter (for example, based on CP2102 or CH340G chips).

Wiring​

USB_Bus77.png

Project​

Download all files from the GateUARTtoCAN folder in the repository and compile them in KEIL.

  • the GateUARTtoCAN.ioc configuration file for STM32F103 (created in STM32CubeMX v4.26.0),
  • the project (created in Keil μVision v5.22),

Device firmware​

There are several ways to upload firmware (the UART_BUS77.bin file) to the microcontroller. The most popular is to connect an ST-LINK/V2 programmer through the JTAG interface and use STM32 ST-LINK Utility.

USB_Bus77_02.jpg