Code for the ATmega8 to control the PhoneWave-functions (display and light and turntable motor) with 5-bit input given on Ports C0-3 and Port D2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PhoneWave
156003-da-01-en-TRANSISTOR_MPSA_42_TO92.pdf
173193-da-01-en-MT_8870.pdf
503934-da-01-en-PR_REL_PE_5A_1UK_5VDC.pdf
Board_Legacy-cache.lib
Board_Legacy.pro
Board_Legacy.sch
Board_Legacy.svg
Board_withPiConn-cache.lib
Board_withPiConn.pro
Board_withPiConn.sch
Board_withPiConn.svg
JLDF-4431BHGBD20 930 pin documentation.ods
PhoneWave.atsln
PhoneWave.atsuo
README.md
extensionBoard_withPiConn.jpg
extensionBoard_withPiConn_back.jpg
mitel.lib
mt88xx.lib
myAvr Atmega8 extension SteinsGate PhoneWave legacy back.jpg
myAvr Atmega8 extension SteinsGate PhoneWave legacy front.jpg
myAvr Atmega8 extension SteinsGate PhoneWave legacy.LM4
myAvr Atmega8 extension SteinsGate PhoneWave_noMT8870.LM4
relay microwave back.jpg
relay microwave.LM4
relay microwave.OLD
relay microwave.jpg

README.md

PhoneWave-DisplayUnit

Code for the ATmega8 to control the PhoneWave-Projects with 4-bit input (representing the numeric DTMF signals given by either MT8870 or Raspberry Pi) given on Ports C0-3 which are read when the interrupt has been triggered by a rising edge signal on Port D2

Board layouts for boards that connect the ATmega8-Pins with the Raspberry Pi, the display, the lights and the turntable.
A separate board for your ATmega8 is not included here. I used the MyAVR board light http://shop.myavr.com/hardware%20-%20assembly%20kits/myAVR%20Board%20light,%20assembly%20kit.htm?sp=article.sp.php&artID=200084

This code is rather old. It has been designed to convert the output of the MT8870 IC (which translates DTMF signals into binary numbers) into human-readable digits displayed on a 7-segment display (common anode JLDF-4431BHGBD20 930 display) provided by my microwave manufacturer.

It outputs the 7-segment-display-code on Port B and controls the multiplexing of the digits on Port D 3-6

Included are also the schematics and the design of the self-built boards. .LM4 files are to be openend with LochMaster 4 whilst the .pro and .sch files are to be opened with KiCad.
The extension Board is a "shield" to connect the Raspberry Pi with the Microwave and ATmega8. The "relay microwave" board connects the ATmega8 to the 230V lightbulb and turntable motor.

All files with legacy in their name still use the MT8870 IC, whilst those without legacy in their name rely on the data given by my Raspberry Pi. Remember to use a Logic Level Shifter between the ATmega and the Raspberry Pi!