0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Raspberry Pi Pico Wi-Fi Controlled Model railroad

Last updated at Posted at 2022-06-07

Raspberry Pi Pico Wi-Fi Controlled Model railroad

iPadからWi-Fiで RasPi Pico Nゲージを制御するハードとソフトの覚書
General View(1)
回路図、ソフトウェアは後日アップする

pico_modeltrain.jpg

[Spec]
a)Nゲージ鉄道模型(Model Railroad)をRaspberryPi Picoで制御(Controll)
b)Wi-Fi Packet通信で iPad Server から Pico Clientを制御(Controll)
c)Pico Server Softwear は MicroPython
d)iPad Client Softwear は Pythonista 3

IMG_0138.JPG

@Controller_Hardwear
1.Raspberry Pi Pico : Model Railroad Controller :2022/5/30 ¥890
2.ESP-WROOM-2 : UART, Wi-Fi Flash Boot Mode(AT+Command):2022/6/4 ¥926
3.AE-TB6612(1) : PWM, The track voltage to controll the speed ¥420
4.AE-TB6612(2) : PWM, Train track point driver ¥420
5.AQM0802A-FLW-GBW : I2C, 8-Character x 2 LCD ¥320
6.Photo diode sensor x 2
7.USB-Serial FTDI : UART, Optional UART interface ¥1,100

@ControlledSpecifications
1.Wi-Fi Socket Communication
2.Train Motor speed(PWM 0-100%) :2ch
3.Train Direction(forward/revers) :2ch
4.Train Track Point(right/left) :2ch
5.8-Character x2 LCD display
6.Photo diode sensor(AD0,AD1) :2ch
7.board temperature (ADC4)
8.optional UART

@RaspberryPi_Pico_PinConnection
1.GP0 UART0 Tx - USB-Serial FTDI(2):Rx
2.GP1 UART0 Rx - USB-Serial FTDI(3):Tx
3.GND
4.GP2 - AE-TB6612-1(1):PWMA
5.GP3 - AE-TB6612-1(2):AIN2
6.GP4 - AE-TB6612-1(3):AIN1
7.GP5 - AE-TB6612-1(7):BIN1
8.GND
9.GP6 I2C1 SDA - AQM0802A(2):SDA1 - DRV8830(2):SDA
10.GP7 I2C2 SCL - AQM0802A(3):SCL1 - DRV8830(1):SCL
11.GP8 - AE-TB6612-1(8):BIN2
12.GP9 - AE-TB6612-1(9):PWMB
13.GND
14.GP10 - AE-TB6612-2(1):PWMA
15.GP11 - AE-TB6612-2(2):AIN2
16.GP12 - AE-TB6612-2(3):AIN1
17.GP13 - AE-TB6612-2(7):BIN1
18.GND
19.GP14 - AE-TB6612-2(8):BIN2
20.GP15 - AE-TB6612-2(9):PWMB
21.GP16 UART0 Tx - ESP-WRoom-02(12):Rx
22.GP17 UART0 Rx - ESP-WRoom-02(11):Tx
23.GND
24.GP18 - DipSw(4)
25.GP19 - DipSw(3)
26.GP20 - DipSw(2)
27.GP21 - DipSw(1)
28.GND
29.GP22 - TactSW
30.RUN NC
31.GP26 ADC0 - Photo diode sensor 1
32.GP27 ADC1 - Photo diode sensor 2
33.GND AGND NC
34.GP28 ADC2 NC
35.ADC VREF NC
36.3V3(OUT) NC
37.3V3 EN NC
38 GND
39 VSYS NC
40 VBUS NC

Pico配線図.jpg

@iPad_DisplaySpecifications
Model : iPad
Softwear : Pysonista 3
Raspberry Pi Pico Controlled Railroad Client
IMG_0131.jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?