The Alpha Geek – Geeking Out

Don Luc

Project #22: Synthesizer – Slide Linear Taper Pot – Mk08

——

#DonLucElectronics #DonLuc #Synthesizer #Mozzi #Keyboard #ADSREnvelope #Arduino #AdafruitMETROM0Express #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

Slide Linear Taper Pot

——

Slide Linear Taper Pot

——

Slide Linear Taper Pot

——

10k Ohm Slide Linear Taper Pot – X-Large

A simple slide potentiometer can go a long way. Rated at 10k Ohm and 0.5W. Comes with solder tab connections. The taper profile for this slide:

Length: 80 cm
Width: 15 cm
Height: 12 cm

Slide Potentiometer Knob – X-Large

This is a simple knob that connects to the extra large sized linear slide potentiometer. Each knob uses friction to secure itself to fit onto the slide pot. Once attached, this small knob provides you with an easier to use potentiometer for your project.

Adafruit METRO M0 Express

Metro is our series of microcontroller boards for use with the Arduino IDE. This new Metro M0 Express board looks a whole lot like our original Metro 328, but with a huge upgrade. This Metro features a ATSAMD21G18 chip, an ARM Cortex M0+.

At the Metro M0’s heart is an ATSAMD21G18 ARM Cortex M0 processor, clocked at 48 MHz and at 3.3V logic. This chip has a 256K of FLASH and 32K of RAM. This chip comes with built in USB so it has USB-to-Serial program.

DL2208Mk01

1 x Adafruit METRO M0 Express
5 x 10k Ohm Slide Linear Taper Pot – X-Large
5 x Slide Potentiometer Knob – X-Large
1 x SparkFun Cerberus USB Cable

Adafruit METRO M0 Express

LP0 – Analog A0 – Blue
LP1 – Analog A1 – Green
LP2 – Analog A2 – Grey
LP3 – Analog A3 – Yellow
LP4 – Analog A4 – Purple
VIN – +5V
GND – GND

DL2208Mk01p.ino

/* ***** Don Luc Electronics © *****
Software Version Information
Project #22: Synthesizer - Slide Linear Taper Pot - Mk08
22-08
DL2208Mk01p.ino
1 x Adafruit METRO M0 Express
5 x 10k Ohm Slide Linear Taper Pot - X-Large
5 x Slide Potentiometer Knob - X-Large
1 x SparkFun Cerberus USB Cable
*/

// Include the Library Code

// Pot
int iPot0 = A0;
int iPot1 = A1;
int iPot2 = A2;
int iPot3 = A3;
int iPot4 = A4;
int sensorValue0 = 0;
int iValue0 = 0;
int sensorValue1 = 0;
int iValue1 = 0;
int sensorValue2 = 0;
int iValue2 = 0;
int sensorValue3 = 0;
int iValue3 = 0;
int sensorValue4 = 0;
int iValue4 = 0;

// Software Version Information
String sver = "22-08";

void loop() {

  // Pot
  isPot();

  // Delay in between reads
  delay( 1000 );
  
}

getPot.ino

// 10k Slide Linear Taper Pot - X-Large
// Pot
void isPot(){

  // Read the input on analog pin 0
  sensorValue0 = analogRead( iPot0 );
  iValue0 = map(sensorValue0, 0, 1023, 0, 255);
  Serial.print( "P0: " );
  Serial.print( iValue0 );
  // Read the input on analog pin 1
  sensorValue1 = analogRead( iPot1 );
  iValue1 = map(sensorValue1, 0, 1023, 0, 255);
  Serial.print( " P1: " );
  Serial.print( iValue1 );
  // Read the input on analog pin 2
  sensorValue2 = analogRead( iPot2 );
  iValue2 = map(sensorValue2, 0, 1023, 0, 255);
  Serial.print( " P2: " );
  Serial.print( iValue2 );
  // Read the input on analog pin 3
  sensorValue3 = analogRead( iPot3 );
  iValue3 = map(sensorValue3, 0, 1023, 0, 255);
  Serial.print( " P3: " );
  Serial.print( iValue3 );
  // Read the input on analog pin 4
  sensorValue4 = analogRead( iPot4 );
  iValue4 = map(sensorValue4, 0, 1023, 0, 255);
  Serial.print( " P4: " );
  Serial.println( iValue4 );

}

setup.ino

// Setup
void setup() {

  // Initialize serial communication at 9600 bits per second
  Serial.begin(9600);
  
}

——

People can contact us: https://www.donluc.com/?page_id=1927

Technology Experience

  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi,Espressif, etc…)
  • IoT
  • Robotics
  • Camera and Video Capture Receiver Stationary, Wheel/Tank and Underwater Vehicle
  • Unmanned Vehicles Terrestrial and Marine
  • Research & Development (R & D)

Instructor and E-Mentor

  • IoT
  • PIC Microcontrollers
  • Arduino
  • Raspberry Pi
  • Espressif
  • Robotics

Follow Us

J. Luc Paquin – Curriculum Vitae – 2022 English & Español
https://www.jlpconsultants.com/luc/

Web: https://www.donluc.com/
Web: https://www.jlpconsultants.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/channel/UC5eRjrGn1CqkkGfZy0jxEdA
Twitter: https://twitter.com/labs_steam
Pinterest: https://www.pinterest.com/NeoSteamLabs/
Instagram: https://www.instagram.com/neosteamlabs/

Don Luc

Categories
Archives