<<Wi-Fi wireless control of Hanshin 71-type HO gauge model train using ultra-compact microcomputer board XIAO ESP32C6>> Speed ​​and LED control using Densha de GO controller MQTT between Raspberry Pi, ESP32, and Pico

381 views

Pi レール

Published on Oct 28, 2024
About :

The Hanshin Electric Railway (Hanshin Railway #Hanshin) 71-type #HO gauge model train (Nozomi Kogei paper kit) is fully wirelessly remote controlled by the ultra-compact microcomputer board XIAO ESP32C6 (21 x 17.5 mm). The train uses the GO controller to control speed, forward/reverse settings, and headlight/taillight LEDs. 1. ESP32-C6 SoC (System on Chip) equipped XIAO ESP32C6 microcomputer board This is a microcomputer board equipped with Espressif's #ESP32-C6 SoC (System on Chip). Although it is ultra-compact at 21 x 17.5 mm, it has a wide range of functions including 2.4 GHz Wi-Fi 6, ADC, PWM, SPI, I2C, etc.・Espressif ESP32-C6 SoC (System on Chip) Dual-core 32 bit RISC-V processor, maximum clock speed 160 MHz ・Memory 512 KB SRAM, 4 MB Flash ・Peripherals UART x1, LP_UART x1, I2C x1, LP_I2C x1 SPI x1, GPIO (PWM) x11, ADC x7, SDIO x1 ・Wireless BLE: Bluetooth 5.0, BLE: Bluetooth 5.0, etc. ・On-board antenna with a maximum communication distance of 80 m, external antenna can also be connected ・Dimensions: 21 x 17.5 mm 2. Features of remote control via Wi-Fi with XIAO ESP32C6 Fully wireless remote control via Wi-Fi Set power notch, brake step, forward/reverse with Train GO Controller Control headlights and taillights on and off with Train GO Controller 3. Remote control of Hanshin 71 series HO gauge train using #DenshadeGO Controller (two-handle type) 3.1 System configuration ① Equipped with #RaspberryPiPicoW in the DenshadeGO Controller (one-handle type) ② Build an MQTT broker with #RaspberryPi4 model B on the ground ③ Powering notch data, brake step data, and forward/reverse data are transmitted from the master controller to the RaspberryPi4 model B via MQTT communication ④ Powering notch data, brake step data, and forward/reverse data are transmitted from the RaspberryPi4 model B to the Hanshin 71 series HO gauge train equipped with a XIAO ESP32C6 via MQTT communication [Way equipment] ●RaspberryPi4 model B *MQTT broker (Aedes MQTT, executed on Node-RED) *PWM conduction rate calculation (executed on Node-RED) *Controller screen web distribution (executed on Node-RED) ((( (speedometer, notch command, brake step state, etc.) [Master controller] === MQTT communication MQTT communication === [Hanshin 71-series HO gauge vehicle] ●Raspberry Pi Pico W ●XIAO ESP32C6 *Powering notch *Receives various data (MQTT) *Brake step *PWM conduction rate conversion *Forward/reverse settings PWM signal *Headlight and taillight settings Motor driver *Transmits various data (MQTT) *Headlight and rear marker light blinking control ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ Notes ◆◆◆◆◆◆◆◆◆◆◆◆◆◆ The modifications introduced in this video are for reference only, and do not guarantee operation. If you carry out modifications, please do so at your own risk. The video creator and related manufacturers take no responsibility for any malfunctions or damage to the model vehicle, XIAO ESP32C6, Raspberry Pi, controller (master controller), etc., or for any injuries, accidents, or fires caused by modifications. ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆

Trend Videos
26:37
4:18
1,228,891 views   9 days ago
17:57
8:45
17:57
Google AdSense
336 x 280
Up Next
30:04
18:45
Abel Birhanu የወይኗ ልጅ 2
264,951 views
1 year ago
4:19
Ermi the Ethiopia
2,600 views
10 days ago
24:53
Nuro BeSheger ኑሮ በሸገር
32,205 views
9 months ago
25:16
TIRITA REVIEW | ትርታ ሪቪው
6,804 views
4 weeks ago
Google AdSense
336 x 280

fetery.com. Copyright 2024