Go to advanced search

by sparkyhall
Thu Sep 19, 2019 6:05 pm
Forum: General discussion
Topic: Armor case question
Replies: 13
Views: 1680

Re: Armor case question

I have an Amor style case I bought on ebay, the gap between the CPU and the raised part of the cased measured just under 1.2mm and the pads that came with it were 1.3mm. I used a 1.2mm piece of aluminium and thermal paste on mine. Having said that I'm sure mine had a gap between the two raised parts...
by sparkyhall
Wed Sep 18, 2019 7:16 pm
Forum: General discussion
Topic: latest rpi-update 2.5ghz with 4B 4g
Replies: 47
Views: 13314

Re: latest rpi-update 2.5ghz with 4B 4g

pi-tastic wrote:
Wed Sep 18, 2019 3:20 pm
we should do an energy consumption test @ those numbers how much extra is it eating?
i have the official psu and i notice at 1.9/2ghz it gets hotter!.
On my Pi4 the 5V supply current at default clock is 1A at 100% CPU load, at 2GHz it is 1.5A, an increase of 2.5W.
by sparkyhall
Tue Sep 17, 2019 7:15 pm
Forum: Python
Topic: pymodbus
Replies: 1
Views: 2997

Re: pymodbus

It looks like PyModBus will run on either Python 2.7 or 3+, have you tried installing for python 3 instead?

Code: Select all

python3 setup.py install
or

Code: Select all

pip3 install  -U pymodbus
by sparkyhall
Fri Sep 13, 2019 11:58 am
Forum: General discussion
Topic: latest rpi-update 2.5ghz with 4B 4g
Replies: 47
Views: 13314

Re: latest rpi-update 2.5ghz with 4B 4g

I suspect you are overloading the PMIC overclocking this high. The PMIC is a MxL7704 and the main out is rated to 4A, at 1V that's only 4W. When I ran my Pi4 at 2GHz the 5V supply current went from 1A at 100% CPU load to 1.5A, an increase of 2.5W. At a guess at 2.5GHz you are likely to have increase...
by sparkyhall
Sun Sep 08, 2019 9:20 am
Forum: General discussion
Topic: Wildhog alarm
Replies: 5
Views: 865

Re: Wildhog alarm

I'll second pikrellcam, it works really well on a pi zero.

Perhaps an old camera flash in addition to an ultrasonic transducer will scare them?
by sparkyhall
Mon Aug 19, 2019 7:46 pm
Forum: Gentoo
Topic: Bootable 64-bit Gentoo image for the RPi4 released (Xfce4 desktop)
Replies: 53
Views: 37540

Re: Bootable 64-bit Gentoo image for the RPi4 released (Xfce4 desktop)

Thanks Sakaki, it's working really well here. My first time using Gentoo so I've got some reading to do, I really appreciate the image and first class instructions you have provided, probably never have tried Gentoo without this. I'm amazed at how much smoother the scrolling is in Firefox when compa...
by sparkyhall
Sun Aug 18, 2019 8:10 am
Forum: General discussion
Topic: No internal cpu temp or voltage sensor on Pi 4?
Replies: 4
Views: 2576

Re: No internal cpu temp or voltage sensor on Pi 4?

You can also use vcgencmd measure_volts to monitor the core voltage. As an alternative to measure CPU temperature you can use the following from a terminal: cat /sys/class/thermal/thermal_zone0/temp You can also add the "CPU Temperature" panel applet to the task bar on the Raspbian desktop.
by sparkyhall
Fri Aug 16, 2019 1:41 pm
Forum: General discussion
Topic: sudo startx error
Replies: 8
Views: 993

Re: sudo startx error

You should not startx as the root user, start it as a normal user (i.e. without sudo).
by sparkyhall
Wed Aug 14, 2019 9:46 am
Forum: General discussion
Topic: Desktop Widget Conky
Replies: 1
Views: 1164

Re: Desktop Widget Conky

I do, see image below:
conky.png
conky.png (173.16 KiB) Viewed 1133 times
by sparkyhall
Tue Aug 13, 2019 9:49 pm
Forum: General discussion
Topic: Raspbian Buster editing file over network corrupts file contents?
Replies: 11
Views: 981

Re: Raspbian Buster editing file over network corrupts file contents?

Many linux file explorers (pcmanfm, Thunar, Nautilus etc) use gvfs to mount remote file systems, the idea being that gvfs presents the file system in a standard format to applications such that they work as if working on local files. After some experimenting I discovered that the problem I see appea...
by sparkyhall
Tue Aug 13, 2019 5:11 pm
Forum: General discussion
Topic: 64-bit weekly kernel autobuilds for RPi4 released (bcm2711_defconfig)
Replies: 94
Views: 31713

Re: 64-bit weekly kernel autobuilds for RPi4 released (bcm2711_defconfig)

This is all brilliant news, never tried Gentoo before, you've just tempted me ;)

Nice work Sakaki.
by sparkyhall
Tue Aug 13, 2019 4:53 pm
Forum: General discussion
Topic: Search for a motor controller
Replies: 5
Views: 503

Re: Search for a motor controller

You probably want to search for an H-Bridge.
by sparkyhall
Tue Aug 13, 2019 4:46 pm
Forum: General discussion
Topic: Raspbian Buster editing file over network corrupts file contents?
Replies: 11
Views: 981

Re: Raspbian Buster editing file over network corrupts file contents?

I just tried this on my Pi4 by editing a text file in leafpad over sftp, added some text, hit save, closed leafpad, re-opened file and it was empty with a size of zero. I got no errors or warnings :o

Tried a couple of times and the same thing!

Looks like a nasty little bug, good job I have backups.
by sparkyhall
Fri Aug 09, 2019 6:41 pm
Forum: General discussion
Topic: No sound in external USB speakers for other account as "pi"
Replies: 1
Views: 282

Re: No sound in external USB speakers for other account as "pi"

Is your son a member of the "audio" group?

Log in as your son and type "groups" in a terminal to find out what groups he belongs too.
by sparkyhall
Sat Mar 09, 2019 4:19 pm
Forum: Python
Topic: How to test encoder with raspberry Pi
Replies: 33
Views: 4149

Re: How to test encoder with raspberry Pi

The electrical output specification for this encoder is as follows:

A,/A & B,/B outputs are TTL/RS422
Maximum load current per output <= 30mA
Maximum output frequency =300kHz

The encoder is reverse polarity protected and short circuit protected.
by sparkyhall
Sat Mar 09, 2019 8:32 am
Forum: General discussion
Topic: Pi zero W - Goodnight Message on Low Power
Replies: 3
Views: 430

Re: Pi zero W - Goodnight Message on Low Power

If you create a rc.local_shutdown in /etc that may still work, that's how it used to be done. Failing that I would think systemd can do something similar.
by sparkyhall
Sat Mar 09, 2019 8:02 am
Forum: Python
Topic: How to test encoder with raspberry Pi
Replies: 33
Views: 4149

Re: How to test encoder with raspberry Pi

champ1 wrote:
Sat Mar 09, 2019 7:37 am

I have domino encoder model GPI9109 But I couldn't get the datasheet on internet, searching from long time

only pin description is there on the product
That doesn't look like a Domino number, can you post a picture of the label?

If not does that label include the number 14828?
by sparkyhall
Sun Jan 20, 2019 9:15 am
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 1633

Re: DIY Webcam in Finland

On top of what heater has suggested, you can also stop the Pi taking pictures when it is dark and therefore increase battery life further using something like an LDR or photo transistor as the sensor. If you do use a solar panel you may be able to use the panels output to detect when it is dark.
by sparkyhall
Sat Sep 29, 2018 7:11 pm
Forum: General discussion
Topic: Simple battery circuit feasible?
Replies: 16
Views: 4306

Re: Simple battery circuit feasible?

I've been using the 'Wide input shim' from Pimoroni on a Pi3 and Pi2, works really well 6xAA Nimh batteries:
https://shop.pimoroni.com/products/wide ... 8104321034

The shim doesn't get hot so it seems efficient, not tested on a Pi3+ though.
by sparkyhall
Wed Sep 19, 2018 8:45 am
Forum: General discussion
Topic: crontab not executing
Replies: 7
Views: 800

Re: crontab not executing

The output is normally buffered and may not be written until you exit the program. To prevent buffering you can start Python with the -u option, this will force mp.txt to be updated for each print command:

Code: Select all

@reboot python -u /home/pi/Desktop/accel.py >> /home/pi/mp.txt
by sparkyhall
Tue Aug 28, 2018 6:17 pm
Forum: General discussion
Topic: Color Bash Prompt - all grey
Replies: 12
Views: 3484

Re: Color Bash Prompt - all grey

Are you sure the default shell is set to bash for your new user?

You can check with something like, last part of response should be /bin/bash:

Code: Select all

getent passwd newusername
If not you can set it to bash with:

Code: Select all

sudo usermod -s /bin/bash newusername
by sparkyhall
Thu Apr 12, 2018 5:53 pm
Forum: General discussion
Topic: RPI can see my HDD but can't acces it
Replies: 4
Views: 3737

Re: RPI can see my HDD but can't acces it

It looks as though you have typed the letter 'O' instead of the number '0' in two places, you typed this:

A6DOE595DOE56C4D

instead of this:

A6D0E595D0E56C4D
by sparkyhall
Thu Jan 18, 2018 12:13 pm
Forum: General discussion
Topic: Whoops! - Two Power Sources
Replies: 9
Views: 2670

Re: Whoops! - Two Power Sources

If the power supplies were different by a fraction of a volt then there could have been large currents flowing through the power leads and the power tracks on the PCB. That could have made them hot enough to break. The self-resetting "fuse" on the power connector will have seen that curre...
by sparkyhall
Mon Jan 08, 2018 10:06 pm
Forum: Beginners
Topic: Weather station project!
Replies: 1
Views: 779

Re: Weather station project!

You could start with my guide as it uses the same anemometer, wind vane, rain gauge, BMP180 etc:

https://github.com/sparkyhall/DIY-Raspb ... er-Station

My design is designed to be compatible with the official RPi weather station software (see weather station section of RPi site)
by sparkyhall
Fri Jan 05, 2018 5:04 pm
Forum: Beginners
Topic: New Profile Problem in Terminal Window
Replies: 2
Views: 387

Re: New Profile Problem in Terminal Window

I suspect its because you have not set the default shell to bash, to do this issue the following command:

Code: Select all

sudo usermod -s /bin/bash your-new-username
Clearly you need to replace "your-new-username" with your user

Go to advanced search