Devices & Components
Arduino Nano
Resistor 22K ohm
ceramic capacitor 1uf 0603
Theremino master
Hardware & Tools
Soldering kit
Software & Tools
Arduino IDE
Project description
Code
Theremino Arduino
cpp
...
1// This example connects the Arduino to the ArduHAL on the PC 2// With ArduHAL you can configure the Arduino board Pins 3// as Digital-IN and Digital-OUT, Pwm, Servo, Adc or Generic. 4// Then the in-out data are exchanged with the "Slots" 5// and finally with the Theremino System applications. 6 7#include <Theremino.h> 8 9void setup() 10{ 11 // ---------------------------------------------------------------- 12 // This baud rate must be the same as in the ArduHAL CommOptions 13 // Any baud rate from 1000 to 1000000 is valid 14 // More used baud rates are : 500000 250000 115200 15 // ---------------------------------------------------------------- 16 Serial.begin(500000); 17} 18 19 20void loop() 21{ 22 // ------------------------------------- 23 // Generic Read and Write examples 24 // ------------------------------------- 25 // uint32_t n; 26 // n = Theremino.genericRead8(A2); 27 // Theremino.genericWrite8(A3, n); 28 // 29 // n = Theremino.genericRead16(A4); 30 // Theremino.genericWrite16(A5, n); 31 // 32 // n = Theremino.genericRead24(A6); 33 // Theremino.genericWrite24(A7, n); 34 // 35 36 // ------------------------------------- 37 // Generic Read and Write float example 38 // ------------------------------------- 39 // float f; 40 // f = Theremino.genericReadFloat(10); 41 // Theremino.genericWriteFloat(11, f); 42 43 // --------------------------------------------------------------- 44 // Delay example 45 // a single 10 mS delay decreases drammatically the exchange rate 46 // --------------------------------------------------------------- 47 // delay(10); 48}
Downloadable files
Sch. Theremino
...
Schematic Theremino JPG.jpg

Sch.Arduino
...
Schematic Arduino JPG.jpg

Documentation
Doc
....
EmotionMeter_Application_ENG.pdf
HW
...
EmotionMeter_Hardware_ENG.pdf
Comments
Only logged in users can leave comments