Quantcast
Channel: Pimoroni Buccaneers - Latest posts
Viewing all 53793 articles
Browse latest View live

Raspberry Pi 4 Model B Rev 1.4 8GB fanshim never stops

$
0
0

Kind of sounds like you have a hardware issue with that Pi 4B?
If you want to disable the fan shim service while trying other things its
sudo systemctl stop pimoroni-fanshim.service
sudo systemctl disable pimoroni-fanshim.service

Before doing that try fanshim.set_fan(True)
from here https://github.com/pimoroni/fanshim-python

Turn the fan on with:
fanshim.set_fan(True)

Turn it off with:
fanshim.set_fan(False)

You can also toggle the fan with:
fanshim.toggle_fan()

You can check the status of the fan with:
fanshim.get_fan() # returns 1 for ‘on’, 0 for ‘off’

To enable the fan shim service again it’s
sudo systemctl enable pimoroni-fanshim.service
sudo systemctl start pimoroni-fanshim.service


PMS5003 and MiniGarden

$
0
0

Thanks Shoe, I will start to experiment!

Raspberry Pi 4 Model B Rev 1.4 8GB fanshim never stops

$
0
0

All those commands work, event the LED lights turns blue. But the fan is running and running and running…

>>> from fanshim import FanShim
>>> fanshim = FanShim()
>>> fanshim.set_fan(False)
False
>>> fanshim.toggle_fan()
True
>>> fanshim.get_fan()
1
>>> fanshim.toggle_fan()
False
>>> fanshim.get_fan()
0
>>> fanshim.set_light(0, 0, 255)

Pirate Audio Schematic

Raspberry Pi 4 Model B Rev 1.4 8GB fanshim never stops

$
0
0

The way it works is the fan control pin is pulled low to turn the fan off. It’s a fail safe I guess, with no software installed the fan will just run continuously as that pin will be floating (not grounded). If the fan shim isn’t making contact with that control pin the fan will never shut off.
The only other thing I can think of is to disable the service and then use gpio zero or some other utility to set that pin low (ground). If the hardware on the Pi is working OK, the fan should stop.

10 inch screen issues

$
0
0

I had the same problem and finally found the fix for me. Take the sd card and put it into a card reader. Bring it up on the PC. Edit this. Get rid of the # that is in front of hdmi_force… Scoot the whole line so the h in hdmi is directly under the hashtag just above it. See example below.

uncomment if hdmi display is not detected and composite is being output

hdmi_force_hotplug=1

10 inch screen issues

$
0
0

Looks like the forum doesnt like hashtags as part of text. Just get rid of the hashtag that is in front of hdmi_force_hotplug=1 and move the whole line to the left. Just like the h in hdmi is directly under the L. Just pretend that the L is a hashtag
It should work. This took a long time for me to figure out.

Raspberry Pi 4 Model B Rev 1.4 8GB fanshim never stops

$
0
0

if it not soldered to the pins ,try putting another hat on top or just a header if you have one to hold it tight , i also have used a q-tip just cut the tips off .and bush it down between the row of pins


Enviro+ MQTT

$
0
0

I’ve just published a repo showing how I am measuring particulates and general air quality around the home using the RPi Enviro+. It is integrated to my home automation system via MQTT, but can also be used with other IOT platforms/projects. I am using the device to study whether there is elevated pollution in my home during rush hour traffic, which backs up outside.
Cheers

2016 Picade upgrade questions

$
0
0

Hi, I have the original Picade, with a Pi2 which I want to now upgrade. I will be getting the new 10’ Screen and a PI4 + power supply.

Will I need to purchase anything else in order for everything to work correctly? Or should I be good to go.

Many thanks

2016 Picade upgrade questions

$
0
0

You may need a Pi 4B compatible video cable.


There is also a 2meter version, If you think 1 meter long might be too short.

2016 Picade upgrade questions

$
0
0

Yes thanks forgot about the mini-hdmi, will add to the cart, cheers

2016 Picade upgrade questions

Adjust Python examples

$
0
0

My missing order just showed up. I will be getting it setup today or tomorrow. Really sore today so might be tomorrow. I have chronic pain issues that sometimes get in the way of me having fun.

