Go to advanced search

by ghp
Sat Jun 15, 2013 9:49 am
Forum: Troubleshooting
Topic: Help, cannot connect any longer!
Replies: 2
Views: 576

Re: Help, cannot connect any longer!

Hello, looks as if you need to attach a keyboard and monitor to your system. I do not know any possibility to repair network settings by network. Hope your system is not too far away. Edit /etc/network/interfaces and replace by the default: auto lo iface lo inet loopback iface eth0 inet dhcp allow-h...
by ghp
Sat Jun 15, 2013 8:44 am
Forum: Python
Topic: Keep python script running?
Replies: 15
Views: 16606

Re: Keep python script running?

Hello, simple solution is to start the program with an '&' at the end of the command line. This creates a daemon process, running detached from the session. In unix, processes are started as childs of the console session, and closing the session means stopping the processes. Detached processes are n...
by ghp
Sat Jun 15, 2013 8:22 am
Forum: Python
Topic: CGI script calling a simple Python script problem
Replies: 10
Views: 8126

Re: CGI script calling a simple Python script problem

Hello, the code os.system("python /var/www/cgi-bin/dac.py 'val'") will put a string 'val' to the command line of the dac.py-code. Try os.system("python /var/www/cgi-bin/dac.py '{:d}'".format(val)) . This will place the value of val as a string into the command line. Check this by placing a print-sta...
by ghp
Fri Jun 14, 2013 3:09 pm
Forum: Deutsch
Topic: Pi als WLan Acess Point
Replies: 6
Views: 2847

Re: Pi als WLan Acess Point

Hallo, erst mal würde ich die folgende Anleitung empfehlen: http://www.tacticalcode.de/2013/02/raspberry-pi-als-accesspoint-oder-wlan-bridge.html Dann das Öffnen der config-Files: linux hat ein Berechtigungssystem, das den Zugriff auf alle Dateien regelt. Konfig-Dateien sind in der Regel so eingeste...
by ghp
Wed Jun 12, 2013 1:32 pm
Forum: Advanced users
Topic: Power the Pi via GPIO / backpower
Replies: 9
Views: 5743

Re: Power the Pi via GPIO / backpower

Hello, in the magpi magazine, one of the first issues, there was a design for a switched power supply, providing 5V, 3A from some 7 to 30 V or so. I have used this design in one of my projects, and got good results. I feed the 5V into the 5V_Pin of the gpio-Header and the raspi internal voltage regu...
by ghp
Wed Jun 12, 2013 1:28 pm
Forum: General discussion
Topic: Adding a co-processor?
Replies: 9
Views: 7364

Re: Adding a co-processor?

Hello, I have constructed an adapter board, where an atmel 328 is used and performs time critical tasks. Communication is SPI (for my case), but getting data back by SPI is tricky, as the usual microcontroller speed is quite slow and SPI is incredible fast. In my case, I have use low spi-maxfrequenc...
by ghp
Wed Jun 12, 2013 1:09 pm
Forum: Deutsch
Topic: Raspberry Pi Einstieg
Replies: 8
Views: 6255

Re: Raspberry Pi Einstieg

Hallo, um mit einem Telefon eine Garage zu steuern, brauchst Du: - eine wireless Verbindung - etwas Logik auf dem Raspberry - eine Möglichkeit die Garage anzusteuern. wireless: entweder den raspi an das Hausnetz hängen per LAN, der AccessPoint am Hausnetz kann die Verbindung zum telefon herstellen. ...
by ghp
Wed Jun 12, 2013 12:53 pm
Forum: Deutsch
Topic: Steuerung für 3 Motoren, 4-5 Magnetventile und 1 Sensor?
Replies: 2
Views: 3466

Re: Steuerung für 3 Motoren, 4-5 Magnetventile und 1 Sensor?

Hallo, für Motoren und Ventile braucht man eh zusätzliche Elektronik, um die benötigte Leistung zur verfügung zu stellen. Für 4 Motoren gibt es von Sparkfun ein stepper-controller board, welches bis zu 1 (max 2) Ampere bereitstellt und ein einfaches Interface für den host-prozessor hat (direction, s...

Go to advanced search