[Free White Paper] Control of Model Trains Using Raspberry Pi
Introducing the production process of a model railway controller that can be remotely operated via smartphone using a Raspberry Pi and Contec I/O board!
Using a Raspberry Pi makes it easy to implement electronics projects linked to the internet. This document explains the process of creating a "Raspberry Pi Model Train Controller" that can be operated from a smartphone's web browser, divided into Part 1 through Part 3. It covers how to turn the model train on and off from the Raspberry Pi, easy programming with Node-RED, noise countermeasures using Contec's highly reliable I/O board, all explained with photos. Additionally, it includes software implementation, operation from the dashboard, usage instructions, and a summary of automatic control for model trains at the end. We encourage you to read it. 【Products Used】 Expansion board to add 8-point/8-point opto-isolated digital input/output to Raspberry Pi - CPI-DIO-0808L *For more details, please refer to the PDF document or feel free to contact us.
basic information
**Main Features of CPI-DIO-0808L** - Adopts an easy-to-wire push-type terminal block - Supports up to 8 stack connections - Compatible with PC expansion boards and APIs, supports Python - Equipped with 8 photo-coupler isolated inputs (supports current sink/source output) and 8 photo-coupler isolated outputs (current sink type) - Bus isolation via photo-couplers - Supports ambient temperatures from -20 to 60°C **Main Specifications** - Series: CPI (HAT size expansion board for Raspberry Pi) - Bus Specification: Raspberry Pi - Size: HAT size - Connector Used: 2x 3.81mm pitch 10-pin 2-piece terminal block - Number of Digital Inputs: 8 points - Number of Digital Outputs: 8 points - Response Speed (Input): 200μsec (max.) - Response Speed (Output): 200μsec (max.) - Operating Voltage (Input): 12 ~ 24VDC - Operating Voltage (Output): 12 ~ 24VDC - Input Circuit: Photo-coupler isolated input (supports both sink and source output) - Output Circuit: Photo-coupler isolated open collector output (sink type) - Supported OS: Linux
Price information
Please feel free to contact us.
Price range
P1
Delivery Time
OTHER
Model number/Brand name
CPI Series
Applications/Examples of results
A HAT-sized board for utilizing Raspberry Pi(R) in the fields of factory automation and measurement control.
Detailed information
Related Videos
Line up(12)
Model number | overview |
---|---|
CPI-RAS | RAS/RTC Raspberry Pi expansion board |
CPI-AI-1208LI | Analog input 12bit 8ch bus isolation |
CPI-AO-1602LC | Analog output 16bit 2ch channel-to-channel isolation |
CPI-CNT-3201I | Up/Down counter 32bit 1ch |
CPI-DIO-0808L | Isolated digital input/output 8 points/8 points |
CPI-DIO-0808RL | Reverse common isolated digital input/output 8 points/8 points |
CPI-DI-16L | Isolated digital input 16 points |
CPI-DO-16L | Isolated digital output 16 points |
CPI-DO-16RL | Reverse common isolated digital output 16 points |
CPI-RRY-16 | Semiconductor relay output 16 points |
CPI-DIN01 | DIN rail mount kit |
CPI-SPA01-2 | Spacer set for Raspberry Pi 5 (for 2 units) |