Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all 6939 articles
Browse latest View live

Enviro+ doesn't work after restart

$
0
0

@germinator64 wrote:

I’ve built the air quality monitor according to these instructions: https://learn.pimoroni.com/tutorial/sandyj/enviro-plus-and-luftdaten-air-quality-station
It works quite well, when I start it from the terminal and also after a reboot. But when I try a restart with power off/on, there is only a bunch of colored pixel shown on the enviro+ display and apparently no data transmission to the luftdaten-server.
What can be wrong? I would be very grateful for any helpful hint.

Posts: 2

Participants: 2

Read full topic


Enviro+ bme280 Library import in Weather.py

$
0
0

@DavidL wrote:

I have just received an Enviro+ and following the “Getting started” instructions. I am using a Pi Zero running Raspbian Jessie. When I try to run the weather.py example I get the following

pi@raspberrypi:~/enviroplus-python/examples $ python weather.py
Traceback (most recent call last):
File “weather.py”, line 4, in
from bme280 import BME280
ImportError: No module named bme280

Looks like I need to install the bme280 library manually as it does not happen during the install script.

git clone https://github.com/pimoroni/enviroplus-python
cd enviroplus-python
sudo ./install.sh

Where do I get the bme280 library?

Posts: 2

Participants: 1

Read full topic

Pimoroni Trackball PIM447 issues: won’t work as mouse

$
0
0

@olifiers wrote:

Hi there!

Got a neat Pimoroni trackball, but having trouble with some of the github code supporting it.

I can get some of the py examples to work (rainbow, colour-control) just fine, but the ones that are really important such as mouse.py (xte not found) and evdev-mouse.py (no module named ‘evdev’) don’t work.

I’m using Raspbian as recommended, trying to make the trackball work as a mouse. Unfortunately the documentation is pretty much inexistent, thus there’s not much I can do without your help. :)

Any hint or tip of where I should start to make it work?

Cheers!

Posts: 7

Participants: 2

Read full topic

Fan SHIM isn't making good contact with GPIO pins

$
0
0

@jcx200 wrote:

As the title says, I am not getting verry good contact on the fan shim PCB against the GPIO pins. The fan itself works but because the contact isn’t good enough, the LED on the shim PCB cant be controlled. I have the Raspberry Pi 4 sitting in the pibow case. Does anyone have any tips on how to ensure that there is sufficient contact between to two components?

Posts: 2

Participants: 2

Read full topic

RPi 4 fan shim

$
0
0

@otalado wrote:

I just got the fan shim. I put it together, mounted it on my RPi 4 and installed the software for it. It seemed to work OK. During installation I set threshold to 65 degrees and hysteresis to 5 degrees (as recommedned). After a while I noticed that the temperature as measured with vcgencmd is from around 51 up to 55 degrees. So I went to investigate through terminal history of software installation and found that when I issued the command:

sudo ./install-service.sh 65 5

I’ve got response:

Setting up with:
Threshold: 55 C
Hysteresis: 5 C
Delay: 2 seconds
Preempt: no
No LED:
No Button:

So it seems that the program incorrectly read parameters from command line. I went through the routine of stopping the service, and installing it anew (as in docs):

sudo systemctl stop pimoroni-fanshim.service
sudo ./install-service.sh XX YY

It turns out that no matter what I put for values of XX an YY, they’re always interpreted as 55 and 5 respectively by the install-service.
Obviously that is not show stopper, I can live (at least a while) with CPU being held at around 50 degrees, yet I’d like to have things working as the’re expected to.

Posts: 2

Participants: 1

Read full topic

CO2 meter (NDIR) with Enviro+

$
0
0

@maxt wrote:

Hi
I would really need to connect a low cost NDIR CO2 meter together with the new Enviro+ and the PMS5003 particle meter and wonder if you have any ideas how to do this? The sensors I am thinking of is one of these:
Alt 1 MH-Z14A
Alt 2 senseAir S8
Alt 3 MH-Z19B

Sincerely
Max

Posts: 5

Participants: 2

Read full topic

No Module error

$
0
0

@manjulapra wrote:

A noob here, both to Pi and HATs. I soldered a GPIO Header and connected the Enviro+ and did stuff according to here. But when I run any example I get the error “Module xxxx not found”. What could be the issue? Does Enviro+ has lights or anything to show it is getting power? Also, as I said, I am a novice and I am not 100% confident my soldering is good, so I attached an image.
Any help is appreciated.
Thanks in advance

