reading from a Sharp GP2D120

Hi,

 Using an ATmega8, and i'm having trouble reading from my sharp GP2D120.

Here's the code i'm using, which is from the manual of my kit:

How do you make a line follower?

Dulumoon's picture

i just want to know how to make a line follower, like the equipment needed. if there is a walkthrough, please give me the link. if there isn't, can you tell me how or give me a link to a site that does?

 ~Dulumoon

Robots...ROCK!

Chips?

TofuRobot's picture

So I haven't built any robots lately because I am really busy. But, just a day ago a friend sent me a whole pack of transistors, resistors, and a heck load of ICs. There are about 10 types of ICs he gave. Each having about 20 for each IC. I was wondering if I could use these in any robots but they just are to complicated. I tried searching on google and I really don't get that stuff. Could any of you help explain some of these ICs? Here is the tour through all of them:

 

The SN74HC74N-

pivots

rik's picture

 Hi all,

You probably read my blog and know I am working on a design for robot legs inspired by the legs of Theo Jansen's Strandbeest.

Below is a picture of a plywood prototype on its way to become version 6.

MOSFET vs BJT

CaptainTuna's picture

Hi guys. I have to admit i do not know much about these kinds of transistors... i mean, their difference.

I have to get a large current pass through a wire, but after having read articles on wikipedia about mosfet i don't really know why i see them on, say, motor drivers instead of BJT transistors. One thing i don't know about is whether you can find logic-level high-power BJTs but i know there are logic-level FETs, like the IRLD series. But again, if you want to switch a BJT on fully then maybe you could just arrange them into a Darlington i guess.

Robot range measurement!!!

Hi,
I am trying to get a distance reading from Sharp GP2Y0A21YK0F Infrared range finder. I used the following code to get the distance reading;

main:
readadc10 0, w2
let w2=w2+1
let w2=6500/w2
let w2=w2-4
let w3=w2
debug w3
goto main

I am getting a fluctuating reading, the distance reading seems to vary +/- 7cm from the actual value. I tried to ground the unused ADC inputs but still the problem is the same. If anyone have any experience on this please help.
Thanks in advance
Bikram

Frits!!! YDM help

Karolyn's picture

As you know I'm getting the YDM built by a local uy and he emailed me this question that I cannot answer.  Really would appreciate some help.

RC and Serial Servo Controller Kit

           The Features Of The Servo Controller

The kit comes with a prototype board, servo controller chip, jack, wire and all the other parts you need. The board is voltage regulated so it can be connected to 4.5 volt up to 9 volts. The "VEX" type of motor uses 9 volts. The servo connectors are make from dip sockets since both male and female are needed.

Robot with a personality

Zanthess's picture

This little guy will track your face, and if you hold still long enough, it takes a picture and uploads the image to its own website!

I just love how smoothly it moves, almost looks like it has its own personality...

Its own site is here. Doesn't look like it's currently working, but still has info on the bot.

Embedded video: