Skip to content

mcfly722/modulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modulator

Simple signal modulator based on input PWM signal to variate output frequency. Could be used without input signal (frequency variate by resistors 1,2). Working from 9V battery. alt tag

Schema:

alt tag

Jack 1 - PWM1 & PWM2 Inputs
Jack 2 - PWM1 & PWM2 Outputs

By default, module reads PWM1 input signal and generates PWM1 output signal with frequency which variates by PWM1 width (input width values from 0 to 1023 mapped to output frequency values from 0 to FREQ_MAX_HZ=32000Hz)
Second PWM2 output frequency generates based on variable resistors. First one resistor variate upper part of frequency, second one is for bottom part.
Third resistor variate PWM2 output signal width from 0% to 100%.

To check module work, there are special test in \pwm_test\pwm_test.ino.This sketch is for second one Teensy board which could be used to generate variate PWM width signal. Module should correctly identify it and generates correct output frequency. To check output signal you can use just ordinary headphones with jack 3.5 (left ear is for PWM1, right for PWM2).

About

Hardware sin wave modulator (1-32000Hz)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages