PB0/ICP14
PB1/OC1A15
PB2/SS/OC1B16
PB3/MOSI/OC217
PB4/MISO18
PB5/SCK19
PC0/ADC023
PC1/ADC124
PC2/ADC225
PC3/ADC326
PC4/ADC4/SDA27
PC5/ADC5/SCL28
PC6/RESET1
PB6/XTAL1/TOSC19
PB7/XTAL2/TOSC210
PD0/RXD 2
PD1/TXD 3
PD2/INT0 4
PD3/INT1 5
PD4/XCK/T0 6
PD5/T1 11
PD6/AIN0 12
PD7/AIN1 13
AVCC 20
AREF 21
U?
ATMEGA8
8M
R13k3
Q1
2SC945
R310k
VCC
R23k3
Q22SC945
RL1
5V
VCC
Tel line
PIR SENSOR
600 600
600:600
R218k
RS47k
C1100n
3
21
411
U1:A
LM324
R447k
C447u
R31M
C3
10n
C210n
C5
10u
R515k
5
67
411
U1:B
LM324
R6100k
C710u
C610n
R112M7
C8
10n
R7150k
R1410k
R1318k
R1218k
10
98
411
U1:C
LM324
12
1314
411
U1:D
LM324
D1
1N4148
D2
1N4148
R1515k
R165k1
Q12SC945
C12100n
R810k
R1010k
C9100n
C10100u
C11100u
VCC
1
3
2
PIR
sen
sor
R13k3
Q2A733
R9330R
D3LED
OUT 1
To PB2
'********************************************* '* This Program Writing By : Hossein Lachini * '* The Magic Tone Dialer * '* For to get more details visit : * '* www.HLachini.com * '* Contact to me by : [email protected] * '* Mobile/SMS : +98 912 381 2060 * '********************************************* $regfile = "m8def.dat" $crystal = 8000000 Config Portb.0 = Output Ddrb.2 = 1 Portb.2 = 0 Dim Mobile As String * 12 Mobile = "09123812060" Enable Interrupts Wait 10 Do If Pinb.2 = 1 Then Set Portb.0 Wait 2 Dtmfout Mobile , 50 Wait 10 Reset Portb.0 Wait 10 End If Loop