Posts by Wim
-
-
-
Jeroen,
I've got 1 last question for the moment. I also prefer a setup as simple as possible, so last time I cut the led in 4 pieces and this time I was hoping to not cut it (need to make a choice then about the corners, I know). But I'm afraid the current might not be strong enough to reach the last leds. Is that a matter of a strong enough psu or can I connect 5v to start AND the end of the strip? I don't understand how that could work having 5v on both ends (and I thought the ledstrip has a 1-way direction but maybe that's only for the data line?). This is what I understand you did:
soldering is very minimalistic and because the ledstrip is only shortened 20leds chance of mallfunction is very low. where i made the cut i roughen up the solder on +5v and GND and connected this also on PSU.
so powered from both sides.
I am not an electrician so I don't understand how 5v to both ends would work. For me that sounds like no voltage difference so no current. -
-
the question i have>> if the ESP8266 is "booted" what do you need it for then?
From the above link:
"Once I connect the ws2812 to the ESP01 - on GPIO02 - the esp01 would not boot anymore
...
Once the ESP01 is booted up - I can plug in the ws2812 and it’ll work. Any power cuts or restarts end up with the ESP01 failing to boot." -
Thanks guys for your info about the capacitator.
What about "ESP8266 gpio2 should not be LOW during boot." and the solution "I’ve managed to get it working by adding 2 pull up 10k resistors. Linking 3v3 and the Enable and GPIO2 pins."
Does it indeed mean 2 resistors 10k, one between 3.3V and CH_PD/EN and one between CH_PD/EN and GPIO2?I found this
partly because of the samen issue
(https://hackaday.com/2015/03/18/how…66-wifi-module/) -
Hi Jeroen,
According to https://learn.adafruit.com/adafruit-neopi…/best-practices:
"The capacitor buffers sudden changes in the current drawn by the strip."
-
https://github.com/Aircoookie/WLED/wiki:
Indeed in my case the level shifter and resistor don't seem necessary (no long wires to leds). The capacitator I do need though. -
-
Found this about the esp8266-01 (https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/)

Above diagram, combined with what I read on other sites and diagram below it seems I need to use GPIO2 and GPIO0, one being SLCK and the other MISO
I think GPIO2=SCLK, GPIO=MISOFound diagram below
(https://ambimod.jimdofree.com/2017/01/12/tuto-faire-de-l-ambilight-sans-fil-avec-un-esp8266-nodemcu-et-la-bibliothèque-fastled/)
in which I recognize the esp8266-01. I assume the red thing next to that is the usb connector for power, which I don't want to use.
But have no clue what the thing between the 01 and the usb connector is! HELP NEEDED HERE
I think "I’ve managed to get it working by adding 2 pull up 10k resistors. Linking 3v3 and the Enable and GPIO2 pins." means 2 resistors 10k, one between 3.3V and CH_PD/EN and one between CH_PD/EN and GPIO2?And then the 74HC125 needs to be added to the scheme.
EDIT: and instead of usb I need to connect power to 3,3V of the 01.
EDIT2: I think the little unknow thing changes 5V current to 3,3V for the 01. But that is it? Some sort of small level shifter? -
According to https://learn.adafruit.com/adafruit-neopi…/best-practices
I do need a resistor and capacitator though.I found something about e01 wiring needing extra resistors because of boot issues:
https://wled.discourse.group/t/esp01-wiring-and-boot/413
This is the solution but I don't understand what it means: "I’ve managed to get it working by adding 2 pull up 10k resistors. Linking 3v3 and the Enable and GPIO2 pins." -
-
Thanks a lot for answering guys.
Indeed, I would like to run hyperion on my pi4 which is in another room and runs also tvheadend etc. So I want to connect the leds via Wi-Fi, hence the 8266.
Forgot to mention I want to use android grabber on my nvidia shield for capturing.
I searched the forum for esp-01 but could find hardly anything. What I don 't know is whether all or just some of these small boards can do the same (have enough power) and have the pins I need that the normal sized ones have.
Do I understand the apa102 is the best to use and does it work with 8266-01w?
Can I use the same power for leds and
8266-01? If so, I'll search for connection schemes.Thanks!
Wim
-
As the title states, I experimented with hyperion in 2017, got it working although I still had some issues but unfortunately I had to stop the project. Now, I want to start over again and see if I can do a better job, starting with choosing the correct hardware (for my needs).
In 2017 I used a ws2813 strip and a pi zero w and soldered a little circuit with a logic level shifter, capacitator and resistor which I hid inside the frame. So I had 2 power cables and the pi loosely attached to the frame (and that annoyed me) and from the pi I had 2 jumper cables going to the ledstrip (very unstable). I had cut the led strips so I could attach power at multiple points. I used a 7A power supply. The pi and leds were connected spi.
When I touch the cable that powers the leds now, the leds start flashing and changing colors, same when touching the jumper cables. This is not a stable situation.What I would like to do now, is a frame (with a led strip mounted on it) and (if possible) only 1 power cable attached to it.
Preferably I would like to mount the device that drives the leds in a rectangular tube (15x15mm, length as long as needed). I read about ESP8266 ESP-01 devices (and other), some of which are that small.
As I understand I might be needing a capacitator and resistor too, which I could integrate in the same tube (like I did in 2017). Soldering is not an issue (meaning: I'll do my best).
In this way I could have a frame with everything integrated and only 1 (power supply) cable going in, with a properly connected powerconnector.So the question is, is the above possible and what hardware is recommended for this setup? I have a pi4b+ running elsewhere in the house on which I would like to run hyperion too (so I don't really need the pi zero).
Hope someone can give me good advice. I thought better to ask before, preventing troubles then needing a lot of help afterwards, building on wrong choices.
Thanks,
Wim
-
This is another way to force the core_clock frequency.
Someone suggested that this isn't the "best" way, but it worked for me in the past when setting the core freq didnt
Works for me too
Thanks for the help again.
Wim
-
The core clock speed changes are your problem.
Try force_tiurbo=1
Ladies and gentlemen, we've got him!
Penfold, you did it. I can't believe it!!!!!!!!!What caused the issue? Is this normal behaviour? Why is force_turbo needed?
-
I think the leds flash at every command I type???
When I type sudo nano /boot/config.txt the leds also flash.
Wait, they don't flash when typing:
gpio -1 write 21 0But again flashing when:
sudo gpio -1 write 21 0Is this normal???
-
I already had core_freq=400 at the bottom of the file, I now added it on top and rebooted. Same results.
Not on every flash, but on most of them, clock core changed from 250000000 to 400000000. Sometimes it stays at one or the other. And on a few occasions I see a different number, something with a lot of 999.
-
I wonder if the core_clock is taking effect.
Can you run
vcgrncmd measure_clock coreIdeally do it in a fast loop and then start Hyperion and watch for changes in the clock speed.
On you gpio cmdline tests - was it 5v or -5v ? I'm assuming you just typed it that way
Penfold, sorry for the late response, the email got stuck in spambox.sudo service hyperion stop
watch -n 0.1 "vcgencmd measure_clock core"I see alternating 250000000 and 400000000
sudo service hyperion start
watch -n 0.1 "vcgencmd measure_clock core"Same results, but also the leds are flashing white.
Wim
Thanks for helping me! -
Isn't spi MOSI on gpio 10 ?
Yes, gpio 10, physical pin 19.Fragment from http://wiringpi.com/the-gpio-utility/:
"Examplesgpio mode 0 out
gpio write 0 1
The above uses the wiringPi pin numbers to set pin 0 as an output and then sets the pin to a logic 1.gpio -g mode 17 out
gpio -g write 17 1
This uses the BCM_GPIO pin numbering scheme and performs the same operation as above.gpio -1 mode 11 out
gpio -1 write 11 1
This uses the physical P1 pin numbering scheme and performs the same operation as above."I'm using the last kind, physical pin number