Calibrating an Open Theremin v3

Posted: 10/12/2019 11:23:21 AM
nocomp

Joined: 4/19/2019

i have a question:
how do you "edit" the volume range ? the distance is too big for me is it possible to editi it in the sketch file?
thx for your time

Posted: 10/12/2019 11:59:04 AM
gerd

From: Germany (Black Forest)

Joined: 11/25/2017

try this:

in application.cpp line 262

Code:
  if (volumeValueAvailable) {
    vol = max(vol, 5000);


insert a scaling factor:

Code:
  if (volumeValueAvailable) { 
    vol = vol * 2;
    vol = max(vol, 5000);

Posted: 10/12/2019 3:28:50 PM
nocomp

Joined: 4/19/2019

thxx for the tip,
need to work that out the value cause with  * 2 i cant turn the sound off even touching the electrode

Posted: 10/13/2019 6:06:29 AM
gerd

From: Germany (Black Forest)

Joined: 11/25/2017

Unfortunately I don't have an OpenTheremin V3 here to test it, but I would try to add/subtract an offset. eg:

Code:
vol = vol * 2 - 1000;

or -100, or - 2000, or -5000 ...

Posted: 10/13/2019 11:46:20 AM
nocomp

Joined: 4/19/2019

yep get it, ll try this evening
how come we use * instad of / ?

Posted: 10/19/2019 9:09:36 PM
scimonet

Joined: 10/13/2019

I'm trying to get my open Theremin up and running for the first time, and have run into the issue that the volume antenna doesn't seem to be working at all. 

According to the website: http://www.gaudi.ch/OpenTheremin/index.php?option=com_content&view=article&id=197&Itemid=82


The serial monitor is supposed to look like this. However, when properly grounded in the middle of a room mine looks like this.

I have the stock software and hardware downloaded and have tried it on 2 different computer setups, any ideas on how to make the volume calibration work would be much appreciated!

You must be logged in to post a reply. Please log in or register for a new account.