ssloy / penny

3 servos, 10 dollars hexapod
Do What The F*ck You Want To Public License
31 stars 6 forks source link

Penny clone (Arduino-ESP32 based) #1

Open sensboston opened 4 years ago

sensboston commented 4 years ago

Finally got my hands on "Penny" last weekend, here is a result: https://www.youtube.com/watch?v=iT2JZWRhM9s

ESP32 dev board a lil-bit wider for original design but it's OK. Will fork project and publish my changes soon, after "polishing" code (I hope so).

P.S. By the way, we've already met on habr. I already received PCBs but not CPUs (from ali, for original design). But I'm thinking about adopt RPi Zero W (got a couple for the sale price, $5 each).

ssloy commented 4 years ago

Nice job! Personally I'd like to work on the quality of the movements; right now my code produces a rough jerky pace. Ultrasonic sensors can fail to detect foam blocks, as it absorbs sound. I'd suggest to try with regular card boxes. Keep me updated please!

sensboston commented 4 years ago

Ultrasonic sensors can fail to detect foam blocks

Thanks, I didn't know that (just picked some of foam specimens I brought from work, for my children), will try today different kind of blocks (children's plastic cubes).

Dmitry (btw, I'm Sergey), could you redesign frame for a little? Make a middle gap wider, legs longer and motor fixtures higher (to provide more space to fit RPi Zero and probably use 4 AA battery holder or RC battery)? Also, have you resolved issue with walking on the hardwood floor (or any other smooth surface)? My "Penny" walks nice on a carpet but fails on hardwood floor. Might be, rubber "shoes" will solve the problem but I need an idea where to get 'em.

ssloy commented 4 years ago

Different sensors have their own flaws, for example, infrared-based:

whereas ultrasonic-based:

Note that I have mounted two sensors in order to detect whether the bot has to turn right or left to avoid the obstacle. The repository contains source google sketchup files, those are really easy to adjust to suit your needs.

As for the socks, for the moment I did nothing, but I am all about low budget. The possibilites are:

sensboston commented 4 years ago

I have mounted two sensors in order to detect whether the bot has to turn right or left to avoid the obstacle.

Yeah, that smart. I ordered a few IR-sensors on ali, as you recommended (that was my mistake but I tried to fit in $10 budget - eBay prices from US sellers are higher 3-4 times) but they haven't arrived yet.

The repository contains source google sketchup files, those are really easy to adjust to suit your needs.

I do have 0 experience working with google sketchup, but the main problem - I don't have 3D printer (probably, need to purchase good one, as an "entertainment" device). From my understanding, any frame changes (even a simple scaling) will require a test printing, to be sure what everything is OK. Guy from my work, Nelson, printed (for $8) my current Penny parts for me but I can't ask him (especially now, we're mostly working from home) to make a test prints.