Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
A micro controller really is the easiest way to do this. I would use a PIC that has analog inputs (ADC ) and a UART. Axon and many other processors have this capability.
You need some sort of logic that is responsible for transmitting the data in a way that the computer can interpret (protocol). But I would recommend you to make it easy and buy a interfacecard of some sort with all tha logic and circuit ready-made. Google "the namn of your sensor +computer interface" and you shouldd find something useful.
Quote from: waltr on March 02, 2010, 09:38:48 AMA micro controller really is the easiest way to do this. I would use a PIC that has analog inputs (ADC ) and a UART. Axon and many other processors have this capability.true but i don't want to use a micro controller
Ok, then the next option is a data acquisition card to plug into your PC's bus.
The Dataq device I linked to is only $24.95. Very cheap for what it does.
iam using a photocell as my sensor. http://www.societyofrobots.com/schematics_photoresistor.shtml
Hi,Quote from: zabuza™ on March 02, 2010, 12:35:50 PMiam using a photocell as my sensor. http://www.societyofrobots.com/schematics_photoresistor.shtmlYou don't need an A/D-C if you just wanna detect if there's a certain amount of light or not (like in a line follower).If you have a parallel port it could hook up to that and with a few extra components, a serial port could be used.
Quote from: zabuza™ on March 02, 2010, 12:26:22 PMQuote from: waltr on March 02, 2010, 09:38:48 AMA micro controller really is the easiest way to do this. I would use a PIC that has analog inputs (ADC ) and a UART. Axon and many other processors have this capability.true but i don't want to use a micro controller Ok, then the next option is a data acquisition card to plug into your PC's bus.Here are some examples:http://www.omega.com/literature/transactions/volume2/dataacq2.htmlhttp://www.dataq.com/news_releases/di410nr.htmhttp://www.ni.com/dataacquisition/And this thread is asking the same question:http://www.societyofrobots.com/robotforum/index.php?topic=10490.0
just a serial port? surely u would need a/d converter to analyse the signal.
my idea is to send signals from the light sensors to the computer which sends signals by analyzing that data to motors to decide whether to move left right forward.
Hi,Quote from: zabuza™ on March 02, 2010, 04:09:34 PMjust a serial port? surely u would need a/d converter to analyse the signal. Oh well, if you know better, then don't listen to me.What is it you wanna get from analyzing it?Quote from: zabuza™ on March 02, 2010, 04:09:34 PMmy idea is to send signals from the light sensors to the computer which sends signals by analyzing that data to motors to decide whether to move left right forward. xd iam just saying lolIf you want to decide whether you're over a white or black area, you only need to see if you have more than so-and-so-much light reflectance - using an A/D-C for that is bordering the downright silly and it adds a huge amount of overhead.
my idea is to send signals from the light sensors to the computer which sends signals by analyzing that data to motors to decide whether to move left right forward. xd iam just saying lol
yeh tats pretty much what i want to do. a line following robot following white line over black area without using a micro controller
Or this one:
a line following robot following white line over black area without using a micro controller
Quotea line following robot following white line over black area without using a micro controllerIt'll do that. Scroll down to the second schematic.
[...] i want to connect sensors to computer [...]