Posts: 8

Participants: 2

Read full topic

Pi Zero WH Enviro+ 10mm standoffs too long?

$
0
0

@peterG wrote:

The Enviro+ is an amazing phat and I got it all up and running in 10 minutes, so well done with the design!

I bought a pair of black headers 10mm/2.5 to support the phat, but when I firmly push the phat into the Zero it doesn’t allow me to insert the standoffs. They look to be 2-3mm too long,

Should I add them anyway and leave a bit more of the metal pins showing? I may be worrying unnecessarily.

Posts: 2

Participants: 2

Read full topic


Enviro+ do I need a filter for PMS5003 Particulate Matter Sensor

$
0
0

@peterG wrote:

I’m testing out the PMS5003 Particulate Matter Sensor indoors at the moment but will eventually move the whole rig outdoors.

I plan to design a “hat” for it and rig up a longish tube to connect it to the outside. Do I need a filter for it, to keep out insects?

Posts: 2

Participants: 2

Read full topic

Blinkt Software

$
0
0

@MrDitchy wrote:

Hi, I have correctly attached a blinkt! to my RPi 3B+. Following the link from the product page via GitHub I tried the command “sudo apt-get install pimoroni” . This gave me the Pimoroni Dasboard. Then I tried “curl https://get.pimoroni.com/blinkt | bash” I then tried “sudo apt-get install python3-blinkt” I still can’t find the Examples. The folder in the Pimoroni Dasboard is empty and I can’t get anything from my Blinkt!. Please help. I am a beginner so need step by step instruction no detail too small. Thaks in advance.

Posts: 2

Participants: 2

Read full topic

