Go to advanced search

by rapidograf
Tue May 07, 2019 7:28 am
Forum: Beginners
Topic: how connect android and raspi
Replies: 2
Views: 168

how connect android and raspi

How connect android device and raspi ? for change files on raspi side , will be great if you advice fre soft ssh or vnc
by rapidograf
Mon May 06, 2019 5:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how connnect 4 or more ds18b20
Replies: 7
Views: 571

Re: how connnect 4 or more ds18b20

It has to be how you are connecting the 4,5,6 sensor, because you say you have checked the individual sensors and they work. Try replicating your wiring in a smaller scale say a foot of cable then if you still can't get it to work post some pictures and may be we can spot the problem. please see ti...
by rapidograf
Mon Apr 29, 2019 10:22 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how connnect 4 or more ds18b20
Replies: 7
Views: 571

Re: how connnect 4 or more ds18b20

Vdd should be connected to 3.3V, not 5V! For long runs that need more power you can connect Vdd to 5V but have the 4K7 resistor between Data and 3.3V. The data line should never go above 3.3V or it could kill the Pi. my problem asnot in voltage, i assemble long wire with four ds18b20 and i have sho...
by rapidograf
Mon Apr 29, 2019 7:59 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how connnect 4 or more ds18b20
Replies: 7
Views: 571

Re: how connnect 4 or more ds18b20

It has to be how you are connecting the 4,5,6 sensor, because you say you have checked the individual sensors and they work. Try replicating your wiring in a smaller scale say a foot of cable then if you still can't get it to work post some pictures and may be we can spot the problem. please see ti...
by rapidograf
Mon Apr 29, 2019 7:19 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how connnect 4 or more ds18b20
Replies: 7
Views: 571

how connnect 4 or more ds18b20

Hello Raspi geeks I have problem with DS18b20 to long lan cable - 40 meters i connected 4 sensors DS18b20 , as result i had short ciruit between VCC and GND wire , i unpug one sensor and 3 sensors on long cable goosd work without any problem, i check unplugged ds18b20 it worked, all sensors separate...
by rapidograf
Thu Apr 11, 2019 6:59 am
Forum: Beginners
Topic: how clone sd cad by disc duplicate ( dd )
Replies: 4
Views: 197

Re: how clone sd cad by disc duplicate ( dd )

Hello , How on raspberry make full copy of sd card by command dd , to second sd card which had plug into usb via adaptor ? :?: :arrow: :idea: https://www.raspberrypi.org/documentation/linux/filesystem/backup.md soorry but i wish use dd for sd card without save clone to file. Directly fro system sd ...
by rapidograf
Thu Apr 11, 2019 6:24 am
Forum: Beginners
Topic: how clone sd cad by disc duplicate ( dd )
Replies: 4
Views: 197

how clone sd cad by disc duplicate ( dd )

Hello ,

How on raspberry make full copy of sd card by command dd , to second sd card which had plug into usb via adaptor ?
:?: :arrow: :idea:
by rapidograf
Tue Jan 22, 2019 6:52 pm
Forum: Networking and servers
Topic: no ip services for raspberry
Replies: 4
Views: 455

Re: no ip services for raspberry

It all depends in which network the Pi is located. For my answer I'm going to assume that the Pi is located at your home and that you have a standard broadband connection with a router delivered by your internet provider. To let the incoming traffic reach your service you have to open/forward the c...
by rapidograf
Tue Jan 22, 2019 6:43 am
Forum: Networking and servers
Topic: no ip services for raspberry
Replies: 4
Views: 455

no ip services for raspberry

Hello

on the raspberry is small web site. how possible see it site from internet ?
which services like no-ip more suitable for it ?
by rapidograf
Sat Jan 05, 2019 9:21 pm
Forum: Python
Topic: web server based on Python , how ?
Replies: 3
Views: 373

Re: web server based on Python , how ?

1. how use current ip address of raspberry as ip address for server, or how manually give ip address and port. The web server runs on the computer and uses the computers network connection. So the ip address of server and this of the computer are the same. The port is usually defined in config file...
by rapidograf
Sat Jan 05, 2019 6:20 pm
Forum: Python
Topic: web server based on Python , how ?
Replies: 3
Views: 373

web server based on Python , how ?

I found easy sample how make web sever based on Python 3 , but howdo following 1. how use current ip address of raspberry as ip address for server, or how manually give ip address and port. 2. how see web page of Python server in local net ? 3. how automaticaly run python web server in boot sytem.
by rapidograf
Wed Dec 19, 2018 5:07 am
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

Re: launch python programm by pphp

good advice. but i/m not progremmer . to me very important that @all working from box@ without any setups, but i seen your link all look likes enought easy. I'd definitely suggest trying to do everything in a single language then. Trying to learn several languages (PHP, Python as well as HTML/CSS) ...
by rapidograf
Tue Dec 18, 2018 5:07 am
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

Re: launch python programm by pphp

What is the trouble with launch python progremm by php scripts ? and if you will advice directly work with python as cgi script , i cant it do , because i dont know as preset apache2 for it. I realise it's not the route you're asking for but do you actually need apache if you went the pure python r...
by rapidograf
Mon Dec 17, 2018 5:02 am
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

Re: launch python programm by pphp

The error output from $pr=exec("python /home/pi/pr.py"); should be in /var/log/apache2/error.log If you want to redirect all output (stdout and stderr) into another file, use $pr=exec("python /home/pi/pr.py >>/tmp/prpyoutput.txt 2>&1"); The apache webserver is running as user www-data. You could st...
by rapidograf
Sun Dec 16, 2018 4:54 pm
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

Re: launch python programm by pphp

Can you give some sample how working without smbus with i2c devices ? Oh, you meant that smbus, not the session manager bus, my mistake, sorry. In that case, yes, you're using the correct py library. A few links: https://elinux.org/Interfacing_with_I2C_Devices https://www.instructables.com/id/Raspb...
by rapidograf
Sat Dec 15, 2018 8:25 pm
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

Re: launch python programm by pphp

Hi, First of all I suggest to redirect the output of your python script into a file so that you can see what's the error message. $pr=exec("python /home/pi/pr.py 2>&1 >/tmp/prpyoutput.txt"); Second, it's very likely you're having a file access issue. When you run your script from console, it's runn...
by rapidograf
Sat Dec 15, 2018 5:32 pm
Forum: Networking and servers
Topic: launch python programm by pphp
Replies: 12
Views: 1924

launch python programm by pphp

In the web page is button which run php script. in php script wrote $pr=exec("python /home/pi/pr.py"); whei i push putton , php stript launch pr.py but if in pr.py is strings about smbus , for example importt smbus bus=smbus.SMBus(1) a=bus,read_pyte_data (0x68, 0x01) this programm cant be lauch by p...
by rapidograf
Thu Nov 29, 2018 5:06 am
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

i aded pinf ech minute to cron and add iw dev wlan0 set power_save off into /etc/rc.local Did you set the Pi to wait for connection on boot? If you put this on /etc/rc.local it is possible that the command is send before the wifi is set. sudo raspi-config, boot option, wait for network to boot! Thi...
by rapidograf
Wed Nov 28, 2018 12:59 pm
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

i aded pinf ech minute to cron and add iw dev wlan0 set power_save off into /etc/rc.local Did you set the Pi to wait for connection on boot? If you put this on /etc/rc.local it is possible that the command is send before the wifi is set. sudo raspi-config, boot option, wait for network to boot! Thi...
by rapidograf
Wed Nov 28, 2018 6:37 am
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

@rapidograf Where are the answers of all the questions ? when wifi dongle had sleept , ping not return any data about connect betwee PC and raspi. i aded pinf ech minute to cron and add iw dev wlan0 set power_save off into /etc/rc.local but unfortunately wifi dongle wouldl like sleep. may be some e...
by rapidograf
Tue Nov 27, 2018 6:39 pm
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

Ok We don't know what you did or did not. Did you create the ping in the crontab using the IP of your router? Did you add the iw.... power_save off into /etc/rc.local or using delay in the root crontab with sleep command? sudo crontab -e @reboot sleep 30 && iw dev wlan0 set power_save off when you ...
by rapidograf
Mon Nov 26, 2018 6:09 pm
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

Sorry, where i have to add /etc/rc.local ? Don't use rc.local. Use cron; see @danjperron's post above I did ping on Raspi , return anser , all OK. But when i run IP scanner on another machine i cant found Raspi in me home net. i can use web browser on Raspi but Raspi dont possible found by scanner....
by rapidograf
Mon Nov 26, 2018 4:19 pm
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

You should add that command /etc/rc.local and it will work. Sorry, where i have to add /etc/rc.local ? Don't use rc.local. Use cron; see @danjperron's post above I did ping on Raspi , return anser , all OK. But when i run IP scanner on another machine i cant found Raspi in me home net. i can use we...
by rapidograf
Mon Nov 26, 2018 10:19 am
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

DirkS wrote:
Mon Nov 26, 2018 9:59 am
rapidograf wrote:
Mon Nov 26, 2018 5:02 am
ahududu wrote:
Sun Nov 25, 2018 7:21 pm
You should add that command /etc/rc.local and it will work.
Sorry, where i have to add /etc/rc.local ?
Don't use rc.local.
Use cron; see @danjperron's post above
Just for interest. what happend if use rc.local ?
by rapidograf
Mon Nov 26, 2018 5:02 am
Forum: Networking and servers
Topic: wifi dongle going to sleep in anymethods
Replies: 19
Views: 1997

Re: wifi dongle going to sleep in anymethods

ahududu wrote:
Sun Nov 25, 2018 7:21 pm
You should add that command /etc/rc.local and it will work.
Sorry, where i have to add /etc/rc.local ?

Go to advanced search