User Tools

Site Tools


eeros_architecture:hal:scaling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
eeros_architecture:hal:scaling [2021/05/20 07:32] – [Scale and Range of Analog Signals] ursgrafeeros_architecture:hal:scaling [2022/05/06 21:09] (current) jonasfrei
Line 9: Line 9:
   - Enter this limits in the configuration file under ''range'' with ''minIn'' and ''maxIn''.   - Enter this limits in the configuration file under ''range'' with ''minIn'' and ''maxIn''.
   - Write a small digital value to the analog output directly (not through eeros). That is, if your are using comedi for instance, you use a user interface and write a value of 1000 to one of its analog outputs.   - Write a small digital value to the analog output directly (not through eeros). That is, if your are using comedi for instance, you use a user interface and write a value of 1000 to one of its analog outputs.
-  - Record this digital value it in the configuration file under ''scale'' as ''minIn''+  - Record this digital value in the configuration file under ''scale'' as ''minIn''
   - Measure the resulting voltage with a multimeter and record it in the configuration file under ''scale'' as ''minOut''.   - Measure the resulting voltage with a multimeter and record it in the configuration file under ''scale'' as ''minOut''.
   - Repeat this with a large digital value close to the upper limit. For this you have to know the range of your digital-to-analog converter.    - Repeat this with a large digital value close to the upper limit. For this you have to know the range of your digital-to-analog converter. 
-  - Record this digital value it in the configuration file under ''scale'' as ''maxIn''+  - Record this digital value in the configuration file under ''scale'' as ''maxIn''
   - Measure the resulting voltage with a multimeter and record it in the configuration file under ''scale'' ''maxOut''.   - Measure the resulting voltage with a multimeter and record it in the configuration file under ''scale'' ''maxOut''.
  
eeros_architecture/hal/scaling.txt · Last modified: 2022/05/06 21:09 by jonasfrei