Breakout Garden SPI not working (0.96" screen)

$
0
0

@DM1985 wrote:

Hi guys,

A noobie.

The SPI sockets on my breakout garden don’t seem to work with the 0.96" LED.

I have SPI and IC2 set to ON one under Raspi config.

The breakout garden code only recognises two other IC2 sensors.

Using i2cdetect -y 1 the address for the screen doesn’t show up under the command line, only the two other sensors. Do screens have addresses?

Checked ls /dev/spi all good and boot config.

The only thing I can control is the back light of the screen but nothing else.

The example python programs don’t work.

I et an error when trying to install the way suggested on the product page (via curl)…
“Repository ‘http://raspbian.raspberrypi.org/raspbian buster InRelease’ changed its ‘Suite’ value from ‘testing’ to ‘stable’. …Apt failed to update indexes!”

So I tried installing from github. (st7735)… no joy with the examples.

Any advice would be appreciated.

Thanks,

Dee

Posts: 8

Participants: 2

Read full topic

Pantilthat Set-up Grief

$
0
0

@Rmb wrote:

Hi, Just purchased a PanTiltHat from you and trying to set it up with a new RasPi 3 B+ following the how-to instructions on your website.

Started with the recommended curl … | bash command which then ran so far but terminated with error messages about apt indexes.

Then tried to install the Pimoroni Dashboard. This seemed to go well and appeared in the Accessories list. Clicking on it just gives a brief screen flash of a possible dialogue then nothing (just desktop).

As this is a new RasPi it was set up with the supplied NOOBS card which installed the latest Raspbian Buster OS.

Any ideas

Posts: 6

Participants: 3

Read full topic

Piano and Drum HATs don't work properly on Pi 4 - Pi 4 at fault?

$
0
0

@arianne wrote:

Hey everyone

I’ve been getting my new Pi 4 set up so I can start tinkering with a few ideas for my local Code Club. I’ve only just got around to unwrapping and trying the Piano and Drum HATs I bought myself a while ago.

On a fresh install of Buster, with both of the full libraries installed and utilising the included examples, neither HAT works properly. The Drum HAT can light up the LEDs but touching the pads doesn’t register in any of the examples. With the Piano HAT, again, all the LEDs can light up, but only the first 3/4 keys register any touch.

I did wonder if it was the HATs or the library, so I’ve tried them on a 3B+ that I have, which is as up to date as it can be and they work fine - so this says to me that it’s a problem with the Pi 4?

Is it something that might likely be fixed with any upcoming updates, or could it be an error with the pins? I’m still new to all things Pi and Python so I’m not sure how I’d go about diagnosing any further.

Thanks in advance for any input!

Posts: 4

Participants: 3

Read full topic

Hyperpixel 4.0 Screen not working - service fails

$
0
0

@Bman1296 wrote:

Hi All,

First post, just received my Hyperpixel screen.

I am trying to attach this to a RPi4, however after sudo apt-get upgrading and updating from a fresh install, I run the install.sh script for the Hyperpixel, reboot and I don’t get anything.

This is the output from install.sh:

pi@raspberrypi:~/hyperpixel4 $ sudo ./install.sh Job for hyperpixel4-init.service failed because the control process exited with error code. See "systemctl status hyperpixel4-init.service" and "journalctl -xe" for details. Installed: /usr/bin/hyperpixel4-init Installed: /etc/systemd/system/hyperpixel4-init.service Installed: /boot/overlays/hyperpixel4.dtbo Skipped: dtoverlay=hyperpixel4 already exists in /boot/config.txt Skipped: overscan_left=0 already exists in /boot/config.txt Skipped: overscan_right=0 already exists in /boot/config.txt Skipped: overscan_top=0 already exists in /boot/config.txt Skipped: overscan_bottom=0 already exists in /boot/config.txt Skipped: framebuffer_width=800 already exists in /boot/config.txt Skipped: framebuffer_height=480 already exists in /boot/config.txt Skipped: enable_dpi_lcd=1 already exists in /boot/config.txt Skipped: display_default_lcd=1 already exists in /boot/config.txt Skipped: dpi_group=2 already exists in /boot/config.txt Skipped: dpi_mode=87 already exists in /boot/config.txt Skipped: dpi_output_format=0x7f216 already exists in /boot/config.txt Skipped: display_rotate=3 already exists in /boot/config.txt Skipped: hdmi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6 already exists in /boot/config.txt

Any ideas? Seems like the service isn’t starting. Reminder, this is a fresh install, upgraded, running Raspbian Buster Lite with no desktop as of yet. Will be using Openbox if I can get this working! I just want to display a picture or something at the moment, start simple.

Please help!

Similar to this topic: https://forums.pimoroni.com/t/hyperpixel-4-0-portrait-raspbian-stretch-lite/9033/2

EDIT:
I have instead run the setup script here: https://github.com/pimoroni/hyperpixel/tree/pi4

Still nothing displaying on the screen, but I also have no desktop so…

EDIT #2:
Just tried sudo fbi -T 1 -a loadscreen2.png. Blank screen. Any ideas? I am SSHing in. Reason why I am using Lite is because I want the OS to be as lightweight as possible - I know that I could get this to worth with normal Raspbian.

Posts: 7

Participants: 2

Read full topic

Raspberry Pi 4 HDMI issues

$
0
0

@PiguyAnge wrote:

Is anyone else not getting a consistent HDMI signal? I have the 4gb version. With hdmi safe mode I do get a display now but it is not consistent in reboot on working. And I get errors at boot and it freezes once I change GPU mem.
I don’t know if this needs more power (i have used numerous powersources from 5v 3a to 5.2v 2.5amp). Also used numerous microSD and different cables.
I would assume since i do get display sometimes now in safe mode that the board isnt defective but i really don’t know.
So I am asking others with the 4gb version of the pi4 if anyone else is having display issues?
I have another message on here in another post stream discussing my initial testing and poor results.

Posts: 4

Participants: 2

Read full topic


Picade screen won't power up

$
0
0

@justinpealing wrote:

Yesterday I assembled my new Picade - everything was working great, but today I’m having problems powering on the screen. At first the screen came on, but wouldn’t stay on - it came on for a few seconds, but then went dark momentarily before powering back up again for a few more seconds (in a loop). Each time it would come up with the “HDMI Input” overlay in the top left, like it does when you press the power switch.

I figured probably the power connector was a bit loose, or there wasn’t enough power (I kept on seeing the undervoltage warning yesterday), so I tried plugging in a separate power supply for the screen and now it won’t power on at all (even when I go back to setup with the flickering / intermittent power that workd earlier today). I’ve removed the screen from the picade case to try and isolate the problem, things I’ve tried so far:

  • 3 different leads and 2 different sockets (as well as powering from the PI / a laptop) - all of them successfully power the PI, none of them light up the backlight on the screen.
  • I’ve checked the voltage across the 5V and GND connectors for the digital audio pins - 4.85V, so there is at least some power to the display driver.
  • I’ve checked the resistance on the GND and PWR pins drops to 0 when the button is pressed, so the butons are definitely attached correctly
  • Plugging into the HDMI on my laptop, it doesn’t appear to be detected as a display

Should the display light up without a HDMI cable attached? What else can I check?

Picture of my setup:

Posts: 2

Participants: 2

Read full topic

Having some issues with the UnicornHat

$
0
0

@DavidCordes wrote:

When I import the unicornhat module, I receive the following error message:

Traceback (most recent call last):
File “/home/pi/test.py”, line 2, in
import unicornhat as uh
File “/usr/local/lib/python3.5/dist-packages/unicornhat.py”, line 35, in
ws2812.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x/rpi_ws281x.py”, line 130, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)

