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

any news on ESP8266? #3

Open
microfx opened this issue Apr 26, 2020 · 5 comments
Open

any news on ESP8266? #3

microfx opened this issue Apr 26, 2020 · 5 comments

Comments

@microfx
Copy link

microfx commented Apr 26, 2020

Hey!

Did you manage to get it working on a esp8266? Tried it but I failed ... don't have 3,3V arduinos unfortunatley. Also I saw it's not easy because ESP only got 1 analog in - guess I gotta find my ESP32 which has two?

Cheers

@FabianBach
Copy link

I never tried on a esp8266.
But my Arduino Nano runs on 5V and does not make any trouble.
I just went for it and it works fine when powering over USB and also when using the Frequens build in power source.

@ryanfaerman
Copy link

I have this working with an ESP8266 (a wemos D1 Mini) just fine. It works great actually. The biggest difference was that I needed to set the pins to D3 instead of just 3 (the D prefix).

As long as the power supply (the frekvens one) isn't connected, I also have no problem re-programming it. Even when the power is connected to the panel. I usually re-program it with OTA which makes things even easier.

@microfx
Copy link
Author

microfx commented May 16, 2020

#define p_ena 5 // D1 GPIO5 @ ESP8266
#define p_data 4 // D2 GPIO4 -> Original GPIO6 bei Arduino
#define p_clock 9 // S2 GPIO9 SDD2 -
#define p_latch 10 // S3 GPIO10 SDD3

#define p_btn1 A0 // A0 (Adafruit Feather M0) - RED button (black wire)
#define p_btn2 15 // A1 (Adafruit Feather M0) - YELLOW button (white wire)

Tried it this way...but not successful. I am bad at translating arduino to esp. I guess I try a standard arduino to see if it works at all or if I have bricked something.

using a Lolin

@microfx
Copy link
Author

microfx commented May 17, 2020

Tried an arduino UNO and at least a Pixel,is lighting up - when I remove 3,3v pin and reinsert the sparkle animation goes one step forward.. something is wrong - the buttons don‘t have an effect.

@stenza
Copy link

stenza commented May 23, 2020

It works nicely on a NodeMCU ESP8266 Board without any problem.

An example below:
#define p_ena D5
#define p_data D6
#define p_clock D4
#define p_latch D3

And wire to these pins:
D5 white
D6 blue
D4 yellow
D3 green

And the brightness:
pinMode(p_ena, OUTPUT);
analogWrite(p_ena, 1020); 0..brightest, 1024..off

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

4 participants