Commit 44d0b7c5 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

initial import of the schematics and a little bit of README

parents
SCH2PS=./sch2ps
SCHEM=schematic.sch
POSTSCRIPT=$(patsubst %.sch,%.ps,${SCHEM})
all: schematic.pdf
schematic.pdf: $(POSTSCRIPT)
cat $(POSTSCRIPT) | ps2pdf - $@
clean:
rm *.ps *.pdf *~ -rf
%.ps: %.sch
$(SCH2PS) $<
STM - Stettberger's temperature modules
=======================================
A combined software/hardware project for getting the temperature with
KTY81-110 temperature sensors. The hardware is a ATMega8 with a RS485
interface chip for communication. The ADC has a planed input power through a
low pass. It was designed for four temperature sensors for each ATMega8.
The Software is only a special configured ethersex[1] software. So you can
request ADC data from your ATMega8 via IP/UDP, when you have a
ethernet/ZBUS[2] bridge.
You can get the the configuration, when you type this into a ethersex with
default configuration:
./configure --disable-ipv6 --disable-enc28j60 --disable-tcp --enable-teensy --enable-adc
See the ethersex page for more informations about zbus.
After you have set up the communication with your STM you can get the ADC data
by typing 'adc get' into a udp ecmd session:
echo adc get | nc -u $IP 2701
[1] http://www.ethersex.de/show.sh?path=/About
[2] http://www.ethersex.de/show.sh?path=/ZBus
#!/bin/sh
# ======================================================================
# sch2ps - Convert gschem schematic to Postscript
#
# Copyright (C) 2006 Dick Streefland
#
# This is free software, licensed under the terms of the GNU General
# Public License as published by the Free Software Foundation.
# ======================================================================
tmp=/tmp/tmp$$.scm
trap "rm -f $tmp gschem.log" 0 1 2 3 15
cat <<EOF > $tmp
; Script to generate a Postscript file.
; Usage: gschem -q -s <script> -o <file>.ps <file>.sch
(output-orientation "landscape")
(output-type "limits")
(output-text "ps")
(gschem-use-rc-values)
(gschem-print "/dev/null")
(gschem-exit)
EOF
for i
do
case "$i" in
*.sch)
ps="${i%.sch}.ps"
gschem -q -s $tmp -o "$ps" "$i"
;;
*)
echo "Error: $i is not a schematic file (*.sch)"
exit 1
esac
done
v 20080127 1
C 46500 53200 1 0 0 ATmega8-1.sym
{
T 48800 57800 5 10 1 1 0 6 1
refdes=U1
}
C 53100 54900 1 180 0 aop-std-1.sym
{
T 52400 54800 5 10 1 1 180 0 1
refdes=U2
T 52050 54550 5 10 0 0 180 0 1
symversion=0.1
}
C 52100 55800 1 0 0 asic-res-2.sym
{
T 52300 56100 5 10 1 1 0 0 1
refdes=R1
T 52800 56100 5 10 1 1 0 0 1
value=1k
}
N 53200 55900 53500 55900 4
N 53500 55900 53500 54700 4
N 53500 54700 53100 54700 4
N 52100 55900 51900 55900 4
N 51900 55900 51900 54500 4
C 54300 53000 1 90 0 asic-res-2.sym
{
T 54000 53200 5 10 1 1 90 0 1
refdes=R2
T 54000 53700 5 10 1 1 90 0 1
value=2.2K
}
C 54300 54500 1 90 0 asic-res-2.sym
{
T 54000 54700 5 10 1 1 90 0 1
refdes=R3
T 54000 55100 5 10 1 1 90 0 1
value=2.2K
}
N 53100 54300 54200 54300 4
N 54200 54500 54200 54100 4
N 49100 54500 52100 54500 4
C 56900 57000 1 0 0 5V-plus-1.sym
C 54100 51900 1 0 0 gnd-1.sym
N 54200 53000 54200 52200 4
N 52600 54100 52600 52700 4
N 52600 52700 54200 52700 4
C 50400 56200 1 0 0 5V-plus-1.sym
C 49100 55200 1 0 0 asic-res-2.sym
{
T 49300 55500 5 10 1 1 0 0 1
refdes=R4
T 49800 55500 5 10 1 1 0 0 1
value=10k
}
N 50200 55300 50600 55300 4
C 52600 57500 1 90 0 varistor-1.sym
{
T 52100 57400 5 10 1 1 90 0 1
refdes=KTY-81 110
}
C 52300 59900 1 270 0 asic-res-2.sym
{
T 52100 58900 5 10 1 1 90 0 1
refdes=R4
T 52100 59400 5 10 1 1 90 0 1
value=2.2K
}
N 52400 58600 49600 58600 4
N 49600 58600 49600 56500 4
N 49100 56500 49600 56500 4
N 52400 58400 52400 58800 4
C 52300 57100 1 0 0 gnd-1.sym
N 52400 57500 52400 57400 4
N 52400 60200 52400 59900 4
T 44000 51900 9 10 1 0 0 0 1
U1
N 44100 52200 44100 52800 4
C 45000 51500 1 90 0 asic-cap-2.sym
{
T 45000 52400 5 10 1 1 270 0 1
refdes=C1
T 44500 51800 5 10 1 1 270 0 1
value=100nF
}
N 44800 51500 44800 51100 4
C 44600 53000 1 0 0 5V-plus-1.sym
C 42600 50600 1 0 0 gnd-1.sym
N 44800 52400 44800 53000 4
N 50600 56200 50600 55300 4
C 56400 55800 1 270 0 capacitor-4.sym
{
T 56900 55600 5 10 1 1 270 0 1
refdes=C2
T 57100 55600 5 10 0 0 270 0 1
symversion=0.1
T 56300 55100 5 10 1 1 270 0 1
value=100uF
}
C 55000 55800 1 270 0 capacitor-4.sym
{
T 55500 55600 5 10 1 1 270 0 1
refdes=C3
T 55700 55600 5 10 0 0 270 0 1
symversion=0.1
T 54900 55100 5 10 1 1 270 0 1
value=220uF
}
C 56500 56700 1 180 0 asic-res-2.sym
{
T 55700 56900 5 10 1 1 180 0 1
refdes=R5
T 56300 56900 5 10 1 1 180 0 1
value=10
}
N 55200 54300 56600 54300 4
N 56600 54300 56600 54900 4
N 56600 55800 56600 56600 4
N 55200 56600 55200 55800 4
N 57100 57000 57100 56600 4
N 56500 56600 57100 56600 4
C 55100 53400 1 0 0 gnd-1.sym
N 55200 53700 55200 54900 4
N 52400 60200 54200 60200 4
N 54200 55600 54200 60200 4
N 49100 54200 51000 54200 4
N 51000 54200 51000 56600 4
N 51000 55300 52600 55300 4
N 52600 55300 52600 54900 4
C 45300 57600 1 180 0 EMBEDDEDmax485.sym
[
P 45000 56900 45300 56900 1 0 1
{
T 45200 56850 5 8 1 1 180 0 1
pinnumber=3
T 44900 57050 5 8 0 0 180 0 1
pinseq=3
T 44900 56900 9 10 1 1 180 0 1
pinlabel=DE
T 45200 57000 5 10 0 1 180 0 1
pintype=io
}
P 45000 57300 45300 57300 1 0 1
{
T 45200 57250 5 8 1 1 180 0 1
pinnumber=4
T 44900 57450 5 8 0 0 180 0 1
pinseq=4
T 44900 57300 9 10 1 1 180 0 1
pinlabel=DI
T 45200 57400 5 10 0 1 180 0 1
pintype=io
}
P 43000 56500 42700 56500 1 0 1
{
T 42800 56450 5 8 1 1 180 6 1
pinnumber=7
T 42100 56450 5 8 0 0 180 6 1
pinseq=7
T 43200 56500 9 10 1 1 180 0 1
pinlabel=B
T 42900 56600 5 10 0 1 180 0 1
pintype=pwr
}
P 43000 56100 42700 56100 1 0 1
{
T 42800 56050 5 8 1 1 180 6 1
pinnumber=8
T 42100 56050 5 8 0 0 180 6 1
pinseq=8
T 43400 56100 9 10 1 1 180 0 1
pinlabel=Vcc
T 42900 56200 5 10 0 1 180 0 1
pintype=io
}
P 42700 56900 43000 56900 1 0 0
{
T 42900 56850 5 8 1 1 180 0 1
pinnumber=6
T 42700 56850 5 8 0 0 180 0 1
pinseq=6
T 43200 56900 9 10 1 1 180 0 1
pinlabel=A
T 42900 57000 5 10 0 1 180 0 1
pintype=out
}
T 44950 55750 9 10 1 0 180 0 1
MAX485
B 43000 55800 2000 1800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 45000 55400 8 10 0 0 180 0 1
device=MAX662A
P 42700 57300 43000 57300 1 0 0
{
T 42900 57250 5 8 1 1 180 0 1
pinnumber=5
T 42700 57250 5 8 0 0 180 0 1
pinseq=5
T 43500 57300 9 10 1 1 180 0 1
pinlabel=GND
T 42900 57400 5 10 0 1 180 0 1
pintype=pwr
}
P 45000 56100 45300 56100 1 0 1
{
T 45200 56050 5 8 1 1 180 0 1
pinnumber=1
T 44900 56250 5 8 0 0 180 0 1
pinseq=1
T 44900 56100 9 10 1 1 180 0 1
pinlabel=RO
T 45200 56200 5 10 0 1 180 0 1
pintype=io
}
P 45000 56500 45300 56500 1 0 1
{
T 45200 56450 5 8 1 1 180 0 1
pinnumber=2
T 44900 56650 5 8 0 0 180 0 1
pinseq=2
T 44900 56500 9 10 1 1 180 0 1
pinlabel=RE
T 45200 56600 5 10 0 1 180 0 1
pintype=io
}
T 45000 55200 8 10 0 0 180 0 1
documentation=http://maxim-ic.com
T 45000 54800 8 10 0 0 180 0 1
footprint=DIP8
T 45000 55000 8 10 0 0 180 0 1
numslots=0
]
{
T 43000 55700 5 10 1 1 180 6 1
refdes=U3
}
N 45500 56500 45300 56500 4
N 45300 57300 46500 57300 4
N 45300 56100 46000 56100 4
N 46000 56100 46000 57500 4
N 46000 57500 46500 57500 4
N 46500 57100 45500 57100 4
N 45500 57100 45500 56500 4
N 45500 56900 45300 56900 4
C 42000 56600 1 180 0 EMBEDDEDoutput-1.sym
[
P 42000 56500 41800 56500 1 0 0
{
T 41750 56550 5 6 0 1 180 0 1
pinnumber=1
T 41750 56550 5 6 0 0 180 0 1
pinseq=1
}
L 41800 56400 41800 56600 3 0 0 0 -1 -1
L 41800 56400 41300 56400 3 0 0 0 -1 -1
L 41300 56400 41200 56500 3 0 0 0 -1 -1
L 41200 56500 41300 56600 3 0 0 0 -1 -1
L 41300 56600 41800 56600 3 0 0 0 -1 -1
T 41900 56300 5 10 0 0 180 0 1
device=OUTPUT
]
C 42000 57000 1 180 0 EMBEDDEDoutput-1.sym
[
P 42000 56900 41800 56900 1 0 0
{
T 41750 56950 5 6 0 1 180 0 1
pinnumber=1
T 41750 56950 5 6 0 0 180 0 1
pinseq=1
}
L 41800 56800 41800 57000 3 0 0 0 -1 -1
L 41800 56800 41300 56800 3 0 0 0 -1 -1
L 41300 56800 41200 56900 3 0 0 0 -1 -1
L 41200 56900 41300 57000 3 0 0 0 -1 -1
L 41300 57000 41800 57000 3 0 0 0 -1 -1
T 41900 56700 5 10 0 0 180 0 1
device=OUTPUT
]
N 42000 56900 42700 56900 4
N 42700 56500 42000 56500 4
T 41481 56844 9 10 1 0 0 0 1
A
T 41500 56438 9 10 1 0 0 0 1
B
C 42400 55300 1 0 0 EMBEDDEDgnd-1.sym
[
P 42500 55400 42500 55600 1 0 1
{
T 42558 55461 5 4 0 1 0 0 1
pinnumber=1
T 42558 55461 5 4 0 0 0 0 1
pinseq=1
T 42558 55461 5 4 0 1 0 0 1
pinlabel=1
T 42558 55461 5 4 0 1 0 0 1
pintype=pwr
}
L 42400 55400 42600 55400 3 0 0 0 -1 -1
L 42455 55350 42545 55350 3 0 0 0 -1 -1
L 42480 55310 42520 55310 3 0 0 0 -1 -1
T 42700 55350 8 10 0 0 0 0 1
net=GND:1
]
N 42700 57300 42500 57300 4
N 42500 57300 42500 55600 4
C 41900 57700 1 0 0 EMBEDDED5V-plus-1.sym
[
P 42100 57700 42100 57900 1 0 0
{
T 42150 57750 5 6 0 1 0 0 1
pinnumber=1
T 42150 57750 5 6 0 0 0 0 1
pinseq=1
T 42150 57750 5 6 0 1 0 0 1
pinlabel=1
T 42150 57750 5 6 0 1 0 0 1
pintype=pwr
}
L 41950 57900 42250 57900 3 0 0 0 -1 -1
T 41975 57950 9 8 1 0 0 0 1
+5V
T 42200 57700 8 8 0 0 0 0 1
net=+5V:1
]
N 42100 57700 42100 56100 4
N 42100 56100 42700 56100 4
T 42600 51900 9 10 1 0 0 0 1
U3
C 43600 51500 1 90 0 asic-cap-2.sym
{
T 43600 52400 5 10 1 1 270 0 1
refdes=C4
T 43100 51800 5 10 1 1 270 0 1
value=100nF
}
N 42700 52800 44800 52800 4
N 42700 52800 42700 52200 4
N 42700 51100 44800 51100 4
N 43400 51500 43400 51100 4
N 44100 51700 44100 51100 4
N 43400 52400 43400 52800 4
N 42700 50900 42700 51600 4
B 51600 56800 3200 4000 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 51600 60900 9 10 1 0 0 0 2
Repeat for channel 1-3 and attach
them to ADC1-ADC3
N 55400 56600 54200 56600 4
N 54200 56600 51000 56600 4
C 40900 49900 1 0 0 title-A3.sym
T 50500 50600 9 10 1 0 0 0 1
STM04
T 54500 50000 9 10 1 0 0 0 1
Christian Dietrich
T 54500 50000 9 10 1 0 0 0 2
2
T 51000 50000 9 10 1 0 0 0 1
1
T 52700 50000 9 10 1 0 0 0 1
1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment