Showing posts with label hardware. Show all posts
Showing posts with label hardware. Show all posts

12.07.2010

Day 25: GO TIME

or "YES YES YES"
TODAY WE SORTED OUT ALL THE LITTLE BUGS.
click to enbiggin!
so sortbot is working 10 out of 10 times (make up numbers, it will make you sound like you know what is what)

I have a great idea, it is called: LIVEBLOGGING THE EVENT. AWESOME.
but right now nothing is happening
totally just chilling because it is

15:35!!!! and nothing happens until 16:30
16:00: mad chilling still, experienced some technical difficulties (due to skewed sensor readings from new batteries)but they were fixed by a number adjustment, WOOOOOOOO
BUT VIDEO:



16:30: got started, working smoothly! explained "his mission" approx 100 times.
reception was good! that was cool!!
17:05: sorting got irregular, decided to change batteries.
-10 minutes of freaking out happened here-
17:15: turns out changing the batteries changes the values, gosh darn
but it is fixed and working again! 
17:30: DONE! YES. YES YES. SORTING ROBOT SORTING, DONE DONE DONE

11.28.2010

Day 24: titles! titles like crazy!

or "links like nuts!"

Right on, so, Sortbot is mostly working with some glitching because the blocks bounce around a bit when it ID's so it occasionally puts black blocks in the wrong pile.

and Sortbot has an awesome new face!
he's CUTE (or CREEPY)
and an awesome new mustache!
he's DISTINGUISHED
and an awesome new video!!!


11.23.2010

Day 23: FULL STEAM AHEAD

or "have I mentioned how excited I am about the openKinect project??"

Okay.

