Go to advanced search

by neilgl
Wed Jan 22, 2020 1:33 pm
Forum: Troubleshooting
Topic: Issues when powering an ESP32 microcontroller
Replies: 2
Views: 51

Re: Issues when powering an ESP32 microcontroller

How is the Adafruit HUZZAH32 writing to an SD card?
by neilgl
Wed Jan 22, 2020 1:26 pm
Forum: Beginners
Topic: Any way to speed up the system clock/timer?
Replies: 7
Views: 234

Re: Any way to speed up the system clock/timer?

Where is this countdown running?
by neilgl
Wed Jan 22, 2020 11:52 am
Forum: Beginners
Topic: Headless install on RPi 3B from Windows 10
Replies: 3
Views: 106

Re: Headless install on RPi 3B from Windows 10

Ah, and that file "2019-09-25-rpd-x86-buster.iso" is "Debian with Raspberry Pi Desktop - the Foundation’s operating system for PC and Mac". So it does not run on a pi but is intended to run on an x86 PC (e.g. repurposed desktop PC or laptop). The full pi version is from https://www.raspberrypi.org/d...
by neilgl
Wed Jan 22, 2020 11:47 am
Forum: Beginners
Topic: Please Help, Locked Out
Replies: 3
Views: 141

Re: Please Help, Locked Out

Maybe you set it to "boot to CLI" in the preferences when you did have a desktop running? Anyway, at the bash prompt enter sudo raspi-config Then navigate to menu 3 boot options, then B1 Desktop/CLI, then "B4 Desktop Autologin Desktop GUI, automatically logged in as 'pi' user " OK. Finish and reboot.
by neilgl
Wed Jan 22, 2020 11:32 am
Forum: Beginners
Topic: Stepping 28BYJ48 + ULN2003 with Raspberry pi
Replies: 1
Views: 32

Re: Stepping 28BYJ48 + ULN2003 with Raspberry pi

Maybe use @joan's excellent pigpio library http://abyz.me.uk/rpi/pigpio/index.html Install pigpiod and have it running at startup. Then this code for 180 clockwise: import pigpio from PigpioStepperMotor import StepperMotor pi = pigpio.pi() motor = StepperMotor(pi, 17, 22, 23, 24) for i in range(2048...
by neilgl
Wed Jan 22, 2020 10:39 am
Forum: Beginners
Topic: controlling a RS232 device from a raspberry pi
Replies: 3
Views: 65

Re: controlling a RS232 device from a raspberry pi

+1 and have a look at MagPi magazine issue 89, pages 48 to 51.
by neilgl
Wed Jan 22, 2020 10:21 am
Forum: Beginners
Topic: Openhabian Installation
Replies: 2
Views: 56

Re: Openhabian Installation

Yes, If you do not want the openhabian, you can install openhab2 onto Raspbian as per the instructions on the openhab site. https://www.openhab.org/docs/installation/linux.html#package-repository-installation Openhabian is a prebuilt operating system image using Raspbian lite and including Openhab2,...
by neilgl
Wed Jan 22, 2020 10:13 am
Forum: Beginners
Topic: About Raspberry Pi 4
Replies: 3
Views: 111

Re: About Raspberry Pi 4

by neilgl
Tue Jan 21, 2020 10:26 am
Forum: General discussion
Topic: Testing analog camera shutter speeds
Replies: 2
Views: 115

Re: Testing analog camera shutter speeds

I haven't got any devices to test it, but if you were using something like a TSL235R light-to-frequency converter (max 500kHz) then it may be possible to read the frequency using @joan's excellent pigpio library (see Frequency Counter 2 example ) on http://abyz.me.uk/rpi/pigpio/examples.html . The m...
by neilgl
Tue Jan 21, 2020 8:56 am
Forum: General discussion
Topic: Python Script not Starting in Crontab
Replies: 2
Views: 82

Re: Python Script not Starting in Crontab

+1 and you probably don't need to run it as root using cron. Login as pi and edit the crontab for pi (not root’s crontab sudo crontab -e)

Code: Select all

