GithubHelp home page GithubHelp logo

spikeprimehub's Introduction

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)

spikeprimehub's People

Contributors

giancann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.