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

Cant use enviro+, due to lack of documentation on software requirements

$
0
0

Some awsome person has a post in dietpi, after installing all the things there it works


su -
apt install python-numpy python3-numpy
apt install python-smbus python3-smbus
apt install python-setuptools python3-setuptools
apt install build-essential
apt install gdb-multiarch
apt install python-dev
apt install python-pip python3-pip
apt install python-pil python3-pil
pip install wheel && pip3 install wheel && pip install spidev && pip3 install spidev
pip install requests && pip3 install requests
pip install RPi.GPIO && pip3 install RPi.GPIO

note: you might also need to change some setting, full details in:
source: https://dietpi.com/phpbb/viewtopic.php?f=15&t=7154


Enviroplus_exporter for use with Prometheus and Grafana

$
0
0

can you share your configs/parsers? actually a guide would be preferable (if possible)

Enviro+ screen - turning it off

$
0
0

Hello and good afternoon!

I have a humble question about the Enviro+ HAT that I recently bought. I’ve followed the excellent tutorial here

https://learn.pimoroni.com/tutorial/sandyj/enviro-plus-and-luftdaten-air-quality-station

But my question is: is there anyway to turn off the LCD screen on the Enviro+ please?

I run my PiZero-Enviro+ setup indoors and in my bedroom (as I want to monitor the air quality and particulate matter in the area where I sleep). However the LCD screen on the Enviro+ puts emits a lot of light and this makes it difficult to keep the room dark.

If you could provide the commands (Python or Bash) that would turn off the screen permanently (or until reversed as desired) that would be a great help! I’m happy at the Command Line for controlling the unit.

Thank you kindly

Enviro+ screen - turning it off

Pirate Audio Schematic

Enviro+ screen - turning it off

$
0
0

Is there no Python/Bash command to do that please?

Enviro+ screen - turning it off

$
0
0

I do believe it is this screen.

Which uses this python library

If you look through the examples you may be able to make up some code to turn it all black. Puling the backlight pin high or low should only take a couple of lines of python code. I’ll post something latter on when I get a chance, I’m just about to go out the door for an appointment.
I don’t own an Enviro, but I do have one of those screens on the way. When it arrives, and I get a chance to play with it I’ll see if I can figure something out.

Hotkeys / Button mapping issues

$
0
0

Hi guys,

I have purchased and built my very own picade a few days ago. I really had fun with it and it was pretty easy to assemble (although the printed manual was a bit imprecise at some points). All in all i am really happy with the product.

To my question (which is not picade-specific): After firing up, I installed the scripts and configured the PiHAT, which also worked. In Emulation Station you can set a hotkey to e.g. save, exit and so on. Since i used a premade image I installed things on top. But some of the keys aren’t working as intend. For example the button which simulates the ESC key will always exit the game, no matter what i map to it in ES.
I guess there is some override in place which has higher priority than ES button mapping…also my hotkey doesn’t do what it should. But where does this come from? Can it be that the premade image has configured hotkeys in Retroarch which override my settings. How can I disable or change them? Or is it something completely different? Any help is appreciated!

Best, Chris / ch40s


Enviro+ screen - turning it off

Enviro+ screen - turning it off

$
0
0

if you are using the enviroplus-python library from Pimoroni’s github page you can just do

 disp.set_backlight(0)

After doing something like this to initialise it :-)

# Create LCD instance
disp = ST7735.ST7735(
  port=0,
  cs=1,
  dc=9,
  backlight=12,
  spi_speed_hz=10000000
)

# Initialize display
disp.begin()

Keybow Mini Attached to another Pi

$
0
0

I have a Keybow Mini, which I have previously used on my Mac successfully and was hoping to attach it to another Pi (Pi B+)

The lights I have programmed work but no commands get sent to the Pi, if I run demsg I can see

[   19.253324] usb 1-1.3: Product: Keybow
[   19.263342] input: Pimoroni Keybow Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D6B:0104.0001/input/input0
[   19.342598] input: Pimoroni Keybow Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D6B:0104.0001/input/input1
[   19.342791] hid-generic 0003:1D6B:0104.0001: input,hidraw0: USB HID v1.01 Keyboard [Pimoroni Keybow] on usb-3f980000.usb-1.3/input2

