e
RPIO.setmode(RPIO.BCM)
# OUT - Enable Port for the module
enable_port=27
RPIO.setup(enable_port,RPIO... rt)
RPIO.output(enable_port,RPIO.LOW)
#IN - Read the data
data_port=17
RPIO.setup(data_port,RPIO.IN)
... Python Script to decode a DFC77 Module connect to the Raspberry
Connect:
SIG to Pin 11 GPIO 17
ENABLE to Pin 13 GPIO 27
Parameter -d
To supress the debug output start the script with -d 01
Paramet
ring you like to use
RPIO.setmode(RPIO.BCM)
# Set the used RPIO PORTs
# OUT
cs_port = 17
clk_port = 27
... 40
# runs
v_runs = 10
# Helper Function to set the bits
# set a bit to 1
def setBit(int_type, offset... 1 << offset)
return (int_type & mask)
# get the real Voltage value from the extracted value
def getVolt(vvalue):
# Value of the Voltage at the Pin
==== Der Raspberry PI ======
Beschaffung https://thepihut.com/collections/raspberry-pi/products/raspbe... i-2-installieren/
----
==== Display am PI ====
The official Raspberry Pi touch display
* https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/
===Display... :P24_CONTENT_ID,P24_PREV_PAGE:8489,29|Configuring the Raspberry Pi as an Oracle Java Embedded Developme
tens 51mA Strom fließen.
Siehe auch: http://www.thebox.myzen.co.uk/Raspberry/Understanding_Outputs.ht...
#Frist Blink
for i in range(0,10):
#set the out port to HIGH
#LED ON
RPIO.gpi... a short moment
time.sleep(2)
#set the out port to LOW again
# LED OFF
R... =27
RPIO.setup(out_port,RPIO.OUT)
# IN Port with the Switch
in_port=17
RPIO.setup(in_port,RPIO.IN)
#e
SH anmelden (Default User alarm , Passwort alarm. The Default root Passwort ist root)
==System konfig... influxdb
vi influxdb.conf
...
[meta]
# Where the metadata/raft database is stored
dir = "/data/influxdb/meta"
...
[data]
# The directory where the TSM storage engine stores TSM files.
dir = "/data/influxdb/data"
# The direct
H%M")
MY_HOUR=$(date +"%H")
PARAM=backlight
#set the mode over the hour of the day
if [ ${MY_HOUR} -lt 7 ]
then
PARAM=night
fi
if [ ${MY_HOUR} -gt 17 ]
then
PARAM=night
fi
#Previ
:
<code bash>
#Datei mit arp einträgen
vi /etc/ethers
#MAC IP
09:24:d7:15:e0:38 192.168.178.45
22:64... 12:83:92:01 192.168.178.1
#einlesen
arp -f /etc/ethers -i wlan0
arp -a
#für Redhat Varianten eine ifu... in/ifup-local
#!/bin/sh
if [[ "$1" == "wlan0" ]]
then
arp -f /etc/ethers
else
echo not in use
fi
chmod +x /sbin/ifup-local
# mit reboot testen
reboot
</c
shift $(($OPTIND - 1));
if [ -n "$pidfile" ]; then
pidfile="-p $pidfile";
fi;
daemo... ev/null || status="$?";
if [ "$status" = 0 ]; then
log_success_msg "$name is running";
... return 0;
else
if [ "$status" = 4 ]; then
log_failure_msg "could not access PI... eplaced by LSB library.
if test "$1" != "0"; then
echo "Error with $DESCRIPTION: $NAME"
~5€
* http://www.instructables.com/id/FM-Radio-the-easy-way/
Link zu dem RDA5807M RRD-102V2.0 RRD ...
----
===DBA+ Modul ===
**Verona FS2052**
The Verona FS2052 module is the latest in a new generation of digital audio products to use the new DAB/DAB+/DMB-Radio optimised Kino 3 baseband
or im Netz gebraucht erwerben:
{{ :raspberry:gunther_pipperr.jpg?150 |geiger-counter-radiation-sensor... /geiger/cooking/arduPi
vi geiger.cpp
=> Add here the example code from https://www.cooking-hacks.com/d... b compile
g++ -c arduPi.cpp -o arduPi.o
#Complie the minimal software:
g++ -lrt -lpthread geiger.cpp
ontains a btrfs signature.
Do you want to remove the signature? [Y]es/[N]o: N
</code>
Schreiben:
<code bash>
Command (m for help): w
The partition table has been altered.
Syncing disks.