This document shows you how to get started **with your color sensor.**
===== What is the color sensor? ===== The color sensor does exactly what is says on the tin... senses color! Each Marty comes with a color sensor attached as standard. It is needed to use our [[martyv2:userguides:unplugged|Marty Unplugged]] mode and can be used in [[martyv2:userguides:martyblocks:start|MartyBlocks]] and Python. {{ :martyv2:userguides:sensorsandaddons:foot_sensors.jpg?400&nolink |}} ===== Color Sensor Set Up ===== If you have not used your color sensor before you will need to configure it in our [[martyv2:userguides:app|Marty The Robot v2 App]]. After connecting to your Marty navigate to the configure page then Add Ons. In the list of Add Ons you will see one with the type "ColourSensor". %%Name the add on “LeftColourSensor” or “RightColourSensor”Then click update name%% {{ :martyv2:userguides:sensorsandaddons:colorsensor2.png?400 }} If you have removed your color sensor you can add it back again by following this video {{ youtube>ldpIoseIfVI?medium }} ===== Using the Color Sensor ===== If you would like to use the color sensor with Marty Unplugged please check out the user guide [[martyv2:userguides:unplugged|here]]. Using the color sensor in MartyBlocks is super simple! If you haven't used MartyBlocks before you can check out our user guide [[martyv2:userguides:martyblocks|here]]. Navigate down the block type until you find "Sensing". Within the sensing blocks you will find two blocks relating to the color sensor. {{ :martyv2:userguides:sensorsandaddons:image_from_ios_1_.png?600 |here}} We can then build our own unplugged remote by building some code like this! Important to keep in mind Marty will only recognise the colors of the unplugged color cards which are green, yellow, blue, purple and red! {{ :martyv2:userguides:sensorsandaddons:image_from_ios.png?600 }} If you would like to learn more about coding with the color sensor check out our lesson site [[https://learn.martytherobot.com/|here]]!