Go to advanced search

by pascale
Mon Sep 09, 2019 8:20 pm
Forum: Device Tree
Topic: Adding a 2nd w1 GPIO
Replies: 23
Views: 12904

Re: Adding a 2nd w1 GPIO

Hi all, I have recently upgraded to debian 10 lite on a zero, I have been following this thread for a while as I wanted to attach 15 ds18b20s dtoverlay=w1-gpio,gpiopin=4 dtoverlay=w1-gpio,gpiopin=17 worked on stretch but does not work for me on buster :( so I tried dtoverlay=w1-gpio dtparam=gpiopin=...
by pascale
Sun Jul 08, 2018 12:26 pm
Forum: Python
Topic: python and relay module
Replies: 9
Views: 5451

Re: python and relay module

Hi I had the same problem, So I changed my python code from if read_sensor(sID1) + x > read_sensor(sID2): GPIO.output(25,GPIO.HIGH) # print("it's Hot!") To if read_sensor(sID1) + x > read_sensor(sID2): GPIO.output(25,GPIO.LOW) # print("it's Hot!") And now the relay woks :D
by pascale
Wed Jun 13, 2018 3:11 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 69595

Re: DHT11 readings onto a web page!

Hi
I am asking the impossible!
So I decided to look at this another way, I have set up a flask server and i can now display the out put of both DHT11 and DS22b10 sensors, I will get back soon with the code when I understand it :D
Regards
Pascale
by pascale
Fri Jun 01, 2018 6:12 am
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Re: Help with python script to work a relay from two DS18B20

The relay is connected to the 5v from the Pi? Which part of the relay? Are you able to post a pic or diagram of how you have connected it. The 5v pins are not switchable, they cannot be controlled from software. I've just found this thread on the Forum which may help: viewtopic.php?t=197339 Hi Forr...
by pascale
Wed May 30, 2018 2:18 pm
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Re: Help with python script to work a relay from two DS18B20

Hi forris
Thank you for your reply, It is pluged into the 5v output of the pi, I think the problem is my script so I am working on this side of the problem.
Thanks a gain for taking the time to look
Kind regards
pascale
by pascale
Tue May 29, 2018 9:21 pm
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Re: Help with python script to work a relay from two DS18B20

Hi,
I had at the end of the script the cleanup line,
GPIO.cleanup()
If I wire up the test lamp to the left it works, so the bright red light must mean the output is LOW , I am sorry but I need a little bit Of help
Kind regards
Pascale
by pascale
Tue May 29, 2018 9:02 pm
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Re: Help with python script to work a relay from two DS18B20

Hi again I edited my script and... Whilst the script was running the little red light went out, when I stop the script the light is still out, I unplugged the pin and replugged it in the light is now bright red! Is all this normal, I Hve read i should put a clearup script at the end but not to sure ...
by pascale
Tue May 29, 2018 8:54 pm
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Re: Help with python script to work a relay from two DS18B20

Hi
Thanks for your rapid reply, this means I am using pin 37 gpio 26, so if I correct my code that shoud work? :D
Kind regards
Pascale
by pascale
Tue May 29, 2018 8:19 pm
Forum: Troubleshooting
Topic: Help with python script to work a relay from two DS18B20
Replies: 9
Views: 777

Help with python script to work a relay from two DS18B20

Hi all I am trying to build a home heating control, my first step is to control a solar heating panel I built, I want to turn on a circulation pump when the panel is five degrees hotter than the hot water tank and turn off when they are same temperature. I am running a pi zero with rasbian stretch l...
by pascale
Sun Apr 29, 2018 6:57 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 69595

Re: DHT11 readings onto a web page!

Hi I have read through the last few pages of this post, but I cannot find the answer to my problem, I want to post the temperature and humidity to a web page with a simple php file. I am using a pi zero w 4gb disc stretch lite php7 apache2 mariadb, I have one DHT11 but would like to use two, I have ...
by pascale
Mon Apr 23, 2018 10:07 am
Forum: Troubleshooting
Topic: D.Link DWA 131 WLAN/USB Adapter not working
Replies: 211
Views: 72770

Re: D.Link DWA 131 WLAN/USB Adapter not working

Hi MrEngman
I have now read all the script and it now works
:oops: :oops: :oops: :oops: :oops: :oops: :oops:
Thanks again
Paul
by pascale
Mon Apr 23, 2018 9:48 am
Forum: Troubleshooting
Topic: D.Link DWA 131 WLAN/USB Adapter not working
Replies: 211
Views: 72770

Re: D.Link DWA 131 WLAN/USB Adapter not working

Hi again MrEngman I updated my kernal and rebooted and lost internet, my dongle does not work any more, I have stuck the sd card into a zero w and have tried the following script sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi sudo chmod +x /usr/bin/install-wifi sudo ins...
by pascale
Mon Feb 05, 2018 5:41 pm
Forum: Troubleshooting
Topic: D.Link DWA 131 WLAN/USB Adapter not working
Replies: 211
Views: 72770

Re: D.Link DWA 131 WLAN/USB Adapter not working

Mr Engman
Thank you so much for your hard work, It worked first time :D :D :D :D :D
Many thanks again Regards
Paul
by pascale
Mon Feb 05, 2018 3:14 pm
Forum: Troubleshooting
Topic: D.Link DWA 131 WLAN/USB Adapter not working
Replies: 211
Views: 72770

Re: D.Link DWA 131 WLAN/USB Adapter not working

Hi mr Engman
Thank you for replying so quickly

Code: Select all

uname -rv 4.9.59+ #1047
If I understand correctly, I put the pi sd card into my scratch machine and use the code you are very kindly going to give me, and then this will enable me to then install this and make every thing work?
Regards
Paul
:D :D
by pascale
Mon Feb 05, 2018 11:34 am
Forum: Troubleshooting
Topic: D.Link DWA 131 WLAN/USB Adapter not working
Replies: 211
Views: 72770

Re: D.Link DWA 131 WLAN/USB Adapter not working

Hi I have the same problem but no Internet access from my zero without the dongle uname -r = 4.4.50 I followed the code below, but as I have no Internet, no joy. sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi sudo chmod +x /usr/bin/install-wifi sudo install-wifi -h My l...

Go to advanced search