Pages: [1]   Go Down
Author Topic: I2C with seven segment dispalys and buttons  (Read 388 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,
I'd like to ask if I want to connect 4 seven segment displays to arduino : http://sell.lulusoso.com/selling-leads/687663/5082-7613-Seven-Segment-Display-circuit-diagram-unit-driver-Agilent.html


1) How are the wires should be ? 7 pins for outputs , 2 com , 1 for dot  >> I guess every one of the 7 pins should be connected to the SDA , but what about the SCL ??

2) if it's connected correctly, Do every pin (a,b,c,d,e,f,g) of the 7 need to have ( start transmission, and end transmission )
I mean do we consider each pin as a single slave?

3)Also , how to connect a button using this protocol ?
I'm really confused !!

Regards
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

4) To connect any device using I2C protocl ,, how can I know where to connect the SDA & SCL ?
like leds, buttons , sensors .. etc

5) If I connect a button (address 1) and a led (address 2) using I2C protocol , how will the arduino differ that add1 for button and add2 for led ?
especially they're connected to the same line (SDA) ?
« Last Edit: January 06, 2013, 05:51:47 pm by sinuretta » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any Help Please  ? smiley-eek
Logged

Offline Offline
Faraday Member
**
Karma: 68
Posts: 2812
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I believe this is a very basic 7 seg. display (note the price).
No time now but look at this:
http://www.kpsec.freeuk.com/counting.htm#drivers
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

Pages: [1]   Go Up
Jump to: