You are here

Cypress Maker Lab - Oh dear, the parts arrived | 赛普拉斯半导体

Cypress Maker Lab - Oh dear, the parts arrived

Barc, the robot dog, arrived the other day. Well Barc in pieces really. I got the car kit and the motor board and some assorted bits I do not yet know if I need. Things like a solderless breadboard and some breakable header pins (that's break-apart-able, not breakable by the way).  I already have some PSoC prototyping kits which will be great for this project because they are small and I can use it with the breadboard. I started by unpacking the car kit.

Adafruit Mini Robot Rover Chassis Kit

Adafruit Mini Robot Rover Chassis Kit - 2WD with DC Motors

My first surprise was the total lack of assembly instructions. I had braced myself for an evening of inserting tab A into slot G plus a lot of frustration and swearing. Maybe I have just bought too much flat-pack furniture in my time? But it turns out there really was no need for instructions. You would really have to struggle to get this wrong. There are online videos at Adafruit which are good - but they really just reassure you that you are doing things in a sensible order, as opposed to explaining a tricky assembly process.

It broke down into four steps. First, I attached the motors to the main body of the car, each motor requiring a pair of nuts/bolts to fix them securely onto the cut-outs on the side of the car. Next, I slid the tires over the wheel rims, pushed them onto the motor spindles, and attached them with a bolt. At that point you can just bolt on the front caster wheel and you have a serviceable base for your robot. There is also an "upper deck" that you can attach to the main body of the car with a few bolts and a pair of metal holdy-uppy things (sorry, I do not know the real word for these inch-long bits of metal - but they hold up the second story so holdy-uppy things seems as good a name as any). Note that the picture, above, does not show the holdy-uppers or the screws that go with them, but they are included in the kit.

Barc - Cypress Maker Lab Robot Dog

Barc from below, showing the motors fixed to the chassis

Barc - Cypress Maker Lab Robot Dog

Barc from the side, showing the upper deck

The whole process took about an hour. It would have been ten minutes if I were not simultaneously watching sport on TV, snacking on hummus dip, and could be bothered to find my glasses. I do not actually NEED glasses, you understand, I just use them when I want to see things. So, yes, you can assemble this thing with your eyes (almost) closed. The only step that was not completely obvious was that the bolts for the motors and wheels are different. The wheel bolts have a tiny flange on them to hold the wheel securely. But this is not a real complaint, I think I just wanted an excuse to use the wonderful word "flange". Try saying flange without really over-emphasizing the "ange" part. It's impossible!

Now, of course, we start getting into the difficult part - the actual engineering thing. The plan is pretty simple. I shall drive the motors to move him around  from the PSoC and use either PIR sensors or CapSense proximity detection to figure out when a friendly human is nearby. When he "smells" a distant hand, Barc shall bound forward to say hello. Get too close and he will back off (possibly growling if I have time to add a buzzer).

CY8CKIT-043 PSoC 4 M-Series Prototyping Kit

PSoC Prototyping Kit with programmer and breadboard-friendly pinout

The next step is to fix legs onto the PSoC kit and the motor board, then put them on the breadboard and wire them together. I'm going to have to break out a soldering iron, and they scare me. Once at high school, a long, long time ago, I tried to solder something. I think it was a guitar amplifier because that is what kids made back then. It was a miserable experience that ended in total failure. I just do not have an affinity for it and I am pretty sure I am going to have a similar experience this time.

But there is no backing out now. Next time I shall post the humiliating results of my soldering exploits and see if I can make the wheels turn…

 

Blog: 

Comments

Greg Lőrincz's picture

How is it going so far? 

本网站上的所有内容和材料均“按原样”提供。赛普拉斯半导体公司及其各个供应商对这些材料用于任何用途的适用性不作陈述,并且对关于这些材料的所有担保和条件概不负责,包括但不限于有关适销性、针对特定用途之适用性、权利和不侵犯任何第三方知识产权的所有暗示担保和条件。赛普拉斯半导体公司不授予任何明示或暗示的许可(无论是以默许方式或是任何其他方式)。使用本网站上的信息可能需要第三方的许可,或赛普拉斯半导体公司的许可。

本网站上的内容可能包含或必须遵守关于使用的特定准则或限制。所有帖子和使用本网站上的内容都必须遵守本网站的条款与条件;使用这些内容的第三方必须同意遵守任何限制或准则,并遵守本网站的条款与条件。赛普拉斯半导体公司及其供应商保留随时对内容和材料、产品、计划和服务进行纠正、删除、修改、增强、改进或其他变更,或者移动或终止任何内容、产品、计划或服务的权利,恕不另行通知。