I have tried this on multiple raspberry pi 3 b cards and get the same behavior. I am using stretch raspbian. I installed by running and saying yes to everything (including audio and full install):

curl https://get.pimoroni.com/unicornhat | bash

I have commented out these lines in my config.txt:

hdmi_force_hotplug=1
dtparam=audio=on

in the hopes that something audio-related was causing the issue. When I place the hat on my rpi I don’t see any lights by default. Is that expected? I have pushed the hat down pretty far, but you can see a little bit of the GPIO pins, should it be all the way down?

Thanks for the help.

Posts: 3

Participants: 3

Read full topic

Keybow mini hangs?

$
0
0

@xTr wrote:

Hi there… i’ve got a keybow mini (3 keys) and works great but… at some random times… HANGS… STOPS…

At the beginning it wasnt even lit (i only used led colors on click), so, sometimes, not working… i changed to the animated LED rotation…

So now i know when the keybow hanged out… the animation just stops (same color, no movement), clicks dont work, nothing…

i used the latest https://github.com/pimoroni/keybow-firmware/releases/tag/v0.0.4 as required for keybow mini…

i already tried:
using other usb port
Using other usb cable
Using other SD (but this should not be a problem as the firmware loads into ram and it doesnt read anything again?)
changed a Pi Zero W to another Pi Zero (both works fine non stop on raspbian for other tasks)

i have a keybow (the 12 keys size) and i’ve NEVER seen it hang or stop working

but the mini hangs at least once a day… (when i see that the animation stopped, but for sure…EVERY day)

Never hangs while using, simply stops at some random point of the day…

kept keys_lua as simple as possible
require “keybow”
require “snippets/win_snippets”
require “layouts/mini-xtr”

Content for mini xtr
require “keybow”

– Keybow MINI –

function setup()
keybow.use_mini()
keybow.clear_lights()
keybow.auto_lights(true)
end

and then reused 3 keys from my other full size KEYBOW nothing fancy…

so… anyone using keybow mini sees this behaviour? or is there any way to debug this hangs? (i don’t see any log file on the SD card)

Posts: 1

Participants: 1

Read full topic

Hyperpixel 4 i2c header change

$
0
0

@Shoe wrote:

Hello!

I’ve been mulling over a project with the Hyperpixel 4 (non-square) which would involve adding additional inputs to the Pi. I was consideringr doing this via i2c using the header on the underside of the Hyperpixel when I noticed that my boards (one touch, one non-touch) have a different header to what is shown in the product images: the images show what looks like a 5-pin jumper header including an Int pin, wheras my boards have a 4-pin JST-like (?) connecter which is missing the Int pin.

So, is 4-pin or 5-pin design the current design? I’d really like to have that Int pin, so if 4-pin is now the standard I may have to find some other way to do this.

Posts: 4

Participants: 3

Read full topic

Adafruit Feather M4 Express and Adalogger RTC

$
0
0

@richmars wrote:

Hi,
Just got a Feather M4 Express and Adalogger Featherwing RTC and SD. The SD card works with the card info program from the Adafruit website but the RTC doesn’t seem to work. Again, I’m using the Adafruit software, and set up the IDE as detailed for the M4 Express, but the RTC isn’t detected. I get the same response if the logger pcb isn’t even plugged in.
I’ve fitted a battery and using the example program, Examples->RTClib->pcf8523.
Complies and downloads ok.
Do I need to make any mods to the example program to work with the M4 Express?
Thanks,
Richard

Posts: 1

Participants: 1

Read full topic

Viewing all 6939 articles
Browse latest View live