Voicy's buggy project

Made.
My.
Day.

Pure win!

It was equally funny watching it! :p

Awesome!

I like it! :D

Thanks dooder!


For those who understand assembler, you probably figured out the algorithm I used for my buggy. It's a bit of an easter egg* really.

Most guys went for optic sensors or micro switches that kept the buggy following the left/right side of the wall - as per Hercules's quest in the black cave where Zeus told him as long as he kept his left hand on the wall of the cave he'll eventually get to the exit and not get lost.

However on mine I made it run forward until obscured, with the following configuration (obviously there aren't any IF/ELSE statements in assembler, but the logic works the same):

1 - move fwd
2 - if obstruction, goto 3, else goto 1
3 - move 90' left.
4 - move fwd
5 - if obstruction, goto 6, else goto 1
6 - move 180' right.
7 - goto 1

The easter egg part is that I used this logic from the old Windows 95 Maze screen saver.
 
For those who understand assembler, you probably figured out the algorithm I used for my buggy. It's a bit of an easter egg* really.

I still maintain that no one understands assembly. Some one in the 70's reverse engineered machine code, and it was all copy-pasted from there! :p
 
I still maintain that no one understands assembly. Some one in the 70's reverse engineered machine code, and it was all copy-pasted from there! :p

True that, although it's only 1 lvl up from machine code.

During exams in previous years we had to write a simple program on paper, then using the PIC's datasheet, we had to convert each instruction into HEX and then Binary (essentially machine code)

But yeah, when you look at my identifiers in the code, it's not so much declaring variables as it is giving alphabetic equivalents to binary register addresses.

Anyway, each to their own. I suck at high lvl programming. :/
 
I absolutely love this... makes me want to go to the electronics shop to buy and build stuff again...
 
giant-robotic-arms.jpg
 
Back
Top