vvip-68 / GyverPanelWiFi

Универсальная прошивка для широкоформатных матриц / гирлянд на балкон или стену / лампы с эффектами / часов с будильником-рассвет. Управление по WiFi в локальной сети или через MQTT-брокер.
288 stars 116 forks source link

GyverPanelWifi #116

Closed Ady-67 closed 3 years ago

Ady-67 commented 3 years ago

Hi,please give me more instructions regarding the alarm sounds. I can't make them work, I followed all the installation instructions, everything works perfectly.

Ady-67 commented 3 years ago

I will measure and if the voltage is higher than 5V I will use a diode.

mie., 3 feb. 2021, 05:08 vvip-68 notifications@github.com a scris:

Also in case of VCC (Input Power) level 5.4-5.6V from power supply unit output it is possible provide power supply for MCU and DFPlayer through cremnium diode as it shown on following picture: [image: image] https://user-images.githubusercontent.com/39353139/106692777-b573c700-6607-11eb-8d2e-617aaec2c8b3.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvip-68/GyverPanelWiFi/issues/116#issuecomment-772184840, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV25H4YFH5GOD5DYL3Q3B3S5C42VANCNFSM4W4YXIHA .

vvip-68 commented 3 years ago

I noticed that it does not play sounds clearly. Could it be because of the Nodemcu module because it has limited current?

May be several reasons for unclear sound

  1. Bad speaker with work power less then output power of amplifier (speaker overload)
  2. Low / limited / not enough current from 3.3v output pin
  3. Position/location of speaker relative underlaying surface

High current from 3.3v pin may lead to overheat of onboard stabilizer and make it broken / malfunctional.

Ady-67 commented 3 years ago

OK thanks

mie., 3 feb. 2021, 09:10 vvip-68 notifications@github.com a scris:

I noticed that it does not play sounds clearly. Could it be because of the Nodemcu module because it has limited current?

May be several reasons for unclear sound

  1. Bad speaker with work power less then output power of amplifier (speaker overload)
  2. Low / limited / not enough current from 3.3v output pin
  3. Position/location of speaker relative underlaying surface

High current from 3.3v pin may lead to overheat of onboard stabilizer and make it broken / malfunctional.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvip-68/GyverPanelWiFi/issues/116#issuecomment-772288657, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV25H62RS2L2KC5GLUZTITS5DZEXANCNFSM4W4YXIHA .

Ady-67 commented 3 years ago

did all kinds of tests and came to the next conclusion.

  1. I reduced the voltage from 5.4V to 4.8 V with a UF 5402 / 3A diode
  2. I powered DFPlayer at 4.8V and it does not initialize
  3. If I supply DFPlayer with 4.8V after NodeMcu starts then it is initialized I noticed a problem, the diode heats up while the assembly is working, is it normal?
vvip-68 commented 3 years ago

Not, heating diod is not normal. Probably you made incorrect scheme and your LED matrix GND line connected after diode, instead of direct connection to power supply unit GND. Check it.

Ady-67 commented 3 years ago

I'll make all the connections again. Thanks for the advice.

joi, 4 feb. 2021, 05:05 vvip-68 notifications@github.com a scris:

Not, heating diod is not normal. Probably you made incorrect scheme and your LED matrix GND line connected after diode, instead of direct connection to power supply unit GND. Check it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvip-68/GyverPanelWiFi/issues/116#issuecomment-772992174, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV25H5A5NYQ34NLSMJKADLS5IFJNANCNFSM4W4YXIHA .

Ady-67 commented 3 years ago

A question and a proposal at the same time. Would it be difficult to modify the code so that each effect corresponds to a song? I saw such a lamp also favored by a Russian boy of course with your effects and how to run an effect run and a song, he has them for sale for 3700 rubles but does not make the code public.

vvip-68 commented 3 years ago

No, I do not want to do that. You may do it yoself. It is not so hard but completely not interesting for me. In addition to sketch you probably will need rework smartphone application for make link between sound and effect.

In other word that is easy to set PlaySound(x) on effect change making sound hardcoded, but if you want make flexible settings for tune relations between sound and effect - it is enough a lot of coding, and I do not want spend time for that.

Ady-67 commented 3 years ago

I understand. I have not reached such a level that I know how to make such a change.

Thank you for your honesty.

joi, 4 feb. 2021, 17:05 vvip-68 notifications@github.com a scris:

No, I do not want to do that. You may do it yoself. It is not so hard but completely not interesting for me. In addition to sketch you probably will need rework smartphone application for make link between sound and effect.

In other word that is easy to set PlaySound(x) on effect change making sound hardcoded, but if you want make flexible settings for tune relations between sound and effect - it is enough a lot of coding, and I do not want spend time for that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvip-68/GyverPanelWiFi/issues/116#issuecomment-773376930, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV25H7G7IYL5X7UHRHCAHTS5KZVBANCNFSM4W4YXIHA .

Ady-67 commented 3 years ago

Another problem, I wanted to change the classic button with a touch button but when I connect the button the brightness is automatically reduced if I give an impulse it increases to 99 after which it returns to 0. What's wrong now?

vvip-68 commented 3 years ago

Did you change definition for button type in a_soft_def.h, lines 526, 527?

// GButton butt(PIN_BTN, LOW_PULL, NORM_OPEN); // For touch button
GButton butt(PIN_BTN, HIGH_PULL, NORM_OPEN);   // For usual button
Ady-67 commented 3 years ago

Thank you very nice. If you ever come to Romania, I'll let you know to honor you with a drink.

joi, 4 feb. 2021, 20:06 vvip-68 notifications@github.com a scris:

Did you change definition for button type in a_soft_def.h, lines 526, 527?

// GButton butt(PIN_BTN, LOW_PULL, NORM_OPEN); // For touch button GButton butt(PIN_BTN, HIGH_PULL, NORM_OPEN); // For usual button

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vvip-68/GyverPanelWiFi/issues/116#issuecomment-773502037, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV25H4HZFTNW2OTODSLUELS5LO3XANCNFSM4W4YXIHA .

vvip-68 commented 3 years ago

Deal!