Go to advanced search

by jbudd
Fri Mar 09, 2018 10:38 am
Forum: Troubleshooting
Topic: RPi 3b wlan always gets APIPA IP
Replies: 2
Views: 542

Re: RPi 3b wlan always gets APIPA IP

Did you modify /etc/network/interfaces? This used to be a sensible thing to do; not any more - except in special circumstances, which don't include setting a static IP address. This is the current default interfaces file: # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this fil...
by jbudd
Fri Mar 09, 2018 12:50 am
Forum: Beginners
Topic: Auto feeder machine
Replies: 2
Views: 402

Re: Auto feeder machine

What do you want to feed - cats, cattle, bees?
by jbudd
Thu Mar 08, 2018 4:33 pm
Forum: Troubleshooting
Topic: Trying to display IP address at login,rc.local isn't working
Replies: 4
Views: 1307

Re: Trying to display IP address at login,rc.local isn't working

Can email fire off without me logging in? Yes it can. I'll have a mini LCD display on the pi Which ssh client are you using and how do you get as far as seeing the login prompt if you don't know the IP - by hostname? I assumed that if you connect by ssh, you wouldn't have a screen. Are you using it...
by jbudd
Thu Mar 08, 2018 3:47 pm
Forum: Beginners
Topic: Best Pi for servo usage.
Replies: 7
Views: 1437

Re: Best Pi for servo usage.

If you are new to the Raspberry Pi, definitely develop on the Pi 3. It's so much faster and easier to plug things in.

The Zero W uses less power, so it might be worth moving to a Zero once you have everything working.
by jbudd
Thu Mar 08, 2018 6:43 am
Forum: Beginners
Topic: Use Ethernet and Wifi alternately
Replies: 2
Views: 572

Re: Use Ethernet and Wifi alternately

I suspect that you are following out of date advice online. With Raspbian Stretch, /etc/network/interfaces should only contain # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.c...
by jbudd
Thu Mar 08, 2018 6:27 am
Forum: Troubleshooting
Topic: Trying to display IP address at login,rc.local isn't working
Replies: 4
Views: 1307

Re: Trying to display IP address at login,rc.local isn't working

I think the login prompt is <hostname> login: So maybe you could have a script to change the Pi hostname. You would have to substitute hyphens for the dots and update /etc/hosts and /etc/hostname. I can't see how you are going to see the login prompt via ssh though - you can't connect without the IP...
by jbudd
Thu Mar 08, 2018 6:07 am
Forum: Troubleshooting
Topic: How to connect JMCU lightning sensor
Replies: 10
Views: 2059

Re: How to connect JMCU lightning sensor

Unless you give the information people ask for you are unlikely to get help.
by jbudd
Thu Mar 08, 2018 1:38 am
Forum: Troubleshooting
Topic: How to connect JMCU lightning sensor
Replies: 10
Views: 2059

Re: How to connect JMCU lightning sensor

What version of Raspberry Pi are you using? What operating system and version? Is this the tutorial you have followed? https://coffeewithrobots.com/detecting-lightning-with-a-raspberry-pi/ Did you change anything in the demo.py script? For example the sensor address and bus no on line 13? It would b...
by jbudd
Tue Mar 06, 2018 5:29 pm
Forum: Beginners
Topic: Solar tracker info
Replies: 11
Views: 2789

Re: Solar tracker info

Not a big problem, but be aware that the Raspberry Pi doesn't have a real time clock, it depends on connecting to an NTP server.
So if your Pi has no connection to the internet it's time could drift or it could start tracking where the sun was in January 1970.
Real time clock add-ons are available.
by jbudd
Mon Mar 05, 2018 12:21 pm
Forum: Beginners
Topic: USB-Serial problem. Is it in node-red or RPi3 ?
Replies: 11
Views: 3188

Re: USB-Serial problem. Is it in node-red or RPi3 ?

I send and receive messages between Pi and ESP8266 with Node-Red and MQTT. Mosquitto on the Pi runs as an MQTT broker. The ESP code includes connecting to the broker and sending/receiving and responding to commands. There are quite a few tutorials online showing how to set it up, eg https://www.penn...
by jbudd
Mon Mar 05, 2018 11:48 am
Forum: Troubleshooting
Topic: Raspberry PI W Zero
Replies: 4
Views: 678

Re: Raspberry PI W Zero

That's wrong. Those files go on the small FAT32 partition that is labelled boot, not in any folder. If the Pi connects to the network, wpa_supplicant.conf and ssh must have been in the right folder. It takes a little while for the Pi 0W to boot up and get ready to login. Try leaving it on for 5 min...
by jbudd
Mon Mar 05, 2018 11:35 am
Forum: Troubleshooting
Topic: Formatting issue between computer and the Pi
Replies: 5
Views: 657

Re: Formatting issue between computer and the Pi

Windows cannot understand Linux ext4 partitions, so it offers to format them for you. Be strong and say no! I have sometimes, with the uSD card in a USB card reader, been able to see files in the ext4 partition but changes I make on the PC are not saved. You can copy files from your PC to the SD car...
by jbudd
Mon Mar 05, 2018 1:36 am
Forum: Beginners
Topic: Pi as heating/elec failure alarm
Replies: 27
Views: 3001

Re: Pi as heating/elec failure alarm

