collapse

Author Topic: BoB Jr.  (Read 8188 times)

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
BoB Jr.
« on: September 20, 2015, 08:46:47 PM »
IMGP0050.jpg
*IMGP0050.jpg (66.99 kB . 1024x576 - viewed 914 times)


First steps:

I have to say thanks to Deshipu for making ╬╝BoB. Your tiny rendition of BoB inspired me to build this project. Thank you.
K120189 A.K.A. the BoBfather, thanks for making such a cute bot that has inspired a great many to try out a biped build.
Protowrxs and his great little TED the BiPed.
FrankNeon's sharp looking Arduped.
Cevinius and his many awesome biped creations.
And last but not least David Buckley for his research into minimal designs for bipeds. Most notably Loki, the great grandfather of all these simple biped designs.
 
The design:

I started this project with the intent to make the smallest biped I could manage, also I wanted to design it to print on my Printrbot Simple. I collected all of the parts together and after taking measurements, drew up the design in CAD. I tried to replicate K120189's BoB, but on a smaller scale.

BoB Jr.'s head was designed to have a hinge so that I could free-form the components inside, allowing room to solder things as I went. I made some changes to the legs and feet, most notably I reversed the orientation of all of the servos by 180 degrees. This puts the servo output shafts to the rear of the bot. I also enclosed servos in the feet, mainly for cosmetic reasons but also for space savings. The legs were designed to be printed with the servo spline so that they can simply be attached to the servos without using the standard horns. This took a couple revisions to get right because of the tiny size of the spline. In order to get the tooth size and spacing I scanned the spline end and imported the photo into CAD to measure the dimensions.



BoBJr_schematic.jpg
*BoBJr_schematic.jpg (96.13 kB . 705x768 - viewed 992 times)

 

The components and circuit:

Given the 1" cubed interior clearance inside BoB Jr.'s head everything was a tight fit and I had to file off a couple mm from each end of the 20 pin Picaxe 20M2 DIP chip to get it to fit inside. First I drew up a schematic of the circuit layout and inserted the (5) 3mm LED's into the mouth, then I inserted the DIP to that the legs of the IC aligned with the LED leads and I soldered those. For space savings, I only used one current limiting resistor for all 5 LED's. My camera was missing in action at that point so I don't have pictures from early in the build process. =/

Next I added (2) LTH-1550 IR sensors for the eyes. In order to save pins (and power), the phototransistors are wired in series from an output pin to ground, with the center tap going to an ADC input. To read the eyes, turn the output pin high and take an ADC reading. The nice thing about wiring the eyes in this fashion is that the readings are not affected by overall light level, only the difference between the sensors is read. The inbuilt IR LED's are wired in parallel but reversed in relation to each other. The two leads are then attached to two output pins, allowing either IR LED to be on or both to be off, but not both on at the same time. This reduced pin count and allowed me to use a single current limiting resistor.

There is a tiny piezo element inside to give Jr. a voice. Currently the beeps he makes are in direct relation to readings from the eyes. This will change as I finish up the programming.

Last, I added the servos. I used a tiny standoff with a nylon screw to act as a spacer between the servos to keep them aligned and locked into place.

The battery is a tiny 100mAh LiPo rated for 20C. The charger circuit is external to the bot.

At the top inside of the head I added a tiny strip of brass to use as a touch sensor... which has proven problematic. I am having a hard time getting consistant readings from it and am still testing but may not end up using it in the end. I have a feeling that the issue is it's close proximity to all the other wires and components.

 
The programming:

The hardest part for me has been the programming, as I am no programmer.

I was looking around on the Picaxe forums and found a great looking robot arm made by erco. http://www.picaxeforum.co.uk/showthread.php?20480-Work-in-Progress-6-DOF-Arm-Uses-PICAXE-20M2 He kindly provided his code for the project, and it helped me out a great deal. I pared off his simple servo movement code, which moves all the servos required slowly at 'the same time', and incorporated it into my program. I ended up using the table memory in the Picaxe to store the servo positions without taking up precious program memory. All servo positions are then edited at the beginning of the program by tweaking the values in the table memory.

For now the mouth is a simple larson scanner with beeps at the end relating to the eye readings. I have bigger plans for the LED mouth and piezo... I will cover this further in a future update.

