<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:diy_lego_cable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:v2:diy_lego_cable [2019/01/31 02:30]
pixycam
wiki:v2:diy_lego_cable [2019/01/31 17:51]
pixycam
Line 3: Line 3:
  
  
-====== LEGO cable for Pixy ======+====== LEGO cable for Pixy2 ======
  
-You can order a cable through some of our distributors. NotablyRobotshop ​is selling them [[http://​www.robotshop.com/​en/​pixy-cmucam5-lego-cable.html|here]].+You can order a cable through some of our distributors, ​just be sure to get the "Pixy2 LEGO Cable" instead of the "Pixy LEGO Cable" which is slightly different  ​
  
-Making your own LEGO cable requires a few parts. It's recommended that you use a 10-pin IDC connector, like [[https://​www.sparkfun.com/​products/​8535|this]],​ which is already crimped with a ribbon cable, or [[https://​www.sparkfun.com/​products/​10650|this]]. You also need a LEGO Mindstorms sensor/​motor cable that you don't mind chopping up, because those offset modular connectors are pretty hard to find. If you have a LEGO Mindstorms EV3 kit, you have several of these, but if you don't want to sacrifice one, you can buy them [[http://​shop.lego.com/​en-US/​EV3-Cable-Pack-45514|here]] or [[http://​www.amazon.com/​Lego-Mindstorms-45514-Cable-Pack/​dp/​B00I7POITY/​ref=sr_1_1?​ie=UTF8&​qid=1443631923|here]],​ or possibly lots of other places too. 
  
-Below is the connection diagram:+Making your own LEGO cable requires a few parts. It's recommended that you use a 10-pin IDC connector, like [[https://​www.sparkfun.com/​products/​8535|this]],​ which is already crimped with a ribbon cable, or [[https://​www.sparkfun.com/​products/​10650|this]]. You also need a LEGO Mindstorms sensor/​motor cable that you don't mind chopping up, because those offset modular connectors are pretty hard to find. If you have a LEGO Mindstorms EV3 kit, you have several of these, but if you don't want to sacrifice one, you can buy them [[http://​shop.lego.com/​en-US/​EV3-Cable-Pack-45514|here]] or [[http://​www.amazon.com/​Lego-Mindstorms-45514-Cable-Pack/​dp/​B00I7POITY/​ref=sr_1_1?​ie=UTF8&​qid=1443631923|here]],​ or possibly lots of other places too.
  
-{{wiki:img:​5f4037255dc89f89cc6a0f16b6af33aab50c93ad.jpg?​400}}+Below is the connection chart:
  
 <​code>​ <​code>​
-10-pin Pix2 I/O Connector ​       LEGO Cable+10-pin Pix2 I/O Connector ​   LEGO Cable
  
-Pin 2  ----------------------> ​    ​green +Pin 2  ---------------------->​ green 
-Pin 5  ----------------------> ​    ​yellow +Pin 5  ---------------------->​ yellow 
-Pin 6  ----------------------> ​    ​red +Pin 6  ---------------------->​ red 
-Pin 9  ----------------------> ​    ​blue+Pin 9  ---------------------->​ blue
 </​code>​ </​code>​
  
 The black and white wires from the LEGO cable are not connected to anything - you can just snip them off. Similarly, pins 1, 3, 4, 7, 8 and 10 on the 10-pin IDC are not used. The black and white wires from the LEGO cable are not connected to anything - you can just snip them off. Similarly, pins 1, 3, 4, 7, 8 and 10 on the 10-pin IDC are not used.
  
-[[wiki:​v2:​Port_Pinouts|Click here for a useful diagram of which pins are which.]]+For more information, ​[[wiki:​v2:​Port_Pinouts|this page]] has Pixy2'​s port pinouts. ​
  
  
wiki/v2/diy_lego_cable.txt · Last modified: 2019/02/15 22:07 by jfrench