Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
RaspberryPi-Erweiterung_Rev.1
Da sich auf dem ersten Layout ein Fehler eingeschlichen hatte, habe ich das Layout und die Schaltung noch einmal überarbeitet.
Stromlaufplan
Hier noch mal als PDF:raspi_6xs0_3x1-wire_1xir_rev1_stromlaufplan.pdf
Den 1kOhm bis 4,7kOhm Widerstand, der üblicherweise von 1-Wire-Data gegen +Ub geschaltet ist,
wurde extra nicht auf der Leiterplatte platziert, um diesen einfach an Leitungslänge und Sensoren anpassen zu können.
Er sollte daher extern angeschlossen werden.
Bestückungsplan und Anschlussplan
Die Leiterplatte hat sich in den Abmaßen zu der ersten Version nicht geändert.
Geändert hat sich die Anschlussbelegung!!
Hier noch mal als PDF: raspi_6xs0_3x1-wire_1xir_rev1_bestueckungsplan.pdf
Wer den TTL-IR-Schreib-Lesekopf an die Erweiterung anschließt, hier die Anschlussbelegung:
Leitungsfarbe | Signal | Klemmleiste |
---|---|---|
weiß o. schwarz | +3,3V/+5V | +5V |
rot o. braun | TXD | TXD1 |
grün | RXD | RXD1 |
gelb | GND | GND |
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited.
The first and main one is /etc/inittab
This file has the command to enable the login prompt and this needs to be disabled. Edit the file and move to the end of the file. You will see a line similar to:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Disable it by adding a # character to the beginning.
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100</note>
Save the file.
Disable Bootup Info:
Disable it by editing the file /boot/cmdline.txt .
The contents of the file look like this:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Remove all references to ttyAMA0 (which is the name of the serial port). The file will now look like this:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Save the file.
Reboot
In order you enable the changes you have made, you will need to reboot the Raspberry Pi:
sudo shutdown -r now
Preise
Der Gesamtpreis der Bauteile hat sich gerinfügig geändert.
Auf das Bild klicken zur größeren Darstellung.
Hier noch mal als PDF: raspi_6xs0_3x1-wire_1xir_rev1_preise.pdf
Die Preise sind ohne das Gehäuse. Das oben abgebildete Gehäuse gibt es bei Reichelt.
Alle Bauteile, die Leiterplatte, als auch das fertig bearbeitete Gehäuse, können von Udo ( udo dot volksz at gmail dot com ) bezogen werden.
CAD-Arbeits-Datei
raspi_6xs0_3x1-wire_1xir_rev1.zip
Der Target-Arbeitsfile, der mit Target3001 geöffnet und bearbeitet werden kann.