Every now and again it checks the LiPo's voltage, and if it drops too low, goes into standby. I might tweak this to sound an alarm as well. It also checks to see if it's charging, and if so, goes into standby. I'm still very much working on the code. I am tweaking the walking gait and adding turning. I have a function already that will play back walking/turning but in reverse. I plan to add some dancing moves too, because... well... just because!

Here are some pics:

IMGP0065.jpg
*IMGP0065.jpg (68.21 kB . 1024x576 - viewed 843 times)

IMGP0032.jpg
*IMGP0032.jpg (68.22 kB . 1024x576 - viewed 947 times)

IMGP0038.jpg
*IMGP0038.jpg (95.77 kB . 1024x576 - viewed 943 times)

IMGP0043.jpg
*IMGP0043.jpg (69.08 kB . 1024x576 - viewed 895 times)

IMGP0045.jpg
*IMGP0045.jpg (68.53 kB . 1024x576 - viewed 828 times)

« Last Edit: October 22, 2015, 06:42:29 PM by Yahmez »

Protowrxs

  • Member
  • *
  • Posts: 145
    • The Protowrxs World
Re: BoB Jr.
« Reply #1 on: September 23, 2015, 01:28:20 PM »
How cool, I had not seen this before.

Are the 3d files available anywhere for printing?

Protowrxs
The past is done, the future is not here, live today...
My Bots: http://www.Protowrxs.com/robotics

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
Re: BoB Jr.
« Reply #2 on: September 23, 2015, 03:02:09 PM »
Thanks Proto.

I need to find the .stl files and post them up here. The legs are tricky because depending on your printer calibration and slicer settings the spline may or may not fit. I had to print a few sets with slightly different size internal splines until I found one that matched the servos well enough. I suppose you could always scale them up or down slightly in Repetier-Host to get around this as well.

Protowrxs

  • Member
  • *
  • Posts: 145
    • The Protowrxs World
Re: BoB Jr.
« Reply #3 on: September 23, 2015, 04:06:18 PM »
Thanks Proto.
... The legs are tricky because depending on your printer calibration and slicer settings the spline may or may not fit. I had to print a few sets with slightly different size internal splines until
 found one that matched the servos well enough.

Cool, super glue seems to fix most problems like that :-)
The past is done, the future is not here, live today...
My Bots: http://www.Protowrxs.com/robotics

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
Re: BoB Jr.
« Reply #4 on: September 23, 2015, 05:36:37 PM »
I have never had much luck with superglue on PLA. Maybe I am using the wrong kind though.

Protowrxs

  • Member
  • *
  • Posts: 145
    • The Protowrxs World
Re: BoB Jr.
« Reply #5 on: September 23, 2015, 06:12:11 PM »
I have never had much luck with superglue on PLA. Maybe I am using the wrong kind though.

Or just not enough? I think I used the gel type last time but it seemed to work...
The past is done, the future is not here, live today...
My Bots: http://www.Protowrxs.com/robotics

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
Re: BoB Jr.
« Reply #6 on: October 22, 2015, 06:50:07 PM »
Bump!

I updated the initial post to include the .stl files as well as the most basic recent program I wrote for it.

For printing, the head sits upright in normal fashion, the back of the head prints on it's side, the legs print so one part stands upright, and the feet in normal fashion. The feet and legs have to be mirrored so that you have a left and right copy of each.

Also, the assembly view is not quite up to date with the most current parts, but it's close enough. ;)
« Last Edit: October 22, 2015, 06:56:12 PM by Yahmez »

HitecPrimate

  • Member
  • ****
  • Posts: 77
Re: BoB Jr.
« Reply #7 on: October 22, 2015, 06:52:55 PM »
This is a cool bot! must have been fun to develop.

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
Re: BoB Jr.
« Reply #8 on: October 22, 2015, 07:27:09 PM »
This is a cool bot! must have been fun to develop.

Thanks man!

It was a fun project to design and build. I still need to finish the programming for him though. The code is there but it just needs some tweaking and functions added for turning, reversing, and dancing. Also I have to add something to utilize the eyes and mouth better... I'll get to it sooner or later I hope.

deshipu

  • Member
  • *
  • Posts: 113
  • Radomir Dopieralski
    • Homepage
Re: BoB Jr.
« Reply #9 on: October 23, 2015, 03:15:55 AM »
It's great to see that robot again here! Really nice design. Thanks!

erco

  • Member
  • *
  • e
  • Posts: 203
Re: BoB Jr.
« Reply #10 on: October 23, 2015, 04:18:03 PM »
That is pure AWESOMESAUCE, yahmez. WANT! Submit that to the Picaxe.com project gallery, you'll win a prize (pick their  bot120). Then write an article and submit to Robin at SERVO magazine for printing. Good exposure, plus you'll earn several hundred dollars for beer and/or more parts. Slam dunk!

http://www.servomagazine.com/index.php/writers-guidelines
« Last Edit: October 23, 2015, 06:51:21 PM by erco »

James

  • Sr. Member
  • *****
  • Posts: 281
  • (Yahmez)
Re: BoB Jr.
« Reply #11 on: October 25, 2015, 12:38:41 AM »
It's great to see that robot again here! Really nice design. Thanks!

Thanks man!


That is pure AWESOMESAUCE, yahmez. WANT! Submit that to the Picaxe.com project gallery, you'll win a prize (pick their  bot120). Then write an article and submit to Robin at SERVO magazine for printing. Good exposure, plus you'll earn several hundred dollars for beer and/or more parts. Slam dunk!

Wow, thanks erco. What a compliment. I don't know if I have the writing skills to do that but you are seriously making me consider it. I think it would be a challenging build for most, I know it was for me. The free forming aspect is the toughest part for sure. Hell, I had to file down the IC to even fit it inside. But maybe I'll give it a shot. I won a bot120 previously from picaxe. I was considering the dev board the next time around...
« Last Edit: October 25, 2015, 12:47:04 AM by Yahmez »

 

* Search


* Recent Topics

Saturn pics anyone by James
[September 17, 2019, 08:09:06 AM]


Hello Robot Rebels by Passixs
[September 15, 2019, 10:19:10 PM]


All Ya'll. And me. by James
[September 09, 2019, 10:35:19 PM]


MSD - Motorized solder dispenser (Work in progress) by James
[September 09, 2019, 08:45:29 PM]


It may be dangerous to work in the virtual realm by ZeroMax
[September 05, 2019, 05:55:16 PM]


"1984 Nixie Time" by Gareth
[August 25, 2019, 12:21:58 PM]


Just wanted to say Hi. by ErwinCanto
[August 18, 2019, 10:11:28 PM]


SDR (Software Defined Radio) by Gareth
[August 14, 2019, 01:12:21 PM]


PLX-DAQ by AmandaG
[August 06, 2019, 01:58:42 PM]


DIY Yellow Servo by AmandaG
[August 06, 2019, 01:08:09 PM]


Comp? :o by Impala
[August 02, 2019, 07:32:20 PM]


Website to do list by Killer Angel
[August 02, 2019, 05:38:30 AM]


I Like the new front page! by James
[July 31, 2019, 12:29:53 AM]


Pictures on the front page! by tinhead
[July 30, 2019, 05:17:20 AM]


4x5 Macro Keypad by James
[July 28, 2019, 08:30:41 PM]

* Recent Posts

Re: Saturn pics anyone by James
[September 17, 2019, 08:09:06 AM]


Re: Saturn pics anyone by Passixs
[September 15, 2019, 10:23:38 PM]


Re: Hello Robot Rebels by Passixs
[September 15, 2019, 10:19:10 PM]


Re: All Ya'll. And me. by James
[September 09, 2019, 10:35:19 PM]


Re: MSD - Motorized solder dispenser (Work in progress) by James
[September 09, 2019, 08:45:29 PM]


Re: MSD - Motorized solder dispenser (Work in progress) by arclite7
[September 08, 2019, 04:17:21 AM]


Re: MSD - Motorized solder dispenser (Work in progress) by Gareth
[September 06, 2019, 05:18:40 AM]


All Ya'll. And me. by ZeroMax
[September 05, 2019, 05:56:35 PM]


Re: It may be dangerous to work in the virtual realm by ZeroMax
[September 05, 2019, 05:55:16 PM]


MSD - Motorized solder dispenser (Work in progress) by James
[September 01, 2019, 07:45:19 PM]


"1984 Nixie Time" Update 20190825 by Gareth
[August 25, 2019, 12:21:58 PM]


Re: "1984 Nixie Time" - Update 20190822 by Gareth
[August 22, 2019, 05:59:29 AM]


Re: "1984 Nixie Time" - Update by Gareth
[August 20, 2019, 11:15:36 AM]


Re: "1984 Nixie Time" by Bajdi
[August 20, 2019, 09:35:39 AM]


Just wanted to say Hi. by ErwinCanto
[August 18, 2019, 10:11:28 PM]