0

Multiple 7-Segment & Alphanumeric Displays for a Clock
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by BluesPwr1009 on Wed Nov 08, 2017 9:57 pm

I'll try that in the morning and get back to you.

BluesPwr1009
 
Posts: 22
Joined: Sat Aug 22, 2015 5:52 pm

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by BluesPwr1009 on Thu Nov 09, 2017 5:05 pm

I removed the pullup resistors from one of the boards and the boards still don't work together.

BluesPwr1009
 
Posts: 22
Joined: Sat Aug 22, 2015 5:52 pm

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by adafruit_support_bill on Thu Nov 09, 2017 5:29 pm

Please post the code you are using,

adafruit_support_bill
 
Posts: 62900
Joined: Sat Feb 07, 2009 10:11 am

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by BluesPwr1009 on Thu Nov 09, 2017 7:07 pm

Just to test the displays in the same circuit, I have stepped away from my original code, and set up a very basic test code to check the two displays in the same circuit. In short, my test is a complete failure with both displays in circuit. Here is the test code:

Code: Select all | TOGGLE FULL SIZE
#include <Wire.h>
#include <Adafruit_GFX.h>
#include "Adafruit_LEDBackpack.h"

Adafruit_7segment matrix1 = Adafruit_7segment();
Adafruit_7segment matrix2 = Adafruit_7segment();
 
void setup() {
  Serial.begin(9600);
  Serial.println("Double 7 Segment Backpack Test");
 
  matrix1.begin(0x70);
  matrix2.begin(0x71);
}

void loop() {
   for (uint16_t counter = 0; counter < 9999; counter++) {
    matrix1.println(counter);
    matrix1.writeDisplay();
    delay(10);
  }

   for (uint16_t counter2 = 0; counter2 < 9999; counter2++) {
    matrix2.println(counter2);
    matrix2.writeDisplay();
    delay(10);
  }
}

BluesPwr1009
 
Posts: 22
Joined: Sat Aug 22, 2015 5:52 pm

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by BluesPwr1009 on Thu Nov 09, 2017 10:10 pm

Good news! It wasn't my circuit or my code. It was my breadboard the whole time. Apparently, even though it is brand new, it is defective in some way. I tried another one I had and the circuit works perfectly. Thanks for your help anyway. I am sure I'll have more questions at some point.

BluesPwr1009
 
Posts: 22
Joined: Sat Aug 22, 2015 5:52 pm

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by adafruit_support_bill on Fri Nov 10, 2017 6:51 am

A common issue with full-size breadboards is that some are designed with a split power-bus. The power and ground buses do not run the full length of the board. You need to use a jumper to connect the two halves of the board. On most (but sadly not all) boards with this feature, the red & blue lines indicating the power and ground bus also have a gap in the middle.

adafruit_support_bill
 
Posts: 62900
Joined: Sat Feb 07, 2009 10:11 am

Re: Multiple 7-Segment & Alphanumeric Displays for a Clock

by BluesPwr1009 on Fri Nov 10, 2017 8:31 am

That seems to be the case with mine. In any case, I have it wired up on my other breadboard. I posted a coding issue in another post in this section of the forum, called "Output RTC Month to Alphanumeric Display." Are you able to help with that?

BluesPwr1009
 
Posts: 22
Joined: Sat Aug 22, 2015 5:52 pm

Please be positive and constructive with your questions and comments.