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

Problem with a design mod #86

Open
Jhalfast opened this issue Aug 31, 2023 · 10 comments
Open

Problem with a design mod #86

Jhalfast opened this issue Aug 31, 2023 · 10 comments

Comments

@Jhalfast
Copy link

I've never programmed an ESP chip before - and here's my use-case:

I'm designing a tally system that triggers some el wire instead of a LED, by sending the ESP8266 signal to the el wire's inverter - one each for R-G-B. Test on the el wire shows it works in this manner (applying direct power to it at least up to 5v), and by all appearances the esp works as expected (blue LED on the board is on, unless the tally is supposed to be red, when it turns off)... but I get no voltage readings at all from the board when I test it - with or without the el wire inverters.

If I'm not mistaken, the resistors indicated in this project are for the LED's sake, not the ESP's sake - so why won't a direct 3.3v signal normally thrown at the LED work as power to the inverters? Why can I not get any voltage readings from the ESP's when they are functioning and responding to the ATEM?

@AronHetLam
Copy link
Owner

Hi @Jhalfast

I'm not 100% sure of how you're connecting it, and which inverter you're talking about. I haven't worked with EL wire before, so I assume you have something like this?

Could you send some more details like what parts, and a simple schematic/picture of the wiring?

Yes, the resisters are only there to protect the LEDs. Do you have it working with just regular LEDs?
You should be able to measure 3.3v between the pins and ground when they're supposed to be on, so I'm not sure why you're not getting that. That would be the first issue to investigate/solve. Did you select the correct board in the boards manager?

Very likely you can't/shouldn't power the inverter with the 3.3v from the ESP pins, as it probably requires at least 5v, and/or draws too much current from the board, which will damage the chip. This could be a reason why you're not able to measure any voltage, as you might have fried some of the pins due to overcurrent. You could try to measure a known good chip (you haven't used with the EL wire).

Depending on how much power the EL wire needs you should use a transistor and/or relay to switch the power for it, based on the signal from the ESP. There are plenty of YouTube videos about what a relay is, and how it works.
This post has a schematic that should work.

@Jhalfast
Copy link
Author

See picture. The el wire inverters come from inside the 2 AA battery cases of cheap Amazon packages. Stats say these little boards pull about 10mA at max, the esp8266 stats say it tolerates up to 12mA ...so if anything is grossly out of tolerance, I can see that it could have fried the pins. I'll load up a brand new chip without the led or inverters, and measure - see if it reads the right voltage then. I followed the instructions as far as selecting the "LOLIN(WEMOS) D1 R2 & mini board", but all I could find out about my little board was that it was "100% D1 compatible"

This experiment is actually replacing a very unreliable Pi Zero system, working off MOSFETs to get the Pi signal to trigger a 12v LED system. I was hoping to avoid the added complexity by using this system, but I'm ready to go back there if I have to.

IMG_0496

@AronHetLam
Copy link
Owner

AronHetLam commented Sep 1, 2023

Looks nice. I hope you get it working!

It looks like a D1 mini, and for that you selected the correct board. I'll await your measurement on a new board.

What happens if you connect the EL wire to 3.3v on the D1 mini directly. The 3.3v pin gets power from the boards power supply, and not the ESP8266 chip itself, as it is what powers the ESP. It can supply more current.

Something else that could cause an issue is that the pins are outputting a PWM signal if the LED brightness setting isn't set to 255 (max).

@Jhalfast
Copy link
Author

Jhalfast commented Sep 6, 2023

FYI - got it working. I ended up flashing with another board (D1 mini (clone)); however, the results were underwhelming. I've got to power the el wire separately, or configure a constant 3.3v verses PWM, because even with the boards set up for brightness @ 255, the wire brightness is just pitiful - way less than when I had them using the AA batteries that they were designed for.

In the end, I just replaced the pi's I had in my old setup with the ESP's, and everything is great: I've got the LED color signals from the ESP running into MOSFETs that control a 12v LED strip. I've even got the ESP's running off the 5v pin, which I didn't even know was possible.

A little more testing, but it looks like this is a winner. I'll circle back to the el wire when I have more time, because I think it would look great circling the screen of my camera monitors!

@AronHetLam
Copy link
Owner

You could probably just use the MOSFETs for the EL wire if they work with 3.3v

@Jhalfast
Copy link
Author

Jhalfast commented Sep 6, 2023 via email

@AronHetLam
Copy link
Owner

Is it still dimmer if you use the 3.3v pin on the D1 mini than with 2 AA batteries? They'd probably last longer, but at least you know why the inverters might fail 😂

I'd love to see a picture once it's mounted, it would interesting to see it in action.

Funny, I'm currently a part of production in a baptist church as well.

@Jhalfast
Copy link
Author

Jhalfast commented Sep 7, 2023 via email

@AronHetLam
Copy link
Owner

We're not that big, so all volunteers 🙂
If you happen to have PTZ cameras that support Visca over IP, I might have something interesting.
I made this application that lets you control PTZ cameras with any game controller that connects to a computer. Currently only the released Windows installer works, but the application compiles and runs on Mac, Windows and Linux (also a PI)

@Jhalfast
Copy link
Author

Jhalfast commented Sep 7, 2023

We will actually be adding a PTZ in short order, but what I am shopping for is a programmable one - so I can execute a slow pan-zoom across the stage, and it land beautifully and not just stop like a machine. That, and the ability to follow the subject. Those two things are most important for me right now, although your controller would definitely bring in new life from the traditional joystick!

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

2 participants