{"id":42,"date":"2025-10-07T09:44:05","date_gmt":"2025-10-07T08:44:05","guid":{"rendered":"https:\/\/blinkbonnie.xyz\/?p=42"},"modified":"2025-10-07T09:44:06","modified_gmt":"2025-10-07T08:44:06","slug":"rebooting-spot-x","status":"publish","type":"post","link":"https:\/\/blinkbonnie.xyz\/?p=42","title":{"rendered":"Rebooting Spot X"},"content":{"rendered":"\n<p>Over the last few weeks I\u2019ve been messing about with options for getting Spot X running again. My focus has been trying to use a Raspberry Pi Pico as the controller but this has been a tedious process.<\/p>\n\n\n\n<p>Principally it comes down to 2 things: Voltage and Tooling.<\/p>\n\n\n\n<p>First the tooling. I\u2019m in a peculiar situation of not having the resources to produce PCBs that I did back before everything. Now I find myself having to bodge together robot controller boards using stripboard, which has flow on effects like not being able to use modular connectors and so on.<\/p>\n\n\n\n<p>So I made up a main board with a Pico on it, stuck it in the robot and it promptly fried the Pico \u2013 dead short between ground and vSys. I\u2019m not certain, but I think it was because I had the robot power on at the same time as having it plugged into the USB.<\/p>\n\n\n\n<p>So that went in the bin.<\/p>\n\n\n\n<p>I built another main board, this time with the Pico soldered directly to the copper. Trouble is, pin2 shorted to ground, so that UART is unusable. Otherwise, the new main board works fine, except that the whole thing is such a cludge. I\u2019m half thinking of designing a PCB.<\/p>\n\n\n\n<p>Then there\u2019s the voltage. All my existing electronics runs at 5v. The Pico runs at 3.3v, making interfacing with my existing modules a challenge.<\/p>\n\n\n\n<p>The other issue with the voltage is that I\u2019m still using a 7805 based power module. I want to switch over to using some Li-Ion battery packs that deliver 18v and a 13v stepdown is too much. So I\u2019ll need to source a buck module before that happens, meaning I\u2019m stuck using some old 12v SLAs for now.<\/p>\n\n\n\n<p>As part of the project, I\u2019ve changed the PIC controlled motor control module for a smaller, dumb unit that fits under the deck. But the Pico can\u2019t drive the FETs at 3.3v. Fortunately I was able to repurpose a mini PIC board that I\u2019d made to go with the new motor controller. The Pico is able to communicate with the PIC, which is able to drive the motor FETs.<\/p>\n\n\n\n<p>I also had difficulty interfacing with the old sonar rangefinders. After some fiddling I managed to get a signal using a level shifter module I made up with some salvaged bits.Whether or not the module is reliable enough is another matter.<\/p>\n\n\n\n<p>Another problem is getting the bump sensors to work. I guess I\u2019m still a fan of having the LEDs running on the bumpers, but that\u2019s not going to fly given the connectivity options. They were designed for 5V operation with modular connectors. Interfacing all those wires to a perfboard, given the small amount of space I have, would be a nightmare and going from modular connector to soldered joint is nasty at the best of times.<\/p>\n\n\n\n<p>So there\u2019s a lot of challenges, but the robot is operating.<\/p>\n\n\n\n<p>I like the way it looks with the clean deck. Spot X in the past had a tower of multiple circuit boards stacked on top of each other. Having all the electronics under the deck is an improvement.<\/p>\n\n\n\n<p>The WiFi control also works pretty well. I have a WiFi hot spot gadget that I\u2019m planning to use as a connection option. It\u2019s small enough to be velcroed onto the robot and provide the WiFi network.<\/p>\n\n\n\n<p>The Pico is set up to serve a web page with control buttons and this can be accessed by any computer on the network \u2013 it\u2019s an extension of the system used in my light box project.<\/p>\n\n\n\n<p>Now I\u2019m at the stage of diving deep into the autonomous driving. I need to have a bit of a think how this will all work, look at the PicBasic code I wrote for Spot X ages ago and see how much I can port over into python.<\/p>\n\n\n\n<p>Originally written <a href=\"http:\/\/10.1.1.201\/index.php\/2025\/08\/27\/rebooting-spot-x\/\">August 27, 2025<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the last few weeks I\u2019ve been messing about with options for getting Spot X running again. My focus has been trying to use a Raspberry Pi Pico as the controller but this has been a tedious process. Principally it comes down to 2 things: Voltage and Tooling. First the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":1,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blinkbonnie.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}