Picade + RPi4 = WiFi not working :(

$
0
0

So I’ve now got to the point where I can create the issue and resolve it…

All I have to do is take the RPi4 out of the Picade but leave it all connected up and it works fine dangling out of the back.

If I mount it in the proper place I get packet loss and pings of a few 1000 ms. This only happens with a Pi4, the Pi3 works fine. Iv’e not tried a USB WiFi dongle yet.


OnOff-Shim not booting on PI Zero W with on PIOS (version 2020-0527)

$
0
0

Soldered On-Off-Shim on header, place it on top of Pi Zero W. Try to boot with PIOS Lite (version 27th May 2020). Green led of PI Zero goes off, after a few moments (10-15 secs). PI Zero is not visible on Wifi. Without the OnOff-Shim, the Pi Zero boots successfully.

The installation of the OnOff-Shim software showed no errors and seems successfully.

Any idea why it is not working?
Is software compatible with PIOS/Buster?

Thanks for any pointers, Peter

Hyperpixel4 screen rotate in initialisation .c file rotation

$
0
0

Hi

I am doing a project using the PYNQ-Z2 fpga design board http://www.tul.com.tw/ProductsPYNQ-Z2.html

The hyper pixel 4" screen 800x480 pixel screen is the hardware I have been assigned to use for the visual output.
I was wondering if you could help me out with the setup orientation.

I have broken down the setup initialisation of the screen fromhttps://github.com/pimoroni/hyperpixel/blob/master/sources/hyperpixel-init.c the only difference is that I am using the commands array :
int32_t commands = {
0x0ff, 0x1ff, 0x198, 0x106, 0x104, 0x101, 0x008, 0x110,
0x021, 0x109, 0x030, 0x102, 0x031, 0x100, 0x040, 0x110,
0x041, 0x155, 0x042, 0x102, 0x043, 0x109, 0x044, 0x107,
0x050, 0x178, 0x051, 0x178, 0x052, 0x100, 0x053, 0x16d,
0x060, 0x107, 0x061, 0x100, 0x062, 0x108, 0x063, 0x100,
0x0a0, 0x100, 0x0a1, 0x107, 0x0a2, 0x10c, 0x0a3, 0x10b,
0x0a4, 0x103, 0x0a5, 0x107, 0x0a6, 0x106, 0x0a7, 0x104,
0x0a8, 0x108, 0x0a9, 0x10c, 0x0aa, 0x113, 0x0ab, 0x106,
0x0ac, 0x10d, 0x0ad, 0x119, 0x0ae, 0x110, 0x0af, 0x100,
0x0c0, 0x100, 0x0c1, 0x107, 0x0c2, 0x10c, 0x0c3, 0x10b,
0x0c4, 0x103, 0x0c5, 0x107, 0x0c6, 0x107, 0x0c7, 0x104,
0x0c8, 0x108, 0x0c9, 0x10c, 0x0ca, 0x113, 0x0cb, 0x106,
0x0cc, 0x10d, 0x0cd, 0x118, 0x0ce, 0x110, 0x0cf, 0x100,
0x0ff, 0x1ff, 0x198, 0x106, 0x104, 0x106, 0x000, 0x120,
0x001, 0x10a, 0x002, 0x100, 0x003, 0x100, 0x004, 0x101,
0x005, 0x101, 0x006, 0x198, 0x007, 0x106, 0x008, 0x101,
0x009, 0x180, 0x00a, 0x100, 0x00b, 0x100, 0x00c, 0x101,
0x00d, 0x101, 0x00e, 0x100, 0x00f, 0x100, 0x010, 0x1f0,
0x011, 0x1f4, 0x012, 0x101, 0x013, 0x100, 0x014, 0x100,
0x015, 0x1c0, 0x016, 0x108, 0x017, 0x100, 0x018, 0x100,
0x019, 0x100, 0x01a, 0x100, 0x01b, 0x100, 0x01c, 0x100,
0x01d, 0x100, 0x020, 0x101, 0x021, 0x123, 0x022, 0x145,
0x023, 0x167, 0x024, 0x101, 0x025, 0x123, 0x026, 0x145,
0x027, 0x167, 0x030, 0x111, 0x031, 0x111, 0x032, 0x100,
0x033, 0x1ee, 0x034, 0x1ff, 0x035, 0x1bb, 0x036, 0x1aa,
0x037, 0x1dd, 0x038, 0x1cc, 0x039, 0x166, 0x03a, 0x177,
0x03b, 0x122, 0x03c, 0x122, 0x03d, 0x122, 0x03e, 0x122,
0x03f, 0x122, 0x040, 0x122, 0x052, 0x110, 0x053, 0x110,
0x0ff, 0x1ff, 0x198, 0x106, 0x104, 0x107, 0x018, 0x11d,
0x017, 0x122, 0x002, 0x177, 0x026, 0x1b2, 0x0e1, 0x179,
0x0ff, 0x1ff, 0x198, 0x106, 0x104, 0x100, 0x03a, 0x160,
0x035, 0x100, 0x011, 0x100, -1, 0x029, 0x100, -1
};

I cannot for the life of me find the source of this command but it works for the setup and the one in the link does not work for the setup.

I was wondering if you could put me in touch with someone who could let me know what part of the command is required to be edited to initialise the screen with a 90 degrees rotation.
Kind regards
Oliver Forbes-Shaw

Adjust Python examples

$
0
0

Good to hear that it finally arrived. No stress with it, caring about health is way more important than anything else.

Enviroplus font error message

$
0
0

Greetings
Just set up the enviro plus with particle monitor on my Rasbury pi. It is all working but when I come to link to the Enviro webpage and run the app.py I get an error message relating to fonts. Is this a known problem and how can I fix it. ?

Pimoroni line out gpio pin

$
0
0

Hi,

I have a raspberry zero and the lineout running with raspberry os desktop
I figured out how to use only the board audio out and everything is working fine when I plug the board directly to the raspberry
For my project, I need to use some of the Gpio pin of the raspberry for a relay and a on off button
I found the line out pins used here, https://pinout.xyz/pinout/pirate_audio_line_out
When I wire with these pins I have nothing on screen and a ultra distorted audio
any idea how to solve this ?

I hope I’m clear enough, thank you

Viewing all 53793 articles
Browse latest View live