[{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/002/701/original/CrickBotFace.jpg?1794189061","metadata":{}},{"element_type":"text","content":"\u003ch1\u003eBuilding the Happy CrickBot\u003c/h1\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eMy granddaughter and I still enjoy robots, including the\u003ca href=\"https://adafruit-playground.com/u/mrklingon/pages/robots-robots-everywhere\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e one I built for her earlier\u003c/a\u003e ... and since I had an Adafruit CRICKIT platform I hadn't used much after the old Circuit Playground Express on it lost most of its neopixels (No, I don't know why - all the other ones (and I have more than a few) work great.)\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eSo.. I bought a replacement CPX, and some more servos and after fiddling around came up with this.\u003c/p\u003e","metadata":{}},{"element_type":"embed","content":"https://youtube.com/shorts/-3x5Zp1TJts?is=GGN_0izvHRw1nMtY"},{"element_type":"text","content":"\u003ch2\u003eParts used:\u003c/h2\u003e\u003cp\u003eCRICKIT platform\u003c/p\u003e\u003cp\u003eCircuit Playground Express\u003c/p\u003e\u003cp\u003e2 \u003ca href=\"https://www.adafruit.com/product/169\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eServos \u003c/a\u003econnected to CRICKIT 1\u0026amp;2 (these are the \"arms\")\u003c/p\u003e\u003cp\u003e1 \u003ca href=\"https://www.adafruit.com/product/2442\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eContinuous Servo\u003c/a\u003e connected to CRICKIT 4 (this is the scanner)\u003c/p\u003e\u003cp\u003e\u003ca href=\"https://www.adafruit.com/product/3842\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eAA Battery pack\u003c/a\u003e for CRICKIT power\u003c/p\u003e\u003cp\u003eI decided to program it in Makecode - \u003ca href=\"https://makecode.com/_9VXFbrMEy2es\"\u003ecode here\u003c/a\u003e\u003c/p\u003e\u003ch2\u003eThere are a bunch of controls:\u003c/h2\u003e\u003cul\u003e\u003cli\u003eButton A - arms swing right (or is that the robot's left?)\u003c/li\u003e\u003cli\u003eButton B - arms swing left\u003c/li\u003e\u003cli\u003eButton A+B - start/stop the rotating \"scanner\"\u003c/li\u003e\u003cli\u003eTouch A3 - Swing arms and start/stop scanner\u003c/li\u003e\u003cli\u003eCrickit touch #1 - same as Button A\u003c/li\u003e\u003cli\u003eCrickit touch #2 - same as Button B\u003c/li\u003e\u003cli\u003eCrickit touch #3 - swing left arm (also touch A6)\u003c/li\u003e\u003cli\u003eCrickit Touch #4 - swing right arm (also touch A7)\u003c/li\u003e\u003cli\u003eBright light - swing arms / start stop scanner multiple times\u003c/li\u003e\u003c/ul\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eFor fun, I decided to use another of my CPX units as a DroidControl - MakeCode \u003ca href=\"https://makecode.com/_gFt2ikXXLdC9\"\u003ecode here\u003c/a\u003e\u003c/p\u003e\u003cp\u003eThe controller sends infrared signals:\u003c/p\u003e\u003cul\u003e\u003cli\u003eButton A - Swing arms right\u003c/li\u003e\u003cli\u003eButton B - Swing arms left\u003c/li\u003e\u003cli\u003eButtons A+B - swing arms / start stop scanner multiple times\u003c/li\u003e\u003c/ul\u003e\u003cp\u003e\u003c/p\u003e\u003ch2\u003eTinkering Fun\u003c/h2\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eWith a platform like this, and especially using the MakeCode IDE, it's really easy to make changes and tweak the design. I added the smile() function to easily paint the \"smile\" on the Neopixels. Deciding to add the remote was likewise a breeze - I just add the dispatcher to pick up the IR signals and code the very(!) simple controller to send them. And, If I want to add more behavior to run with the remote, that will be very a snap.\u003c/p\u003e","metadata":{}}]