Go to advanced search

by floripaolo
Wed Feb 05, 2020 8:46 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I don't understand why your wifi module doesn't work so I suppose it is possible it is faulty. My wifi modules are wifi-8188ftv-1.pngand wifi-8188ftv-2.png Can you post a link to where you got your wifi from. MrEngman I got a refund. What external USB driver would you recommend if you had to consid...
by floripaolo
Fri Jan 31, 2020 4:24 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I would prefer not to mention the place I got it from. They are a German company with a really good reputation and they offered already to refund. Btw I have the adapter on your first image.

I'll let you know how it develops...
by floripaolo
Thu Jan 30, 2020 8:15 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I tried to install on a RPi4: Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux pi@raspberrypi:~ $ sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi --2020-01-30 09:04:22-- http://downloads.fars-robotics.net/wifi-driv...
by floripaolo
Thu Jan 30, 2020 5:32 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

It really starts getting tedious.... This is what I get blacklisting ipv6: pi@raspberrypi:~ $ ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors ...
by floripaolo
Wed Jan 29, 2020 4:54 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I also noticed with dmesg that there is an error message while loading the adapter: pi@raspberrypi:~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.19.66+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1253 Thu Aug 15 11:37:30 BS...
by floripaolo
Wed Jan 29, 2020 3:58 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I started from scratch and did all the steps you described: - flashed system - booted, changed pwd - rebooted installed nmp and install-wifi script and compiled - rpi-updated and rebooted - installed 8188fu driver with install-wifi - rebooted What I then get is: pi@raspberrypi:~ $ ifconfig lo: flags...
by floripaolo
Tue Jan 28, 2020 8:21 pm
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

I flashed a new image but before updating to the new kernel i installed the driver: pi@raspberrypi:~ $ sudo install-wifi *** Raspberry Pi wifi driver installer by MrEngman. *** Performing self-update *** Relaunching after update *** Raspberry Pi wifi driver installer by MrEngman. Your current kernel...
by floripaolo
Tue Jan 28, 2020 12:38 pm
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

@MrEngman Those where the settings I had originally. By turning off the onboard Wifi on /etc/modprobe.d with blacklist brcmfmac I end up not having wifi at all. Here again the info data: pi@raspberrypi:~ $ lsusb Bus 001 Device 002: ID 0bda:f179 Realtek Semiconductor Corp. Bus 001 Device 001: ID 1d6b...
by floripaolo
Tue Jan 28, 2020 6:05 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

Maybe your RPi, or your site router, or both, are getting confused by having two possible network paths to the same device? My Troubleshooting suggestion would be to remove the external Ethernet adapter from the RPi, then power cycle both the RPi and the router, then retry using only the external W...
by floripaolo
Tue Jan 28, 2020 5:56 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

Re: WIFI dongle problem/spotty ssh connection

Maybe your RPi, or your site router, or both, are getting confused by having two possible network paths to the same device? My Troubleshooting suggestion would be to remove the external Ethernet adapter from the RPi, then power cycle both the RPi and the router, then retry using only the external W...
by floripaolo
Fri Jan 24, 2020 9:43 am
Forum: Beginners
Topic: WIFI dongle problem/spotty ssh connection
Replies: 17
Views: 1489

WIFI dongle problem/spotty ssh connection