Okay.
so
today I thought we were ready to start taking video-
(because I always come in thinking it is going to work and then it is just a little broken and I don't know why I always think that)

So after fixing a problem that was mostly batteries,
we tried to figure out why it wasn't sorting correctly (today)
we putzed around for 3 hours unsuccessfully until Professor Berg suggested using electrical tape for the black blocks and LO. THAT FIXED IT RIGHT QUICK.

but now it is is behaving badly in some other way.

I really REALLY wanted to get a video of it working- (heck, I wanted to get it WORKING)- before Thanksgiving,
but sometimes that just isn't happening.

(always so, SO close!)
(geeeeeeeeeeeeeeeez)

(happy Thanksgiving)

11.19.2010

Day 22: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

11.10.2010

19: everything is terrible forever

Pretty much all the hardware things were broken today.

changing n= shuts this thing down, and that is pretty neat.


but we did write part of a code for the search pattern, i am thinking about how we are going to make this work without being terrible like this,
i have a pretty good idea i think using a second variabl,
we shall see.

11.05.2010

Day 18:CURRENTLY WEARING: SPACECAMP SWEATER


Working on getting sortBot (it really needs a name that is not sortBot, it is just kind of sad sounding)
to recognize colors

so now we have this-
held together with tape and DREAAAAMS.
made mostly of tape and wires.
and also purple pipecleaners (this is what science looks like)
the two black boxes with circles that look like spiders eyes are the distance sensors.
and the thing you see in the middle is a switch- 
the switch is meant to trigger the reflectance sensor-
which is kind of hidden underneath it from this angle.

wires like crazy!!
We also added a speaker for testing the code we've assembled this far-
(it is great, it picks up interference from the motors reversing,
interference goes in, totally great noises come out)
(so anyway, on to actually important things-)

so now we've got the search code from before
and a second code that identifies color when the switch is pressed.
right now the 'b' and 'w' methods just beep at different tones for testing.

It works pretty well!
it is correctly IDing colors anyway!

The search code was less effective today for some reason, 
I figure it is because of inconsistencies in the proximity sensors or maybe their positioning?
It needs some work.

11.03.2010

Day 17:BREAKING NEWS

or "Szczotka do kostki"

TODAY:
working on getting sortBot to hone in on blocks,

we added a second distance sensor and then hacked together some code
it's actually pretty much the light following code we used a couple challenges back.

The problem with the distance sensors is that they work by measuring the reflected angle of a beam
(which is neat!)
but, inside the focus of the sensor it reads distances in reverse, so the sensors have to mounted pretty far back to get an accurate read.

We've got some issues with range where it will just sort of wander in circles (a result of slight differences in the sensors i assume) if it doesn't 'see' anything.

(it also sometimes locks on to things that its not meant to look for like chairs, storage boxes, laptops, shoes, its own wires and also things that are not there)

I think that we can correct for the wandering if we come up with some sort of simple search pattern, we will have to see how easy (or probably not) that is though.

NEXT:
color recognition

BRAINSTORMING:
companionBot

9.24.2010

Day 6: TROUBLESHOOTING RULE #1: IS IT PLUGGED IN?

or "BLUH!!!"

SO. This is where we started today-
with that block of code from day 5 for line following with sobriety.
i am completely in love with nested if-then-else statements
but try as we might, we couldn't get it to work.
SO. several hours of confused coding and hair pulling later we have a workspace that looks something like this.
horrible.
that is not one or two but four different code for the same thing.
none of which work. 
at all.
(that is not all! there were several scrapped attempts from other angles! 
including several wait until's 
and parallel sensor-motor programs 
and attempts to recalibrate the sensor values
and 
etc 
etc 
etc)


but then. we addressed the obvious.

see.

The problem with working in code is that the world is not as nice as a simulation.
and sometimes. robots are not as nice as a simulation.


and sometimes-

sensors are plugged into slightly broken ports.

9.21.2010

Day 4: REDUCE REUSE RECYCLE

or "the three R's"
       (or "Man I love Jack Johnson but what is up with these guys?")

HEY GUYS CHECK THIS OUT
where have we seen this before?
with a little bit of old code
and with some totally huge new eyes
totally huge new eyes
dreams CAN come true-

(totally excellent music comes from the game World of Goo by 2dBoy)
(totally excellent shoes come from those are my shoes)

9.15.2010

Day 3: A RETROSPECTIVE

or "words words WORDS"

So, posted a day late because I took somewhere between 3 and 4 naps yesterday instead of updating,
I present RDS DAY 3: A RETROSPECTIVE.

LOOK AT THIS NEATO THING-
MO "the monster" Mortimer
Mortimer is an RDS Cricket, a bigger, brawnier and better cricket.
He's got a pair of monster motors that can keep track of revolutions, an infrared sensor and a touch switch on the front end.  
And thats not all! there are a tonne of slots where inputs and outputs can be plugged in-
    3 motors even! (amazing!)

AND A WHOLE BUNCH OF CODING HAPPENED TOO!
CHALLENGE "a rather excessive number of code stacks" 2
Counter and clock turn Mo left and right by turning only one motor on at a time. It's pretty dang chill.
Bounce and Bounce2 over in the lower left allow Mo to bounce back and stop when he collides with a wall, or hand, or cat, or rocketship or whatever.  Also pretty dang chill.

Part of challenge two is getting Mo to stop at 1.5 meters by various means.

First by simply turning on the motors for a set time.
     but of course that is too easy.  That is where stack RDtimer comes in.  With this we can measure the amount of time it takes by running Mo the distance then stopping him with the touch sensor.
     works out pretty neatly, but gosh did we need a lot of help to sort that out.

Then by using the rotation counter built into the wheels.  
    That's RDcount  It works a lot like RDtimer to allow us to know what number to plug into the stack to it's right, which runs the motor 'till it reaches that number. 
     1500 (what the heck kind of unit is it? I don't know, I don't know)
     
And darkstop uses the light sensor to stop Mo at a line of electrical tape.  
Changing the resistors in the RDSCricket made the sensor much more responsive-
    Sometimes he even stops when shadows from his wires get in the way! Bonus!

OH MAN, BUT EVEN COOLER THAN ALL THAT JAZZ-
ESCAPE.
THE COOLEST THING.
Using the randomization function and the bounce2 stack we built before we can get Mo to traverse and escape from an obstacle course.
Definitely the coolest thing.