How would I get something to communicate with my laptop?

  • Thread starter Thread starter JoAuSc
  • Start date Start date
  • Tags Tags
    Laptop
Click For Summary

Discussion Overview

The discussion revolves around how to enable communication between a sensor, such as a light sensor, and a laptop. It explores methods for data transmission from the sensor to the laptop, as well as integration of the received data into custom software applications.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant suggests using a device that converts voltage changes from a sensor into numerical data, which could then be transmitted to a laptop via Bluetooth.
  • Another participant inquires about integrating the received data into a Java program, proposing the idea of a hypothetical "BluetoothListener" class to facilitate this.
  • Some participants mention the possibility of utilizing a laptop's soundcard for data acquisition, providing links to resources related to this approach.
  • There is a question raised about the existence of infrared sensors or ports on computers as an alternative method for communication.
  • Another participant reiterates the soundcard approach and suggests using data acquisition devices from vendors like National Instruments as a potential solution.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to achieve communication between sensors and laptops, with no consensus reached on a single method or approach.

Contextual Notes

Some limitations include the lack of specific details on the types of sensors, the nature of the data being transmitted, and the programming environment being used. There are also unresolved questions regarding the feasibility and compatibility of suggested methods.

Who May Find This Useful

Individuals interested in sensor integration, data acquisition, and programming for hardware communication may find this discussion relevant.

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:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
Replies
19
Views
4K
  • · Replies 19 ·
Replies
19
Views
4K
Replies
2
Views
2K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K