Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Cannot using pin 13 in intel edison new breakout board from dfrobot

KKazu1
Beginner
1,043 Views

Hi ,

I have a problem, I cannot access pin 0-13 in my new breakout board from dfrobot

I use python code to make pin 0-13 on ,, here my code (I tried to make pin 13 on)

import mraa

i=mraa.Gpio(13)

i.dir(mraa.DIR_OUT)

while True:

i.write(1)

I try to use another pin 1-12 but it same, I cannot make pin 0-12 on

Thank for your help

1 Solution
Diego_V_Intel
Employee
176 Views

Hi Kirito,

I checked the product page in this link: http://www.dfrobot.com/index.php?route=product/product&product_id=1244&search=edison&description=tru... .VubHTvkrJQI IO Expansion Shield for Intel® Edison (without Edison), and it seems that other users have asked the same question before.

You should check the schematic of this expansion board (https://github.com/Arduinolibrary/DFRobot_IO_expansion_board_for_Edison/blob/master/IO%20expansion%2... https://github.com/Arduinolibrary/DFRobot_IO_expansion_board_for_Edison/blob/master/IO%20expansion%2...…) and the following MRAA table: http://iotdk.intel.com/docs/master/mraa/edison.html mraa: Intel Edison. The table shows how the physical pins are mapped to the MRAA pin numbers. The pin 13, for example, is connected to the GP40 of the Edison module which is mapped to the MRAA number 37. This means that you should use the number 37 in your code instead of the number 13.

Regards,

Diego

View solution in original post

1 Reply
Diego_V_Intel
Employee
177 Views

Hi Kirito,

I checked the product page in this link: http://www.dfrobot.com/index.php?route=product/product&product_id=1244&search=edison&description=tru... .VubHTvkrJQI IO Expansion Shield for Intel® Edison (without Edison), and it seems that other users have asked the same question before.

You should check the schematic of this expansion board (https://github.com/Arduinolibrary/DFRobot_IO_expansion_board_for_Edison/blob/master/IO%20expansion%2... https://github.com/Arduinolibrary/DFRobot_IO_expansion_board_for_Edison/blob/master/IO%20expansion%2...…) and the following MRAA table: http://iotdk.intel.com/docs/master/mraa/edison.html mraa: Intel Edison. The table shows how the physical pins are mapped to the MRAA pin numbers. The pin 13, for example, is connected to the GP40 of the Edison module which is mapped to the MRAA number 37. This means that you should use the number 37 in your code instead of the number 13.

Regards,

Diego

Reply