Controlling each segment separately on a 7digit with I2C backpack
Moderators: adafruit_support_bill, adafruit

Controlling each segment separately on a 7digit with I2C backpack

by cjansen on Fri Jun 07, 2013 8:18 am

Is it possible to control the 7 segments separately on a 7 segment display with I2C backpack # 1002 from Adafruit.
Have tried this with a test file that works on a regular 7 segments CA, but no luck to control each segment with a back pack.
If you never try anything, you get nowhere.
User avatar
cjansen
 
Posts: 40
Joined: Fri May 11, 2012 2:30 pm

Re: Controlling each segment separately on a 7digit with I2C backpack

by adafruit_support_bill on Fri Jun 07, 2013 8:27 am

Yes, it is possible with the writeDigitRaw() library function.

http://learn.adafruit.com/adafruit-led- ... t-backpack
If you want even more control, you can call writeDigitRaw(location,bitmask) to draw a raw 8-bit mask (as stored in a uint8_t) to that location.
User avatar
adafruit_support_bill
 
Posts: 29838
Joined: Sat Feb 07, 2009 9:11 am

Re: Controlling each segment separately on a 7digit with I2C backpack

by cjansen on Fri Jun 07, 2013 10:14 pm

If you never try anything, you get nowhere.
User avatar
cjansen
 
Posts: 40
Joined: Fri May 11, 2012 2:30 pm

Re: Controlling each segment separately on a 7digit with I2C backpack

by cjansen on Sun Jun 09, 2013 9:05 pm

Here is an example were I still work on. This is build up from 4x4 7 segments in red, white and blue.
when finished it should have the date, time and year, Also the barometric pressure, relative humidity and temperature.
http://www.cjansen.net/images/Arduino/12segments1.JPG
If you never try anything, you get nowhere.
User avatar
cjansen
 
Posts: 40
Joined: Fri May 11, 2012 2:30 pm

Re: Controlling each segment separately on a 7digit with I2C backpack

by adafruit_support_bill on Mon Jun 10, 2013 4:55 am

Nice looking display! :D
User avatar
adafruit_support_bill
 
Posts: 29838
Joined: Sat Feb 07, 2009 9:11 am

Re: Controlling each segment separately on a 7digit with I2C backpack

by cjansen on Tue Jun 18, 2013 10:10 am

here is a short video on youtube from a working display, http://www.youtube.com/watch?v=B0WwmBUcvSg&feature=youtu.be
If you never try anything, you get nowhere.
User avatar
cjansen
 
Posts: 40
Joined: Fri May 11, 2012 2:30 pm

Re: Controlling each segment separately on a 7digit with I2C backpack

by adafruit_support_bill on Tue Jun 18, 2013 3:04 pm

Nice work! Thanks for posting.
User avatar
adafruit_support_bill
 
Posts: 29838
Joined: Sat Feb 07, 2009 9:11 am

Re: Controlling each segment separately on a 7digit with I2C backpack

by cjansen on Thu Jul 18, 2013 5:18 pm

Another update from a completed project.
http://youtu.be/qqWT0iQlvLA

Still thinking what kinda enclosure would be nice for it.
Will post some pictures on my webpage fro the progress.
If you never try anything, you get nowhere.
User avatar
cjansen
 
Posts: 40
Joined: Fri May 11, 2012 2:30 pm



cron