Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C Bac
Moderators: adafruit_support_bill, adafruit

Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C Bac

by timmit99 on Tue Feb 18, 2014 12:13 am

]I am trying to connect my 0.56" 4-Digit 7-Segment Display w/I2C Backpack to my arduino Micro. Here is how i have it connected (ignore the light gates for now)
fritzig.jpg
Wiring
fritzig.jpg (62.68 KiB) Viewed 192 times
I cant get it to display anything. It compiles fine but I get no light or anything on the display.
Here's the code i'm attempting to use
Code: Select all | TOGGLE FULL SIZE
#include <Wire.h>


#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"

Adafruit_7segment matrix = Adafruit_7segment();
int incomingByte = 0;

void setup() {
  Serial.begin(9600);
  Serial.println("7 Segment Backpack Test");
  pinMode(13,OUTPUT);

  matrix.begin(0x70);
}

void loop() {
  // try to print a number
  matrix.print(100, DEC);
  matrix.writeDisplay();
  digitalWrite(13,HIGH);
  delay(500);
  digitalWrite(13,LOW);
  delay(250);
 
 
 
}

and here is what my solder joints look like:
0217142310.jpg
Solder connections
0217142310.jpg (796.98 KiB) Viewed 192 times
timmit99
 
Posts: 5
Joined: Mon Feb 17, 2014 9:39 pm

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by adafruit_support_rick on Tue Feb 18, 2014 12:27 pm

I2C is not on A4 and A5 on the Micro. You have to use Digital 2 (SDA) and 3 (SCL).

adafruit_support_rick
 
Posts: 14449
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by timmit99 on Tue Feb 18, 2014 3:11 pm

Ok so i switched that and that makes sense. However now i cant upload anything to the board... It gives me an error after 2-3 minutes of displaying "UPLOADING":
Code: Select all | TOGGLE FULL SIZE
Binary sketch size: 4,830 bytes (of a 28,672 byte maximum)
Found programmer: Id = "Bo "; type =
   Software Version = . ; Hardware Version = .
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?

It is the example Blink program and i have tried pressing the reset button and releasing it when it says "uploading" and i still have no luck. I have updated the IDE and it is recognizing the arduino micro on COM port 19. I have it selected but it still won't upload.
timmit99
 
Posts: 5
Joined: Mon Feb 17, 2014 9:39 pm

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by adafruit_support_rick on Tue Feb 18, 2014 3:17 pm

You may have created some sort of short-circuit. Can you post clear, detailed pictures of both sides of the Micro, and also of both sides of the display?

adafruit_support_rick
 
Posts: 14449
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by timmit99 on Tue Feb 18, 2014 6:50 pm

Top.jpg
Top.jpg (38.66 KiB) Viewed 153 times
Bottom.jpg
Bottom.jpg (35.19 KiB) Viewed 153 times
It lights up when i plug it in and is recognized but cannot be uploaded to. I can upload things to my Uno no problem.
timmit99
 
Posts: 5
Joined: Mon Feb 17, 2014 9:39 pm

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by timmit99 on Tue Feb 18, 2014 6:58 pm

0218141753.jpg
0218141753.jpg (509.96 KiB) Viewed 151 times


0218141752.jpg
0218141752.jpg (732.67 KiB) Viewed 151 times
timmit99
 
Posts: 5
Joined: Mon Feb 17, 2014 9:39 pm

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by adafruit_support_rick on Wed Feb 19, 2014 10:30 am

That all looks good.
Question: Can you load the Micro when the LED is disconnected?

adafruit_support_rick
 
Posts: 14449
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Arduino Micro with 0.56" 4-Digit 7-Segment Display w/I2C

by timmit99 on Wed Feb 19, 2014 11:35 am

[SOLVED]
I tried uploading sketches to the micro at computers around campus with no luck. I finally tried using my roommates Mac and it was able to get through to the board and upload the Blink program. Now i can upload to the micro from my laptop. I guess my PC just started to disagree with it. Thanks for the help!
timmit99
 
Posts: 5
Joined: Mon Feb 17, 2014 9:39 pm