Atmega328p “tone plant” telephone tone and cadence generator @df9999999999
Atmega328p “tone plant” telephone tone and cadence generator  @df9999999999
Uploaded June 2019 | Updated December 2026, 20 hours ago
A demo of the DIP switch settings for tone and cadence selection.

The circuit has two 4-position DIP switches.

One DIP switch sets the tone. The other DIP switch sets the cadence.

Any cadence may be applied to any tone.

An invalid tone DIP setting defaults to silence. An invalid cadence DIP setting defaults to continuous tone.

The following table shows the DIP settings and available tones and cadences:

pDialtone = B1111; //Constant for precise dial tone (350+440)
pLowtone = B1110; //Constant for precise low tone (480+620)
pRinging = B1101; //Constant for precise ringing (440+480)
mLowtone = B1100; //Constant for modulated low tone (600x120)
mRinging1 = B1011; //Constant for modulated ringing 1 (420x40)
mRinging2 = B1010; //Constant for modulated ringing 2 (500x40)
hz350 = B1001; //Constant for 350 Hz. (precise component tone)
hz440 = B1000; //Constant for 440 Hz. (precise component tone)
hz480 = B0111; //Constant for 480 Hz. (precise component tone, New High Tone)
hz500 = B0110; //Constant for 500 Hz. (Old High Tone)
hz620 = B0101; //Constant for 620 Hz. (precise component tone)
hz1000 = B0100; //1000 Hz. Test Tone
hz1004 = B0011; //1004 Hz. Test Tone
silence = B0010; //silence

continuous = B1111; //Always ON
precisereorder = B1110; //250 ON 250 OFF
tollreorder = B1101; //200 ON 300 OFF
localreorder = B1100; //300 ON 200 OFF
busy = B1011; //500 ON 500 OFF
nocircuit = B1010; //300 ON 1700 OFF
ring1 = B1001; //2000 ON 4000 OFF (Bellcore Ring 0)
ring2 = B1000; //800 ON 400 OFF 800 ON 4000 OFF (Bellcore Ring 1)
ring3 = B0111; //400 ON 200 OFF 800 ON 4000 OFF (Bellcore Ring 2)
ring4 = B0110; //300 ON 200 OFF 1000 ON 200 OFF 300 ON 4000 OFF (Bellcore Ring 3)
ringuk = B0101; //400 ON 200 OFF 400 ON 2000 OFF (UK Ring)
Atmega328p “tone plant” telephone tone and cadence generator
df9999999999 |

Atmega328p “tone plant” telephone tone and cadence generator

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER