3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Build a pixel nanobot

Build a pixel nanobot
Help prepare yourself for nanotechnology. In the near future you may be building very small robots to operate in microscopic, cellular and even molecular space.

If you have an old computer that will run Quick Basic or one that is newer which will run a more advanced language like Visual Basic then before spending money on parts you can explore the realm of robots by building a pixel nanobot.

I was surprised at all of the things I could do with a pixel nanobot on screen without having to commit money to motors and gears. In fact by building pixel nanobot first I was able to save a lot of time and money when I built my real world robot by exploring the difference between autonomic and cognitive jobs. Besides, if you can't control a pixel nanobot on your own computer screen then why bother trying to control a robot in the real world?

The pixel nanobot serves as the center for both sensors and actuators capable of assessing conditions and executing actions the same as its hardware counterpart.

Although a single pixel can do lots of interesting things if one pixel is not enough you can another nanobot or even create a nanobot swam to handle one or more tasks which are more demanding, like finding and eliminating a stealthy virus.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Create the pixel nanobot(s)

Create the pixel nanobot(s)
Your screen, depending on its resolution, has thousand of pixels to work with. The pixel nanobot I built uses pixel color for identification and to keep track of where the nanobot has been.

I built my first pixel nanobot by setting all of the empty pixels to gray and then setting a obe pixel at a random location to one of 16 basic colors but using RGB code notation you can create more than 65,000 individual nanobots which can be uniquely identified.

Here is the code idea I used.

Set background color to gray
backcolor = &H8000000F&

Find a random location on the screen
x = rnd * scalewidth
y = rnd * scaleheight

Set the color of the pixel at that location to whatever color you want.
pset (x,y),QBcolor(0)

The next step is to give the nanobot a sensor.

« Previous StepDownload PDFView All StepsNext Step »
3 comments
Mar 15, 2011. 11:07 AMhaboque says:
can u send me a sample file on this instructable...I do not quite understand how to do it...
Nov 9, 2008. 5:03 AMnikielectronics says:
It is cool but virus in my program is not coloured and you have one error in code.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
62
Followers
18
Author:watermelon
I'm an Emu. As a young chick my parents use to feed me watermelon and I loved it so much everyone nick named me, you guessed it, watermelon. Now that I have moved away from home I rarely get to eat an...
more »