But nothing works. If anyone has any experience of using their keybow with another Pi, I would love some help! thanks

Hyperpixel & volumio

N00b looking for advice on Pirate Audio / Parts List

$
0
0

It’s me again - thanks again to everyone for their help. I received the Pirate Audio Board and speakers and wired them up to an RPi B+ that I had lying around. I also set up Shairport-sync, and it works great - I now have a nifty little speaker that I can play music on via Airplay.

Here’s the question - Right now the LCD on the audio board is idle. I’d love to have it display album art and current playing info. In my head, I probably need to answer the following questions:

  • I imagine that this library/project will give me the code I need to write to the display - https://github.com/pimoroni/st7789-python - beyond that is there anything else I need?

  • How can I tell what song is being played via Shairport?

  • Does shairport also have the album art available?

PMS5003 and MiniGarden

$
0
0

Another GPIO question I am afraid!
Can a pin that has been designated a PI function be ‘downgraded’ to a simple On/Off GPIO pin?
The Mini Garden has a limited number of un-designated connections that I can use for my Rain and Wind sensors, a mixture of Reed switches and an ADC for wind direction. I would like to change a couple of these. GPIO pin 33 (PWM1), pin 19 (PCM_FS) and pin 24 (CE0)
Thanks

Hyperpixel & volumio

$
0
0

I just checked and Volumio is a Linux distribution in the end, I didn’t do further research, but you could always try to install it on a micro SD, boot up the system and see if you can open the terminal and follow the instructions from https://github.com/pimoroni/hyperpixel4
and see if it works, should be less than an hour work intotal :)


Picade + RPi4 = WiFi not working :(

$
0
0

So I started a thread on the RetroPie forum but after yet more investigation is seems to be something physical - but I can’t see what :S

In summary…

RPi3 + Picade HAT + Picade 8" = WORKING
RPi4 + Picade HAT = WORKING
RPi4 + Picade HAT + Picade 8" = WiFi won’t obtain IP address, but scan and signal strength return OK

Now, I’ve also tried lots of different configurations. I have 3 images I’ve used - Vanilla Buster Lite, PxlTbl (a working image from a very similar project I have, laser-cut case, 7" screen, pimoroni audio hat). I have an RPi3 and 2 RPi4s.

All the Pis work with all the other images and I’ve not got/had any issues with WiFi. I’ve rebooted all my network equipment, it’s quite a complicated setup but it’s all DrayTek business class stuff (I’m a DrayTek authorised reseller).

If I put the Picade hat on the RPi4 and leave on my desk - it works. If I assemble everything, just can’t get WiFi to work well enough to obtain an IP via DHCP. Assigning a fixed IP doesn’t solve the problem, I still can’t ping or send traffic. If I rebuild it with a RasPi3 - everything works just fine.

Any ideas?

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

$
0
0

I’ve installed a fanshim on a Raspberry Pi 4 8GB, and the fan never goes off. The service script runs fine. LED can be switched, but the fan can’t be switched off. I’ve checked/bended the pins. I’ve tried with a second fanshim. No luck.

Might there be a problem with the new Rpi 4 8GB? The same fanshim works well on a Rpi 4 4GB.

PMS5003 and MiniGarden

$
0
0

All of the pins which aren’t grounds, 5V and 3v3 except GPIO27/28 can act as simple on/off pins. The special fuctions which some of them can do are optional, if you want to use it as a normal I/O pin then you just have to set it up like it is a normal I/O pin (e.g. see the GPIO Zero examples).

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

$
0
0

You could try editing config.txt file
sudo nano /boot/config.txt
and adding this line.
dtoverlay=gpio-fan,gpiopin=18,temp=55000
The fan should then turn on at 55c.
If the fan works its a software issue with the Pimoroni Daemon.
If it still doesn’t work you have more sleuthing to do.

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

$
0
0

Thanks for the fast reply. The command works well on the 4GB model, but not on the 8GB model. :-(

kernel: 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
pimoroni fanshim: git id c8ea18b9 (latest on master)

Viewing all 53781 articles
Browse latest View live