<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:pixy_lego_quick_start

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
wiki:v2:pixy_lego_quick_start [2019/01/29 16:48]
pixycam
wiki:v2:pixy_lego_quick_start [2022/05/06 12:08] (current)
kees Edit Kees - Update LEGO Quick Start (May 2022)
Line 1: Line 1:
 ====== Pixy2 LEGO Quick Start ====== ====== Pixy2 LEGO Quick Start ======
  
-This guide will get you up and running quickly with Pixy2 and LEGO Mindstorms. You must have a LEGO Mindstorms EV3 or NXT brick with a fresh set of batteries. We try to be as detailed as possible in this guide, but it helps if you are somewhat familiar how to use your LEGO Mindstorms system.+This guide will get you up and running quickly with Pixy2 and LEGO Mindstorms 
 +EV3. You must have a LEGO Mindstorms EV3 brick with a fresh set of batteries. 
 +We try to be as detailed as possible in this guide, but it helps if you are 
 +somewhat familiar ​with how to use your LEGO Mindstorms system. 
 + 
 +//If you have LEGO Mindstorms NXT, we're sorry, but we no longer support NXT.//
  
 Please follow this guide closely and by all means, **don'​t skip any steps**! Please follow this guide closely and by all means, **don'​t skip any steps**!
  
 +===== 1. Install PixyMon v2 on your PC (Windows, Mac or Linux) =====
  
-===== 1. Make sure you're running the most recent LEGO Software ===== +If you're just getting started with Pixy2, you should install PixyMon ​on your 
- +PC. It will allow you to configure Pixy2 and see what it sees. Choose your 
-We recommend running version 1.3.1 or later of the **LEGO Mindstorms EV3 Home Edition** software. If you already have it installed, go to the **Help** menu and select **Check for Software Updates** to make sure you are running the latest version. +platform below:
- +
-Or you can go to the [[http://​www.lego.com/​en-us/​Mindstorms/​downloads/​download-software|LEGO website]] to download and install. +
- +
- +
-===== 2. Make sure you're running the most recent LEGO firmware on your NXT or EV3 Brick ===== +
- +
-**If you are using the NXT Brick** you should be running firmware version 1.31 or later. This firmware is available from the [[http://​www.lego.com/​en-us/​mindstorms/​downloads|LEGO website]] (you need to scroll down to find it). Note, we found this confusing, but you can run the [[http://​www.lego.com/​en-us/​Mindstorms/​downloads/​download-software|EV3 software]] with NXT. In fact, this is required in order to use Pixy2 with LEGO -- that is, you need to be running the newer EV3 software and not the NXT software. Possibly adding to the confusion is the fact that you can't upgrade the NXT firmware from the EV3 software. You need to upgrade the NXT firmware from the NXT Software. So go ahead and upgrade your NXT's firmware, if you are running firmware that is older than 1.31. +
- +
-**If you are using the EV3 Brick** you should be running firmware 1.09H or later. This firmware is available from the [[http://​www.lego.com/​en-us/​mindstorms/​downloads|LEGO website]] (you need to scroll down to find it). You can upgrade the firmware from the EV3 Software application by going to the **Tools** menu and selecting **Firmware Update**. Interestingly,​ if you select **Check Online** in the Firmware Update dialog box, the latest firmware you will be able to download (at the time of this writing) is 1.06H. We recommend using 1.09H, so download that version from the [[http://​www.lego.com/​en-us/​mindstorms/​downloads|LEGO website]] and select **Browse** in the Firmware Update dialog box to select the firmware file you just downloaded and then click on the **Download** button in the Firmware Update dialog box to download the new firmware into your brick. +
- +
- +
-===== 3. Install the Pixy2 EV3 Block ===== +
- +
-Let's install the Pixy2 EV3 block in the Mindstorms EV3 Software by performing the following steps: +
- +
-  - Download the latest "LEGO blocks and examples"​ file from [[https://​pixycam.com/​downloads-pixy2/​|this page]]. +
-  - This is a zip file, so go ahead and unzip it. +
-  - Open the LEGO Mindstorms EV3 Software that you downloaded in step 1 above. +
-  - Open a New Project by selecting **File➜New Project** +
-  - Select **Tools➜Block Import** and then select **Browse** \\ +
-{{wiki:​v2:​image_695.png}}\\ +
-\\ +
-  - Browse to the location where you unzipped the "LEGO blocks and examples"​ file. Choose the Pixy2-x.y.z.ev3b"​ file in the **blocks** directory\\ +
-{{wiki:​v2:​image_700.png?​800}}\\ +
-\\ +
-  - Import the Pixy2 EV3 block by clicking on **Import**.\\ +
-{{wiki:​v2:​image_698.png}}\\ +
-\\ +
-  - Close and restart the LEGO Mindstorms EV3 Software.\\ +
-{{wiki:​img:​8ad21a0eb5fe68271dfa90910f17ec3f7cb734f6.png}} +
- +
-Whew, you're almost done with this installing software and firmware business. You just need to install PixyMon, which should be easy. +
- +
- +
-===== 4. Install PixyMon v2 ===== +
- +
-If you're just getting started with Pixy2, you should install PixyMon ​next. It will allow you to configure Pixy2 and see what it sees. Choose your platform below: +
   * [[wiki:​v2:​Install_PixyMon_on_Mac|PixyMon on Mac]]   * [[wiki:​v2:​Install_PixyMon_on_Mac|PixyMon on Mac]]
   * [[wiki:​v2:​Install_PixyMon_on_Windows_Vista_7_8|PixyMon on Windows Vista, 7, or 8]]   * [[wiki:​v2:​Install_PixyMon_on_Windows_Vista_7_8|PixyMon on Windows Vista, 7, or 8]]
Line 52: Line 20:
   * [[wiki:​v2:​Installing_PixyMon_on_Linux|PixyMon on Linux]]   * [[wiki:​v2:​Installing_PixyMon_on_Linux|PixyMon on Linux]]
  
 +===== 2. Teach Pixy2 an object =====
  
-===== 5. Teach Pixy2 an object ​=====+After you install PixyMon and get it running, the next step is to 
 +[[wiki:​v2:​Teach_Pixy_an_object_2|teach Pixy an object]], or 2, or 3...
  
-After you install PixyMon and get it running, the next step is to [[wiki:​v2:​Teach_Pixy_an_object_2|teach Pixy an object, or 2, or 3]]...+===== 3. Hook Pixy2 up to your LEGO brick =====
  
 +Your Pixy2 should now be locating and tracking the object(s) that you taught
 +it. You're now ready to connect Pixy2 to your LEGO brick. Use the supplied
 +cable and the pictures below as a guide.
  
-===== 6Hook up to your LEGO brick and run the demo =====+{{wiki:​v1:​img_5325_result.jpg?400}}
  
-  - Your Pixy2 should now be locating and tracking the object(s) that you taught it. (hooray!) You're now ready to connect Pixy2 to your LEGO brick. Use the supplied cable and the pictures below as a guide. If you are using an NXT controller, connecting Pixy2 is practically identical (see below.) ​ Be sure to connect Pixy2 to sensor port number 1 (on the far left as shown.) ​ All examples will assume Pixy2 is plugged into sensor port number 1.\\ +{{wiki:v1:img_5323_result.jpg?400}}\\
-{{wiki:img:0078cda6f6004b5855ec5ac009e8c4fb16d26c27.jpg?350}}\\ +
- \\ +
-{{wiki:​img:​ec3fd5eda8518de3c32167dc056e800f724ac1d3.jpg?​350}}\\ +
-  +
-  - Next, turn on your LEGO brick if you haven'​t done so, and hook up a USB cable between your computer and your LEGO brick. +
-  - From the LEGO Mindstorms EV3 Software, go to the **File** menu and select **Open Project**.\\ +
-{{wiki:​img:​3e3b64f2ff052ac58280fa2315eff9d803714e6e.png}}\\ +
-  - Browse to the location where you unzipped the "LEGO blocks and examples"​ file, and then to the **examples** directory and then either to the **EV3** or **NXT** directory depending on your brick version. Select "​ccc\_test.ev3"​ and click on **Open**.\\ +
-{{wiki:​v2:​image_702.png?​800}}\\ +
-\\ +
-You should see something like this (below). This is the ccc\_test program. Note the Pixy2 sensor block!\\ +
-{{wiki:​v2:​image_703.png?​800}}\\ +
-\\ +
-  - Run the program! Click on the play icon in the lower right corner of your EV3 software window. If you don't see the play icon, make sure your LEGO brick is powered on, finished booting, and connected to your computer via a USB cable.\\ +
-{{wiki:​v2:​image_704.png}}\\ +
-\\ +
-  - Move the object that you taught Pixy2 in front its camera lens. You should see the object move on your LEGO brick'​s LCD screen. If you are using an NXT brick, you will still see a circle on the screen, but you will only see the outline of the circle (the NXT brick cannot fill-in circle shapes.)\\ +
-{{wiki:​img:​5daa2ca69602bb4e928eb4c495e0abba3308024b.png?​500}}\\ +
- +
  
-You're done! You've successfully set up Pixy2 on your LEGO Mindstorms system! You are now ready to start building LEGO robot creations that use the powerful sensing capabilities of Pixy2For more detailed info on the Pixy2 software block, check out [[wiki:​v2:​Pixy_LEGO_Block|this page.]]+===== 4Build and run a program =====
  
 +There are two ways to build and run a program for Pixy2. Follow the instructions
 +on one of these pages:
 +  * Using the [[wiki:​v2:​lego_home_edition|LEGO Mindstorms EV3 Home Edition]] software.
 +  * Using [[wiki:​v2:​python|Python or MicroPython]].
 +
 +The LEGO Mindstorms EV3 Home App is not supported at this moment. Contact us
 +if you think you can help us with this.
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 102: Line 63:
  
 Thanks again for your support! Thanks again for your support!
- 
- 
- 
- 
- 
- 
- 
wiki/v2/pixy_lego_quick_start.1548780484.txt.gz · Last modified: 2019/01/29 16:48 by pixycam