An old smartphone seems like a better option than a GSM add-on board for the PI. With an old Android you could: Use an app such as Power Outage SMS to send a notification when mains power goes down or comes back on. Run an MQTT client to receive temperature warnings from the Pi and send them as SMS ...
by jbudd
Sat Mar 03, 2018 8:09 pm
Forum: Beginners
Topic: Ring a church bell
Replies: 3
Views: 897

Re: Ring a church bell

That sounds like an excellent project! Old tower clocks use a very heavy weight (larger than the weight keeping the clock running) plus reducing gears to lift the hammer between strikes, and a very appealing mechanism to let it fall under gravity the correct number of times. https://www.youtube.com/...
by jbudd
Sat Mar 03, 2018 7:26 pm
Forum: Troubleshooting
Topic: Getting Wi-Fi to work (Pi Zero)
Replies: 17
Views: 8922

Re: Getting Wi-Fi to work (Pi Zero)

The script I use to set up new Pi's (not the one I tested above) uses a different method to disable ipv6 echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf echo "net.ipv6.conf.lo.disable_ipv6 = 1" | su...
by jbudd
Sat Mar 03, 2018 7:04 pm
Forum: Troubleshooting
Topic: Getting Wi-Fi to work (Pi Zero)
Replies: 17
Views: 8922

Re: Getting Wi-Fi to work (Pi Zero)

it says that lo is the only interface that exists But in your first post you said On Stretch, it recognises it, ifup returns, and wlan0 exists but it can't connect to the internet I confess I'm mystified. At one time there were issues with the Ralink 148f:7601 and @MrEngman posted drivers at http:/...
by jbudd
Sat Mar 03, 2018 12:51 am
Forum: Troubleshooting
Topic: Getting Wi-Fi to work (Pi Zero)
Replies: 17
Views: 8922

Re: Getting Wi-Fi to work (Pi Zero)

This is your wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev ap_scan=1 update_config=1 network={ ssid="myssid" psk="mypassword" } And this is the wpa_supplicant.conf that always works for me. Did you try it? ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_c...
by jbudd
Fri Mar 02, 2018 11:38 am
Forum: Troubleshooting
Topic: Getting Wi-Fi to work (Pi Zero)
Replies: 17
Views: 8922

Re: Getting Wi-Fi to work (Pi Zero)

Is there any way I can make this one work? Use the latest Raspbian, not Jessie. More and more USB dongle drivers have been included in each release. Don't change /etc/network/interfaces. On Stretch, it recognises it, ifup returns, and wlan0 exists but it can't connect to the internet, and I get wpa...
by jbudd
Fri Mar 02, 2018 12:50 am
Forum: Troubleshooting
Topic: Getting Wi-Fi to work (Pi Zero)
Replies: 17
Views: 8922

Re: Getting Wi-Fi to work (Pi Zero)

There used to be a list of compatible USB wifi dongles somewhere but I don't know if it has been kept up to date. With Raspbian Stretch, /etc/network/interfaces should contain # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For stat...
by jbudd
Thu Mar 01, 2018 12:16 pm
Forum: Beginners
Topic: Pi Possibilities?
Replies: 10
Views: 1326

Re: Pi Possibilities?

You can wire up switches to the GPIO pins - the Pi would detect when the input pin goes high and run a program to connect bluetooth. Also available are a variety of add-on boards ("Hats") which include buttons. As an example https://shop.pimoroni.com/products/display-o-tron-hat has 6 touch buttons a...
by jbudd
Wed Feb 28, 2018 6:32 pm
Forum: Troubleshooting
Topic: cannot find the raspberry zero w ip address
Replies: 2
Views: 2663

Re: cannot find the raspberry zero w ip address

The easiest way to successfully get the Pi working headless is to use the Raspbian image, not NOOBS. Use Etcher to write the image to the SD card Prepare and copy to the boot partition a wpa_supplicant.conf file with your wifi credentials andall the header lines. Put an empty ssh file in the boot pa...
by jbudd
Wed Feb 28, 2018 5:39 pm
Forum: General discussion
Topic: E-ink display
Replies: 9
Views: 4948

Re: E-ink display

I have a tiny Waveshare red/white/black e-ink hat on a Pi Zero. The refresh rate is really slow. Waveshare do a 7.5" e-ink Raspberry hat but consider repurposing an e-reader for the same price or less. They come with a nice case, battery, VGA resolution, wifi, maybe touchscreen... Since Barnes & Nob...
by jbudd
Wed Feb 28, 2018 12:19 am
Forum: Troubleshooting
Topic: Can't connect Pi Zero W to WiFi Headless
Replies: 11
Views: 1881

Re: Can't connect Pi Zero W to WiFi Headless

If the Pi successfully boots, ssh and wpa_supplicant.conf files will be deleted from the /boot partition. So it looks like yours is not booting.

How are you obtaining Raspbian and copying it to the SD card?
by jbudd
Tue Feb 27, 2018 3:55 am
Forum: General discussion
Topic: How to label those tiny micro sd cards?
Replies: 31
Views: 23168

Re: How to label those tiny micro sd cards?

If micros SD cards had existed when I was a kid, I'd have used a sticky label and a 0.18mm Rotring pen.

These days I swap the card out, put it down somewhere and can't see where I put the damn thing. So I buy a new one.

As a system it has it's faults, but at least there are no solvents required.

Go to advanced search