Skip to content

Technical info about LEGO Spike Prime Hub

Notifications You must be signed in to change notification settings

LEGO-Robotics/SPIKEPrimeHub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpikePrimeHub

Technical info about LEGO Spike Prime Hub

Port pin mapping (take a look here for the connector/port details: https://www.philohome.com/wedo2reverse/connect.htm )

Port A (lpf2 Port ID:0)
(6) id2 > Pin.board = PD8 (Serial RX, Pin.board = PE7) hub.port.A.dig1
(5) id1 > Pin.board = PD7 (Serial TX, Pin.board = PE8) hub.port.A.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin2 > Pin.board = PE11 (mode=Pin.OUT)
(1) pwm_pin1 > Pin.board = PE9 (mode=Pin.OUT)

Port B (lpf2 Port ID:1)
(6) id2 > Pin.board = PD10 (Serial RX, Pin.board = PD0) hub.port.B.dig1
(5) id1 > Pin.board = PD9 (Serial TX, Pin.board = PD1) hub.port.B.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin2 > Pin.board = PE14 (mode=Pin.OUT)
(1) pwm_pin1 > Pin.board = PE13 (mode=Pin.OUT)

Port C (lpf2 Port ID:2)
(6) id2 > Pin.board = PE4 (Serial RX, Pin.board = PE0) hub.port.C.dig1
(5) id1 > Pin.board = PD11 (Serial TX, Pin.board = PE1) hub.port.C.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin2 > Pin.board = PB7 (mode=Pin.OUT)
(1) pwm_pin1 > Pin.board = PB6 (mode=Pin.OUT)

Port D (lpf2 Port ID:3)
(6) id2 > Pin.board = PC14 (Serial RX, Pin.board = PD2) hub.port.D.dig1
(5) id1 > Pin.board = PC15 (Serial TX, Pin.board = PC12) hub.port.D.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin2 > Pin.board = PB9 (mode=Pin.OUT)
(1) pwm_pin1 > Pin.board = PB8 (mode=Pin.OUT)

Port E (lpf2 Port ID:4)
(6) id2 > Pin.board = PE12 (Serial RX, Pin.board = PE2) hub.port.E.dig1
(5) id1 > Pin.board = PC13 (Serial TX, Pin.board = PE3) hub.port.E.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin1 > Pin.board = PC6 (mode=Pin.OUT)
(1) pwm_pin2 > Pin.board = PC7 (mode=Pin.OUT)

Port F (lpf2 Port ID:5)
(6) id2 > Pin.board = PE6 (Serial RX, Pin.board = PD14) hub.port.F.dig1
(5) id1 > Pin.board = PC11 (Serial TX, Pin.board = PD15) hub.port.F.dig0
(4) Vcc 3.3v
(3) GND
(2) pwm_pin2 > in.board = PB1 (mode=Pin.OUT)
(1) pwm_pin1 > Pin.board = PC8 (mode=Pin.OUT)

About

Technical info about LEGO Spike Prime Hub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%