jsconfcn / nodebots-session

The code for nodebots session for 2015 Shen JS
22 stars 6 forks source link

Question about pin map on main board #1

Open fraserxu opened 9 years ago

fraserxu commented 9 years ago

From @Makeblock-official 's demo repo, we can barely know the pin map on the board.

var PORT1_PIN1 = 11,
    PORT1_PIN2 = 12,
    PORT2_PIN1 = 9,
    PORT2_PIN2 = 10,
    PORT3_PIN1 = 16, // A2
    PORT3_PIN2 = 17, // A3
    PORT4_PIN1 = 14, // A0
    PORT4_PIN2 = 15, // A1
    MOTORL_PWM = 6,
    MOTORL_DIR = 7,
    MOTORR_PWM = 5,
    MOTORR_DIR = 4;

We need to know the detail pin map for the board used for mbot.

cc/ @ajfisher

Makeblock-official commented 9 years ago

we have noted extension port pins by silk print. for those on board devices please ref the schematic at https://github.com/Makeblock-official/mBot_Firmata/blob/master/hardware/mCore.pdf

ajfisher commented 9 years ago

Excellent - with the RJ25 connections are they designed to connect to specific components? I saw that two appear to be connected to the analog pins and two connect to the digital pins?

On Thu, May 7, 2015 at 11:06 PM Makeblock notifications@github.com wrote:

we have noted extension port pins by silk print. for those on board devices please ref the schematic at https://github.com/Makeblock-official/mBot_Firmata/blob/master/hardware/mCore.pdf

— Reply to this email directly or view it on GitHub https://github.com/jsconfcn/nodebots-session/issues/1#issuecomment-99857856 .

Makeblock-official commented 9 years ago

just compatible to existing makeblock electronics. each port have 2 gpio ,2 pins for i2c bus and other 2 for 5v power supply. there is some solder points back to the rj25 ports dedicate for common electronic modules.