crontab -e
by neilgl
Mon Jan 20, 2020 9:00 pm
Forum: Beginners
Topic: How to install lastest version of mosquitto.
Replies: 2
Views: 125

Re: How to install lastest version of mosquitto.

Have you tried installing as per the mosquitto debian repository instructions at https://mosquitto.org/blog/2013/01/mosq ... epository/
by neilgl
Mon Jan 20, 2020 8:55 pm
Forum: Beginners
Topic: Selecting WiFi Network via Served page on RPI
Replies: 2
Views: 90

Re: Selecting WiFi Network via Served page on RPI

Maybe the install of wifi module was incorrect sudo install wifi should be

Code: Select all

sudo pip install wifi
And are you using python2 (probably) or python3 ?
by neilgl
Mon Jan 20, 2020 5:40 pm
Forum: Beginners
Topic: Web Server access from Wan
Replies: 1
Views: 59

Re: Web Server access from Wan

Which web server are you running on the pi - apache2, nginx or other?
by neilgl
Mon Jan 20, 2020 4:13 pm
Forum: Advanced users
Topic: Question about clusters
Replies: 1
Views: 108

Re: Question about clusters

I would go with less more powerful ones.
by neilgl
Sun Jan 19, 2020 10:40 pm
Forum: Beginners
Topic: Slow Pi Zero W
Replies: 7
Views: 266

Re: Slow Pi Zero W

Ah, I never use any GUI on my pizeroW - too slow.
by neilgl
Sun Jan 19, 2020 10:39 pm
Forum: Beginners
Topic: Input protection with resistors
Replies: 18
Views: 531

Re: Input protection with resistors

I quite like his old fashioned format?
by neilgl
Sun Jan 19, 2020 10:38 pm
Forum: Beginners
Topic: Fan connection
Replies: 4
Views: 189

Re: Fan connection

You probably do not need any fan at all.
by neilgl
Sun Jan 19, 2020 11:36 am
Forum: Beginners
Topic: Slow Pi Zero W
Replies: 7
Views: 266

Re: Slow Pi Zero W

To send data from microcontroller to an internet site, try using mqtt. You can publish “topics” (messages) with data to a remote mqtt server, then display the data, draw a graph etc. It can run on a pi or Arduino or esp8266 device.
by neilgl
Sun Jan 19, 2020 10:34 am
Forum: Troubleshooting
Topic: How to download scripts without network connection?
Replies: 4
Views: 108

Re: How to download scripts without network connection?

How come the pi cannot connect to the internet like they do in the tutorial?
by neilgl
Fri Jan 17, 2020 9:37 pm
Forum: Beginners
Topic: Input protection with resistors
Replies: 18
Views: 531

Re: Input protection with resistors

I am not using any twisted cable, just three wires. So far, no problems even though the wires are near a 240V water pump that switches on and off.
by neilgl
Fri Jan 17, 2020 9:28 pm
Forum: General discussion
Topic: Proper Crontab Syntax ?
Replies: 5
Views: 183

Re: Proper Crontab Syntax ?

Are you using the user pi crontab

Code: Select all

crontab -e
or inadvertently using root crontab

Code: Select all

sudo crontab -e
by neilgl
Fri Jan 17, 2020 5:55 pm
Forum: Troubleshooting
Topic: I can't see close/maximize ...bottoms
Replies: 1
Views: 60

Re: I can't see close/maximize ...bottoms

Might be the graphics memory split is set differently on some? (check via raspi-config) What programs do not open well?
by neilgl
Fri Jan 17, 2020 5:45 pm
Forum: Beginners
Topic: Question regarding minimum power required?
Replies: 16
Views: 337

Re: Question regarding minimum power required?

My D1 mini reading temperatures and sending to pi via mqtt seems to be running at 40mA (5V USB PSU)
by neilgl
Fri Jan 17, 2020 5:23 pm
Forum: Beginners
Topic: Input protection with resistors
Replies: 18
Views: 531

Re: Input protection with resistors

+1 and I have about 6 metres of "long wire" with a 4K7 resistor pull-up for my DS18B20 to the pi.

Go to advanced search