Blind Lemon

Posted on 25/01/2010 by ignoblegnome
Modified on: 13/09/2018
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

Most Recent Update: Uploaded new code (v1.9) that introduces some 'shuffle' to Blind Lemon's beats. Thanks for the tip, Frits! Intro  Blind Lemon is now a functional drum bot... and he's gone YDM with his new look! This simple robot handles basic navigation and is armed with a bass drumstick thumper at the rear and a high hat drumstick on his left side. His front bumper switch is used for collision detection. He currently has three drumbeats he alternates between. My goal with Blind Lemon is ...


Blind Lemon

Most Recent Update:

Uploaded new code (v1.9) that introduces some 'shuffle' to Blind Lemon's beats. Thanks for the tip, Frits!


Intro

 

Blind Lemon is now a functional drum bot...

and he's gone YDM with his new look!

This simple robot handles basic navigation and is armed with a bass drumstick thumper at the rear and a high hat drumstick on his left side. His front bumper switch is used for collision detection. He currently has three drumbeats he alternates between.

My goal with Blind Lemon is to get as much out of the little Picaxe-08M as I can. I used my dual Y-Bridge motor control design so I could drive with only 3 processor outputs, rather than 4 outputs for a traditional dual H-Bridge. That left me one dedicated input and one input/output.

That wasn't enough, so I added a DPDT relay. One Picaxe output controls the relay, and now I can get double duty from the other four pins.

Pin3 on the Picaxe-08M is a dedicated input and is being used for the bump switch. The other three switches allow motor control in one mode and drum and speaker outputs in the other. 

Chassis

Base

The circular base is 1/8 inch fiberboard. Rectangular notches are cut for the motors, which are mounted with small wood blocks as supports and hot glue.  

Wheels

The wheels are home made from prescription pill bottle caps and hot glue. Two Arexx rollers from DAGU keep Blind Lemon from pitching forward or backward. 

Now that Blind Lemon is looking so fine, I may upgrade his wheels. The ones I want to use are a little smaller in diameter, and the hole for the axle is too big for the motor shafts. If I can come up with a good way to mount them, I'll lower the motors to fit the smaller diameters. The wheels are nice black ones and it'll look great next to Blind Lemon's paint job.

Sensors

Blind Lemon is... well, blind. The only sensor he has is the bump switch mounted on the front. Sort of a "walking cane". An unintended, but welcome function of the round base and the placement of the wheels and bump switch is that when Blind Lemon hits a wall or other flat vertical surface, he tends to rotate until he is facing it squarely and the bumb switch is activated. You can see this pretty clearly in some of the videos.

Motors

The motors are two DAGU 3V gear motors, which are appropriately yellow in color. That was the main reason I chose them (not).

The motors for the drum sticks are these little guys, suggested by fritsl for his YDM.

Power

Four AA batteries in a vertically mounted battery case sit at the centerline of the base. It is attached with hot glue (what else?)

Speaker

There's a small speaker taken from a broken toy, which is hot glued underneath the base. The wires for the speaker feed up through a small hole in the base.

Cover

I really like the look I came up with for Blind Lemon. The cover is the bottom of an old scots whisky carton. His shades are the lenses from some clip on sunglasses I had. The frame broke, so they were useless to me.

 

Circuitry

Picaxe-08 Protoboard 

Here's the Picaxe-08 Protoboard populated with the dual Y-Bridge circuit... just fits!

 

Auxilliary Board

To the left of the vertical battery box you can see a green circuit board used for auxilliary circuits. Primarily it holds the 4PDT relay (in yellow) that switches between motor control for motion and drumming. The power switch is to the left of the auxilliary board.

Adding the relay added a lot of wires between the auxilliary board and the Picaxe Protoboard, which is why there are so many wires inside Blind Lemon now. 

 

Programming

Description

Blind Lemon drives forward until his bump switch is hit. Then he plays one of three stored beats before backing up,turning and continuing on. The next time his switch is bumped, he will play the next beat in sequence.

Code

The commented code is uploaded as a file attachment to this post.

Version 1_4 is the first real release.

Version 1_5 optimized code and added a 'dance' routine.

 

Drives around, bumps into things, plays beats, backs up and moves on.

  • Actuators / output devices: Two 3V DAGU gearmotors, Y-Bridge motor control
  • CPU: PICAXE-08M
  • Power source: 4xAA alkaline batteries
  • Programming language: Picaxe basic
  • Sensors / input devices: One front mounted bump switch
  • Target environment: Indoors. Carpet or smooth floors
LikedLike this to see more

Spread the word

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post