Not Working at all don't know where to start Dsc alarm beep #154
Replies: 32 comments
-
I would not recommend those values for the voltage divider. a ratio of 15k/10k for 12 volts gives you potentially 4.8 volts at those pins which are rated at 3.3 volts with a max of 3.6. You will damage that chip with too much. Use a ratio of 33k/10k instead to give you a safer value . It's possible you have already shorted the cpu so that's why it's causing issues. Besides for the voltage dividers, the circuit looks fine. You are definitively shorting out a line somewhere. |
Beta Was this translation helpful? Give feedback.
-
Could it be becaus I do not have plug the power like that ? ... just the ground yellow and green... i used usb for power Or Could it be because i dont have the right « Master Code » |
Beta Was this translation helpful? Give feedback.
-
Usb for power is fine. Master code is irrelvant. I would suggest that you check your yellow and green line for shorts to ground. That is what it looks like the issue is to me. One of them is shorted. |
Beta Was this translation helpful? Give feedback.
-
Hey @Dilbert66 I saw that you added a wirering schematic on your github project ! so I cleaned up my bread board and i still have the same issue... This is what it look now : |
Beta Was this translation helpful? Give feedback.
-
Try to connect with only the yellow one first and see if it affects your alarm. Then try it with just the green one connected. This will determine which circuit is causing issues. The only way that the circuit would impact the existing keypad is if you are adding a short on one of those lines. Is the chip getting hot? |
Beta Was this translation helpful? Give feedback.
-
Did tout flash first the code into your ESP? |
Beta Was this translation helpful? Give feedback.
-
You may run into issues with the separate grounds, try connecting at least the black ground wire from the DSC panel to the microcontroller. |
Beta Was this translation helpful? Give feedback.
-
Yes, a bad ground could most likely be the culprit here as taligentx noted. A shorted pin would not sink enough current through the 15k resistor to cause issues. From your picture it does look connected but make sure with an ohmeter just in case. |
Beta Was this translation helpful? Give feedback.
-
Ok so I tested each wire a couple of time and don't know what could be the issue.. Green Only : Nothing Anything else ( Ex: Green and yellow, Green and Black Green and Yellow .. etc.. ) is doing Longs beeps ( not usual 2 beep ) and the screen is like "unavailable" ) Also quick question .. ? should I plug the AC - of the panel to the ground of the nodemcu ou should I plug the AUX - ? Thanks |
Beta Was this translation helpful? Give feedback.
-
Long beep is probably a keybus fault. I had those issues when using 15k/10k resistive divider. Either that, or I wired something wrong. Listen to the 1st reply, and use 33k/10k. this works on my 8266 (looks similar to yours). Also, listen to the instructions on the main readme, and solder... as much as possible. I have the resistive divider soldered on splice on the alarm wire, shrink wrap, so I end up with a kind of adapter cable. Before plugging anything in, measure the yellow to ground and green to ground on both ends of the wire. Measuring on one end , grn to black and yellow to black should be 33kohm, on the other it should measure 10k. Between yellow+green should be 66k on one end and 20k on the other. Once all is double triple checked, then feed it to a breadboard, if you must, as close as possible to the ESP8266 pins, to avoid any kind of EMI. I used D2, D3. For now, I disabled the write pin by setting it to 255. #define dscWritePin 255 I do this, but temporary, until I'm happy with it and I'll solder it and put it in a project box. |
Beta Was this translation helpful? Give feedback.
-
Ok so I tried to bypass the bread board just to be sure ... so I plug everything directly on my nodmcu and it still does the same thing .... I found a way on the panel to stop the beeping but the panel are unusable and I did not receive any update from the nodemcu |
Beta Was this translation helpful? Give feedback.
-
Which DSC panel model do you have? Assuming it's a supported panel, try powering off the DSC panel (remove the AC power and battery power), load the Regarding the ESP8266 GPIO voltage tolerance: https://ba0sh1.com/2016/08/03/is-esp8266-io-really-5v-tolerant/ As far as personal experience, I've run ESP8266's on 5v GPIO signals for years of continuous uptime with no issues. It's handy when working with a mix of microcontrollers, though I am planning on updating the README.md to combine the ESP8266 and ESP32 to use 33k/10k resistors as that part of the wiring diagram will eventually include the ESP32-S2 once I work out support for it. |
Beta Was this translation helpful? Give feedback.
-
Ok thanks I will double check everything soon and try to have some Logs of what happen... also I will try to unplug the panel and see what happen My dsc is PC1616 Like I ask show I plug the ground to ax - ou ac - ? |
Beta Was this translation helpful? Give feedback.
-
As shown in the README.md, ground should be connected to AUX (-) |
Beta Was this translation helpful? Give feedback.
-
FYI @thib5 I'm on a PC1616 also. |
Beta Was this translation helpful? Give feedback.
-
Well, there is something worth pointing out. The pins should be in input
mode. If they are in output mode, it's possible they pull the signal down
or up enough to disrupt the keybus signals. Try programming the status
example with the appropriate pins.
…On Fri., Oct. 2, 2020, 7:40 p.m. thib5, ***@***.***> wrote:
Ok Thank you all again but after double checking everything for the third
time ... it does the same thing ...
If I recap :
I have a NodeMcu plugged in a pc1616. as soon as I plug more than one wire
(no mater which one) my panel does long beep and the panel lcd is empty.
I tried :
- Plug every wire one by one ( then I notice that I can't plug more
than 1 wire )
- With and without bread board
- Plug the dsc first
- Plug nodeMCU
- Put the logger into debug ... (no new log when I powered the dsc )
More info :
I do not have any code ( master, programer etc )
I bought the house like 6 month ago so I don't have any idea how and when.
it was installed
This is a pic of ho I plug the panel ( I already send a pic of my nodeMCU )
<https://camo.githubusercontent.com/91b3afa4bb90605b0a58206ff636317daaa55179/68747470733a2f2f692e696d6775722e636f6d2f78654b725244302e706e67>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/taligentx/dscKeybusInterface/issues/154#issuecomment-703002231>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYOXVTOWWHFBDA62FGF7WLSIZQHLANCNFSM4RTXDNPQ>
.
|
Beta Was this translation helpful? Give feedback.
-
What you mean by put the pin in input mode ? |
Beta Was this translation helpful? Give feedback.
-
Pins on the ESP, or an Arduino are either in input or output mode. When
the output is low, there is an internal pull down resistor bringing that
data line to 0, similarly if it's high there's a resistor pulling to vcc.
When in input mode, there is no such internal resistor pulling up or down.
I'm probably not 100% correct as I haven't read the exact specs for the
chip, but the point is, you shouldn't connect a pin in output mode to the
DSC clk or data, you'll get undefined behaviour.
Also you should read up on the basics of esp / Arduino. It will save you
time.
…On Fri., Oct. 2, 2020, 7:54 p.m. thib5, ***@***.***> wrote:
Well, there is something worth pointing out. The pins should be in input
mode. If they are in output mode, it's possible they pull the signal down
or up enough to disrupt the keybus signals. Try programming the status
example with the appropriate pins.
… <#m_-8132175839613940303_>
What you mean by put the pin in input mode ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/taligentx/dscKeybusInterface/issues/154#issuecomment-703005340>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYOXVTRTOAKKSKHKVBYLULSIZR2NANCNFSM4RTXDNPQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Yes I know what you are talking about sorry I thought you were talking about putting the dsc in input mode ! so yeah eh I understand what you mean but it's not my code ... I'm prety sure it's in input mode because I saw this : void dscKeybusInterface::begin(Stream &_stream) { Thanks again for your help |
Beta Was this translation helpful? Give feedback.
-
Honestly to me that points more and more to a grounding issue somewhere. |
Beta Was this translation helpful? Give feedback.
-
Is there something I can check ? because like I said I triple check everything a couple of time |
Beta Was this translation helpful? Give feedback.
-
At this point, I'm out of ideas. Welcome to the fun of DIY projects! Im sure you will find your answer. |
Beta Was this translation helpful? Give feedback.
-
Is there somewhere where I can found what loong beep mean ? I search de web and I found nothing |
Beta Was this translation helpful? Give feedback.
-
Long beep from the panel for me meant keybus fault. That panel had a text
display and that's what it would read out with the long beep.
…On Sat., Oct. 3, 2020, 9:56 a.m. thib5, ***@***.***> wrote:
Is there somewhere where I can found what loong beep mean ? I search de
web and I found nothing
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/taligentx/dscKeybusInterface/issues/154#issuecomment-703107654>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYOXVRGPNAM4SFS56WA2ZDSI4UPJANCNFSM4RTXDNPQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
IT WORKED !! Omg Thanks I feel so dumb ... I didn't know that there was a difference between 10k omh and 10omh ... I asked my local electronics store for 10 omh because I was sure it was the same... like everything was in k .... So I bought new resistor and it work ! anyway sorry for all that I hope that some one will be as stupid as me and will find the answer here ! Last thing : right now my node is plugged in usb, do you have any advice to step down the ac+ from the panel et power my nodeMCU directly from the panel ? Like an eBay / amazon link ahah ! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Great to hear!
Sure, there are a few different options - you'll need a voltage regulator to drop the DSC panel AUX +/- (runs at around 13.75v DC) to either 5v to the Here are a few hard to find notes because they're only in the Power:
Personally I use the LM2596 modules. |
Beta Was this translation helpful? Give feedback.
-
Just to add a note about some of the esp8266, I would be hesitant on powering up some of those clone wemos d1 via 5volts. They have a very weak 5 volt regulator that cannot provide long term current needed. I would instead use the lm2596 step-down convert as suggested to power the chip at the 3.3 volt input instead, bypassing the 5volt regulator. I speak from experience here. I have seen 2 d1's short self destruct after the 5volt regulator dies and takes the chip with it. I've also used these tiny Ultra-Small Size DC-DC Step Down Power Supply Module MP1584EN 3A Adjustable Buck Converter for Arduino Replace LM2596 (ali express link) and they work very well also. Much smaller. A bit sensitive to adjust but powerful. Edit. Looking back at your picture, you use a NodeMcu which is fine as it uses a decent ldo regulator so will be ok as long as you don't try to power it with more than 6 volt. It can handle 12 volt but will get very hot. Power it with 5 volt at the vin input and you will be fine I also prefer the lm2596 modules. Have not failed me yet. |
Beta Was this translation helpful? Give feedback.
-
Also to be clear, the LM2596 modules and Mini360 modules are adjustable voltage regulators - you'll need a DMM to measure the output voltage from the regulator as you turn the adjustment potentiometer to get the voltage you want (5v or 3.3v). On the LM2596 it's the bronze colored screw on the blue component:
Good call, I'll add a note to the README.md about powering the 3.3v rail directly - the NodeMCU clones all seem to use AMS1117 which seems to work fine, but quite a few of the Wemos D1 clones (not the original LOLIN boards) used the terrible 150mA current regulators: |
Beta Was this translation helpful? Give feedback.
-
Hi, I think my issue is the wirering ... I don't know ... every time I fire the disc with the node plugged it beep like fore ever .... and nothing appear on the disc panel
I follow this wire guide :
https://community-assets.home-assistant.io/original/3X/f/1/f11f4a0c5695f5b40bc9b7d9b1ce096dca910955.png
Thanks
Beta Was this translation helpful? Give feedback.
All reactions