Sensor data to computer
Ok, heres one I have been toying with for awhile.
I can get Excel XP and the BS2 communicating. The BS2 is set up to simply return data from the sonar, IR and GPS.·For reasons of speed and memory, Excel determines what to do·and sends the instructions back to the BS2.
I would like to use my old mother board with the BS2 and fasten it to my robot. That being said, if I can run sensors straight into the computer the BS2 could handle the motion control and oversee things like bumpsensors.
I can get Excel to read the BS2, so that part isn't a problem, I mean how do I hook in sensors? Do I need to run USB? Do I solder wires to the mother board to get a connection from the data stream? How many ports can I have open in Excel before the BS2 gets confused?
Question:
I don't know how to run sensors straight into my computer and·would like to do just that. Does anyone know how?
I can get Excel XP and the BS2 communicating. The BS2 is set up to simply return data from the sonar, IR and GPS.·For reasons of speed and memory, Excel determines what to do·and sends the instructions back to the BS2.
I would like to use my old mother board with the BS2 and fasten it to my robot. That being said, if I can run sensors straight into the computer the BS2 could handle the motion control and oversee things like bumpsensors.
I can get Excel to read the BS2, so that part isn't a problem, I mean how do I hook in sensors? Do I need to run USB? Do I solder wires to the mother board to get a connection from the data stream? How many ports can I have open in Excel before the BS2 gets confused?
Question:
I don't know how to run sensors straight into my computer and·would like to do just that. Does anyone know how?
Comments
The BS2 is handling the sensors and figuring out their readings for you (based on your PBasic program) and is then forwarding the data to the computer on the USB/RS232 lines.
What types of sensors are you wanting to connect? Analog sensors?....computers don't typically come with a pin to connect analog lines to.
If you have a sensor that spits out digital data.......is it serial or parallel? If it's RS232 serial, then you could connect it right up and start reading it....but I'm sure some "handling" would be required.
Are you planning on connecting some sort of A/D peripheral that would analog signals?
Hope I understood your intentions!?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."