Home › Evil Mad Scientist Forums › Clock Kits › Spare Inputs on Clock?
- This topic has 5 replies, 2 voices, and was last updated 11 years, 12 months ago by Windell Oskay.
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
September 26, 2013 at 3:03 pm #20261idreamincodeParticipant
I’m looking at purchasing a Evil Mad Scientist Clock and was wondering if there are spare inputs that could be used by external source triggering.
I’m not actually looking to use this as a clock, but more for a remote display. If it was not possible to have an extra input, would I just not solder in the function buttons to use as external wires in their place?If that doesn’t work, I’m thinking of using a 2nd Arduino to just feed serial data to the clock, but that seems redundant.Thanks for the support.September 26, 2013 at 3:11 pm #21475Windell OskayKeymasterHi idreamincode,
I suspect that you’re asking about the Alpha Clock Five, not the Bulbdial. ;)There’s no obligation whatsoever to use it as a clock. You can feed serial data to the clock using a USB-TTL cable, or another Arduino, or use the available spare I/O pins any way that you like. The current version of Alpha Clock Five has 9 (if i counted correctly) spare I/O pins that can be used as inputs, not counting the two pins that go to the second serial port.I hope that this answers your question; if not, please let me know how I can help. :DSeptember 26, 2013 at 3:45 pm #21476idreamincodeParticipantYes! That is exactly what I’m looking for, the Alpha Clock Five. Sorry if I posted this in the wrong forum.
Looking forward to getting my hands on one of these. Very exciting.October 30, 2013 at 3:06 pm #21477idreamincodeParticipantI’m looking to use PC5, input #27 (according to the PDF file). When I code in this:
int a5ExternalInputPC5 = 27; // external inputssetup{pinMode(a5ExternalInputPC5, INPUT); // set pin to input}loop{externalInPC5 = digitalRead(a5ExternalInputPC5); // read the input pinif(externalInPC5 == 1){Serial.println(“External PC5 Pressed”);}}It is showing as constantly being pressed. I don’t have anything connected to any of the PC5 or other extra ports. Can you point me in the right direction? Thanks.October 30, 2013 at 4:30 pm #21478idreamincodeParticipantI figured it out. Pin PC7 actually maps to input 23.
Pinmap is from this site:October 30, 2013 at 7:40 pm #21479Windell OskayKeymasterSorry– didn’t see your message until you had already found the answer. The “canonical” guide is the Sanguino: http://sanguino.cc/hardware
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.