Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Pi 3 Model B? #60

Open
cpottamus opened this issue Jun 9, 2017 · 7 comments
Open

Support for Pi 3 Model B? #60

cpottamus opened this issue Jun 9, 2017 · 7 comments

Comments

@cpottamus
Copy link

I'm having a very difficult time getting this library to work with Pi 3 Model B.

Using an 74AHCT125 level converter on my breakout board, similar to this guide for the ws281x python library

I'm using NeoPixels but I can't get any voltage out of my converter... wondering if there is a library support issue.

I've already modified my audio param and HDMI hotplugs, per the pi 3 support issue in ws281x.

Let me know if you have any thoughts, or if this library simply isn't up to date enough to support pi 3.

Thanks!

@shortbloke
Copy link

@cpottamus I've just built this using a RPi3 and 74HCT125 level converter. If you're trying to measure voltage via multi-meter you won't be able to as the data commands a very short pulses. You'd need an oscilloscope to be able to see it.

If you are powering a long strip of lights you'll need a large PSU, I'm using a 5V 10A power supply to power both Pi and my LEDs, if using different supplies for your Pi and your LEDs, you'll need to ensure they have a common ground.

I had issues getting my 144 1m strip working reliably and not just flickering all over the place. Firstly 1 had to connect a 470 ohm resistor from the 74HCT125 output (pin 3) to the data input line for my strip.

I also had issues depending on what (tv vs monitor vs nothing) was connected to the HDMI port, and found that editing /boot/config.txt and commenting out dtparam=audio=on looks to have fixed it.

Hope this helps, but I can confirm the library does work on an RPi3.

@usefulthink
Copy link
Member

Hi! Yes, the library got a little bit dated and I had some problems myself (but on a PI2) when I started a new project with it. Based on that and some other feedback here, I started a almost complete rewrite based on the latest Version of the upstream-library and some new design-principles for the c++-bindings which is now well underway. So there will be something worth testing within the next few days.

@LolCatPhd
Copy link

LolCatPhd commented Jul 8, 2017

I need some help please:
I have a ws2812 neopixel (8 strip) hooked up to a RPi3 B using 74HCT125 connected in between GPIO18 and the neopixel strip. The 74HCT125 does output 5V when provided with a 3v3 constant voltage. I have commented out dtparam=audio=on and blacklisted the following:

blacklist snd_bcm2835
blacklist snd_pcm
blacklist snd_timer
blacklist snd_pcsp
blacklist snd

I have tried both the ws281x python library as well as this: https://flows.nodered.org/node/node-red-node-pi-neopixel

When I start strandtest.py or send colour commands with node-red i hear the noises coming through speakers still. Is that normal?

My strip remains completely unresponsive, no lights are coming on.... (it is powered externally, 5V 1A)

What should the output of the command "lsmod" be?

"lsmod" gives me this:

odule Size Used by
bnep 10438 2
hci_uart 18312 1
btbcm 6228 1 hci_uart
bluetooth 331535 22 hci_uart,bnep,btbcm
sg 18279 0
fuse 85666 3
ipv6 348261 76
snd_usb_audio 121275 5
snd_hwdep 5769 1 snd_usb_audio
snd_usbmidi_lib 19088 1 snd_usb_audio
snd_rawmidi 18298 1 snd_usbmidi_lib
snd_seq_device 3604 1 snd_rawmidi
snd_pcm 76943 2 snd_usb_audio
snd_timer 19223 2 snd_pcm
brcmfmac 196602 0
snd 52742 15 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_pcm
brcmutil 5788 1 brcmfmac
joydev 9194 0
cfg80211 456420 1 brcmfmac
rfkill 14922 4 bluetooth,cfg80211
bcm2835_gpiomem 3257 2
uio_pdrv_genirq 3351 0
uio 8151 1 uio_pdrv_genirq
fixed 2862 0

@meaku
Copy link

meaku commented Jul 10, 2017

@usefulthink great to hear you are working on a new version. Let me know if there is anything to play with / test.

@Granjow
Copy link
Contributor

Granjow commented Nov 4, 2017

@cpottamus Works fine here. Did you use the correct GPIO pin (Pin 12 or BCM 18)? https://pinout.xyz/

Something like a Picoscope or Saleae might help too.

@mikaye
Copy link

mikaye commented Nov 20, 2017

@usefulthink How long until a new version with the latest rpi-ws281x? I'm currently getting the error that it thinks the RPi3 is not a Pi. According to @jgarff, this should be fixed with the latest rpi-ws281x.

@usefulthink
Copy link
Member

just passed the first tests, see #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants