Pinout PyControl behavioural port to Micropython board

55 views
Skip to first unread message

Julien Carponcy

unread,
Jun 22, 2021, 1:26:17 PM6/22/21
to pyControl
Hi,

Am I missing a ressource or there is no available pinout diagram to figure out to which Micropython pins corresponds the 2 DIO lines of the Port 1-6 ?
It turns out not so easy to trace with a multimeter neither following the RJ45 pinout nb (for pin 4-5) all the way... 
Is that information available somewhere? A tip to help me figure it out?

Thank you very much in advance,

Julien

alus...@gmail.com

unread,
Jun 22, 2021, 3:15:09 PM6/22/21
to pyControl
Hi Julien,

The mapping between the pyboard pins and the port DIO lines can be found in the "_breakout_1_2.py" file that is in the "devices" directory https://github.com/pyControl/code/blob/master/devices/_breakout_1_2.py 

-Andy

thoma...@neuro.fchampalimaud.org

unread,
Jun 22, 2021, 3:18:53 PM6/22/21
to pyControl
Hi Julien,

The schematics for the standard six port breakout board 1.2 is online here, however it is probably easier to look at the device driver file for the breakout board here, where the pins used for the different lines on each port are specified when the port objects are instantiated, e.g:

self.port_1 = _h.Port(DIO_A='X1', DIO_B='X2' , POW_A='Y7' , POW_B='Y8' , POW_C='Y11', UART=4)

indicating that for port 1 the DIO_A line is pyboard pin X1 etc.

best,

Thomas
Message has been deleted

thoma...@neuro.fchampalimaud.org

unread,
Jun 22, 2021, 3:24:19 PM6/22/21
to pyControl
Thanks Andy - our messages crossed!

Julien Carponcy

unread,
Jun 23, 2021, 4:55:36 AM6/23/21
to pyControl
Thank you both very much! 
Reply all
Reply to author
Forward
0 new messages