I've been trying for several days now to configure my new external USB dongle for my RBPiZeroW since the onboard WIFI has a poor range. I also deactivated the onboard WIFI (blacklist). At the moment I'm hooked up with an Ethernet adapter. But when I try connecting with the dongle (ethernet adapter r...
by floripaolo
Sun Dec 01, 2019 8:31 am
Forum: Beginners
Topic: Unable to copy directory
Replies: 2
Views: 199

Re: Unable to copy directory

Oh! Sorry for such a stupid question!

Thanks!!
by floripaolo
Sun Dec 01, 2019 6:30 am
Forum: Beginners
Topic: Unable to copy directory
Replies: 2
Views: 199

Unable to copy directory

Hello!! I seem to be unable to copy a directory to another location... I just installed node.js on my RBPi Zero. Finally I tried to copy it to /usr/local with sudo cp -r node-v9.7.1-linux-armv6l/* /usr/local/ everything seems ok, no error messages. But when I check destination folder nothing has bee...
by floripaolo
Wed Aug 22, 2018 12:42 pm
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

Here we go #!/usr/bin/env python from gpiozero import MCP3008 import time import math adc = MCP3008(channel=0) count = 0 values = [] volts = {0.4: 0.0, 1.4: 22.5, 1.2: 45.0, 2.8: 67.5, 2.7: 90.0, 2.9: 112.5, 2.2: 135.0, 2.5: 157.5, 1.8: 180.0, 2.0: 202.5, 0.7: 225.0, 0.8: 247.5, 0.1: 270.0, 0.3: 292...
by floripaolo
Thu Aug 02, 2018 10:01 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

At some point you'll need to learn python and how it works. This ambient_temp, pressure, humidity = bme680_sensor.read_all() Calls read_all() but in the module bme680_sensor. If you just use read_all() it used the function in your current program. ...really you should set the sensor up once, also o...
by floripaolo
Thu Aug 02, 2018 8:59 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

At some point you'll need to learn python and how it works. This ambient_temp, pressure, humidity = bme680_sensor.read_all() Calls read_all() but in the module bme680_sensor. If you just use read_all() it used the function in your current program. ...really you should set the sensor up once, also o...
by floripaolo
Thu Aug 02, 2018 8:36 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

DougieLawson wrote:
Thu Aug 02, 2018 7:34 am

You'd do much better by calling BME680 directly in your main program and getting rid of that "glue" module.
Once I've included the def read_all() in my main code how do I call it?

Code: Select all

ambient_temp, pressure, humidity = bme680_sensor.read_all()
won't obviously work anymore...

thnks
by floripaolo
Thu Aug 02, 2018 4:32 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

I think we'll need to see the bme680_sensor.py code. I'm now convinced there's a bug in there. this is the bme680_sensor.py code #!/usr/bin/env python import bme680 import time sensor = bme680.BME680(i2c_addr=0x77) # These calibration data can safely be commented # out, if desired. #print("Calibrat...
by floripaolo
Wed Aug 01, 2018 7:15 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

Does it work if you call it from a simple two line python program? Stick a print line in that read_all() function so you can see when it's called and what it returns. Thats what I get if i add the print line and uncomment Calibration data: par_gh1: -37 par_gh2: -7597 par_gh3: 18 par_h1: 638 par_h2:...
by floripaolo
Wed Aug 01, 2018 6:43 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

In that case it's your bme680_sensor.py program that's broken. I don't think so because I get the values when I run my code in a shell.... #!/usr/bin/env python import bme680 import time sensor = bme680.BME680(i2c_addr=0x77) # These calibration data can safely be commented # out, if desired. #print...
by floripaolo
Wed Aug 01, 2018 6:26 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

It looks like you've got the indentation (a python syntax thing) wrong after while time.time() - wind_start_time <= wind_interval: so that none of your new code is running as part of that loop. comparing the two codes I can't find any difference in indentation.... Screen Shot 2018-08-01 at 08.23.48...
by floripaolo
Wed Aug 01, 2018 5:12 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

I need to see what changes you've made. Grab another copy of the original code and run diff -u /tmp/originalcopy.py /home/pi/newcopy.py and post the results of that command on here. Hi thanks for looking into it. I grabbed the original code and compared it to the final one. On my weather.py I chang...
by floripaolo
Tue Jul 31, 2018 6:19 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

DougieLawson wrote:
Mon Jul 30, 2018 6:16 pm
Where did you get that code from? Because it doesn't match anything on https://github.com/RaspberryPiFoundatio ... er-station
Mostly from
https://projects.raspberrypi.org/en/pro ... er-station

I adapted mainly for the bme680 from other sites. The rest is just copy/paste.
by floripaolo
Mon Jul 30, 2018 8:00 am
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

Re: station not updating bme 680 sensor data

nothing? :shock:
by floripaolo
Tue Jul 24, 2018 4:14 pm
Forum: Weather station
Topic: station not updating bme 680 sensor data
Replies: 24
Views: 7781

station not updating bme 680 sensor data

Hello everyone I thought I was at a good point with my weather station till i realized that my bme 680 sensor data does not get updated. Somehow the first reading after rebooting is kept till the next reboot. from gpiozero import Button import time import math import statistics import bme680_sensor ...

Go to advanced search