You are here

Cypress Maker Lab - Oh dear, the parts arrived | Cypress Semiconductor

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? 

본 사이트의 모든 컨텐츠와 자료는 "있는 그대로" 제공됩니다. CYPRESS SEMICONDUCTOR와 해당 공급자는 그 목적에 관계 없이 이러한 자료의 적합성에 대한 표현을 하지 않으며 상업성, 특정 목적에의 적합성, 권리 및 제3자 지적 재산권의 비침해에 대한 모든 묵시적 보증과 조건을 포함하여(이에 제한되지 않음) 이러한 자료와 관련한 모든 보증과 조건을 부인합니다. CYPRESS SEMICONDUCTOR에서는 명시적 또는 묵시적으로 금반언이나 여타의 다른 방법으로 라이센스를 부여하지 않습니다. 이 사이트의 정보를 사용하려면 제3자의 라이센스 또는 CYPRESS SEMICONDUCTOR에서 제공하는 라이센스가 필요할 수 있습니다.

이 사이트의 컨텐츠에는 특정 사용 지침이나 제한이 포함되거나 그러한 제한이 적용될 수 있습니다. 모든 게시물과 이 사이트 컨텐츠 사용에는 사이트 약관이 적용됩니다. 이 컨텐츠를 사용하는 제3자는 제한 또는 지침을 따르고 이 사이트의 약관을 준수할 것이라는 데 동의합니다. Cypress Semiconductor와 그 공급자는 컨텐츠와 자료, 그 제품, 프로그램 및 서비스를 언제든 수정, 삭제, 개조, 개선, 향상 및 기타 변경하거나 예고 없이 컨텐츠, 제품, 프로그램 또는 서비스를 이동 또는 중단할 수 있는 권리를 보유합니다.