-
Notifications
You must be signed in to change notification settings - Fork 1
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
All FF in results #1
Comments
I've seen this when CLK/DATA are swapped, or the data line is not being pulled low for some reason. |
Thanks! I checked the pins and CLK is wired to yellow and data is green. The circuit I’m using is https://raw.githubusercontent.com/emcniece/Arduino-Keybus/master/connections.png I’ve redone the pins to match 2 and 3 in the sketch. I also notice that on the data line input it's define as INPUT_PULLUP but you mentioned it needs to be pulled low. |
I scoped it today and it looks like the data line isn't being pulled low. What is odd is that the keypad works. I even scoped it from the panel terminals and the data looks high even during the sync. It's odd, every capture between clock signals is exactly the same wave form. |
When I load this into my Arduino Uno connected to a DSC 1832 all I end up getting is all FF's in the display. Is there a timing issue that I'm not aware of? I go this with the Interrupt version. I tried the loop version but it printed similar information but crashed after 5 lines.
DSC KeyBus Gateway 0.1
M [B: 8 b: 58]: FF 3 FF FF FF FF FF FF F C: FF 3 FF FF FF FF FF FF 7
M [B: 8 b: 58]: FF 1F FF FF FF FF FF FF 1F C: FF 7 FF FF FF FF FF FF F
M [B: 7 b: 52]: FF 1F FF FF FF FF FF 3F C: FF 7 FF FF FF FF FF 3F
M [B: 7 b: 52]: FF 3F FF FF FF FF FF F C: FF 7 FF FF FF FF FF 1F
M [B: 7 b: 52]: FF 1F FF FF FF FF FF F C: FF 7 FF FF FF FF FF 3F
M [B: 7 b: 52]: FF 1F FF FF FF FF FF 3F C: FF 7 FF FF FF FF FF 3F
M [B: 7 b: 52]: FF 7F FF FF FF FF FF F C: FF 7 FF FF FF FF FF 1F
M [B: 7 b: 52]: FF 1F FF FF FF FF FF 3F C: FF 7 FF FF FF FF FF 1F
The text was updated successfully, but these errors were encountered: