C/C++ Reading currents and controlling voltages in c++

Click For Summary
SUMMARY

Dave is developing a controller for an interferometer and seeks a reasonably priced peripheral for controlling voltage and reading current from a photodiode using C++. He inquires about the feasibility of using a 1/8'' speaker output for this purpose. Recommendations include exploring educational devices from companies like Pico Technology and Heathkit, which are more affordable than industrial options. Additionally, he requests Linux libraries for controlling and recording microphone signals in C++.

PREREQUISITES
  • Understanding of C++ programming for interfacing with hardware
  • Knowledge of voltage and current measurement principles
  • Familiarity with Linux operating system and its libraries
  • Basic electronics concepts related to interfacing peripherals
NEXT STEPS
  • Research Pico Technology devices for voltage and current measurement
  • Explore Heathkit products for educational electronics
  • Learn about Linux libraries for audio input handling in C++
  • Investigate alternatives to 1/8'' speaker outputs for precise measurements
USEFUL FOR

Electronics hobbyists, C++ developers working with hardware interfaces, and anyone interested in building measurement systems for scientific applications.

Mr_Grieves
Messages
3
Reaction score
0
Hi all -- I'm writing a controller for an interferometer and I need to be able to control the voltage across a terminal and read the current from a photodiode in c++. What would be a good, reasonably priced peripheral that would accomplish this, preferably with linux support?

Better yet, is it possible to perform this using the 1/8'' speaker output with any real precision?

Thanks,
Dave
 
Technology news on Phys.org
As a note: I'm very new to writing interfaces between programs and peripherals. If I'm going about this the wrong way, let me know. Please, no suggestions to using LabVIEW though :)
 
The microphone input is generally 8bits and pretty fast 20-40khz, you are probably going to need to build more electronics to interface to it - but it will be cheaper than using custom hardware http://www.techlib.com/Karen/misc.htm#Mic Input Telemetry

In the Uk these people are great http://www.picotech.com/, otherwiseyou cna probably find similair stuff locally. Look for devices aimed at education (http://www.heathkit.com/) or hobbies rather than the industrial control ones.
 
Last edited by a moderator:
Cool. Is there a set of linux libraries that will let me control/record the mic signal in c++ that anyone can recommend?

Dave
 
We have many threads on AI, which are mostly AI/LLM, e.g,. ChatGPT, Claude, etc. It is important to draw a distinction between AI/LLM and AI/ML/DL, where ML - Machine Learning and DL = Deep Learning. AI is a broad technology; the AI/ML/DL is being developed to handle large data sets, and even seemingly disparate datasets to rapidly evaluated the data and determine the quantitative relationships in order to understand what those relationships (about the variaboles) mean. At the Harvard &...

Similar threads

  • · Replies 5 ·
Replies
5
Views
8K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K