How would I get something to communicate with my laptop?

  • Thread starter Thread starter JoAuSc
  • Start date Start date
  • Tags Tags
    Laptop
AI Thread Summary
To connect a light sensor to a laptop, a device is needed to convert the sensor's voltage readings into numerical data, which can then be transmitted to the computer via Bluetooth or another communication method. This integration allows for real-time data collection and analysis using custom software. For programming, a Bluetooth listener or similar functionality would be necessary to receive the data within the application. Additionally, utilizing soundcards for data acquisition is suggested, along with resources for software development. Options for hardware include PCMCIA or USB data acquisition devices from vendors like National Instruments, which can facilitate the connection and data transfer from sensors to the laptop.
JoAuSc
Messages
197
Reaction score
1
1.) Let's say you have some sort of sensor, say, a light sensor that can be connected to a circuit. How do you get a typical laptop to read this information?

Would you just hook up some device to the circuit that changes voltages to numerical data and transmits this to your computer via Bluetooth or something? I know nothing about this kind of stuff, but the idea of having sensors communicating with your laptop (and whatever programs you've written on your laptop) seems cool. Which brings me to my next question:


2.) Once you've gotten this data to your computer, how would you integrate it into some program you've written?

Would you add a BlueToothListener to your java program, or something like it? (I'm guessing there's no such class named BlueToothListener, but hopefully you get the idea.)
 
Technology news on Phys.org
Some possible starting points, making use of your soundcard:
http://duncan.rutgers.edu/physicsfreewares.htm
http://www.oscilloscope-lib.com/
 
Last edited by a moderator:
Don't computers have infrared sensors? In any case, an "infrared port"?
 
robphy said:
Some possible starting points, making use of your soundcard:
http://duncan.rutgers.edu/physicsfreewares.htm
http://www.oscilloscope-lib.com/

Or you could use a PCMCIA or USB data acq device from National Instruments or other vendors:

http://sine.ni.com/nifn/cds/view/main/p/sn/n24:PCMCIA/lang/en/nid/1036/ap/daq
 
Last edited by a moderator:
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top