8 Digit LED Bubble Display Clock
Moderators: Chuckt, Garth, bitfogav
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
8 Digit LED Bubble Display Clock
So, I am back (sort of.)
(This is an Arduino project)
I needed a clock for my room and I had already bought a few of these bubble displays from ebay since they looked pretty cool. I had already made a circuit board with shift registers connected to the display to test them out, so I decided to finish it by adding the necessary circuitry to run it. It turned out pretty well, the display is pretty small (I believe it is some sort of old calculator display ) but it looks very good especially with an added LED back-light shining into the display(RGB of course.) I also added an RTC, a speaker for an alarm, 2 buttons to switch between modes,and a potentiometer set the time of the clock or to select other options that are in the different modes (such as switching between octal, decimal, or hexadecimal time, changing the color of the back-light, setting an alarm, etc.)
The programming the clock is a work in progress (Brad's recommendation of VISUAL MICRO is very helpful) but it does display the time and do basic stuff, it just doesn't have all the modes programmed in. I'll post pictures later, and maybe even a demonstration of the clock if anyone is interested in that (after the programming is done.)
(This is an Arduino project)
I needed a clock for my room and I had already bought a few of these bubble displays from ebay since they looked pretty cool. I had already made a circuit board with shift registers connected to the display to test them out, so I decided to finish it by adding the necessary circuitry to run it. It turned out pretty well, the display is pretty small (I believe it is some sort of old calculator display ) but it looks very good especially with an added LED back-light shining into the display(RGB of course.) I also added an RTC, a speaker for an alarm, 2 buttons to switch between modes,and a potentiometer set the time of the clock or to select other options that are in the different modes (such as switching between octal, decimal, or hexadecimal time, changing the color of the back-light, setting an alarm, etc.)
The programming the clock is a work in progress (Brad's recommendation of VISUAL MICRO is very helpful) but it does display the time and do basic stuff, it just doesn't have all the modes programmed in. I'll post pictures later, and maybe even a demonstration of the clock if anyone is interested in that (after the programming is done.)
Joshua
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Glad to hear from you again! and also glad to hear that visual micro is helpful - it makes programming for arduino so much more fun I think.
I especially like your project because it has a bit of retro electronics to it. Infact I have a few old calculators from the late 1970's that use the same sort of display that you have.
(image from ebay.com)
I'm certainly interested in seeing more of your clock, if you're interested, i'd like to put it up on my main site. I.E. I could make a page with some photo's, description and youtube video of you project.
As for Arduino, that has been the only language I have been using for about the past month. I wanted to get as good as arduino as I am in swordfish basic. It's coming along well and I am working on a few LED games (as If I would work on anything else...)
I especially like your project because it has a bit of retro electronics to it. Infact I have a few old calculators from the late 1970's that use the same sort of display that you have.
(image from ebay.com)
I'm certainly interested in seeing more of your clock, if you're interested, i'd like to put it up on my main site. I.E. I could make a page with some photo's, description and youtube video of you project.
As for Arduino, that has been the only language I have been using for about the past month. I wanted to get as good as arduino as I am in swordfish basic. It's coming along well and I am working on a few LED games (as If I would work on anything else...)
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Okay, it is about time I started on the reply. Feel free to make a page about the clock, just tell me if you need me to take more pictures or something. The clock's hardware is currently 100% built and most of the coding is done. The code, however, does have a bug which makes the alarm not work all of the time (I'll figure it out when I put a little time into it.) I also want to add a few more features to it (like changing how the colons look or animate, changing how the date is set up (mm/dd/yy or dd/mm/yy, etc.) and maybe some other stuff (as I think of it)) and tidy up the code a bit (it is way worse than my room right now!)
(A video/Videos to be added when I finish programming.)
Now for some more interesting stuff. Below are (should be) some pictures of the clock, which as with all LED type devices looks better in person. It has 8 digits with an RGB backlight which can be programmed to be whatever color the user desires and saved as the clock is running ("GREEN", "RED", and "BLUE" is shown when selecting the brightness of each color and can be seen in the pictures.) You can also set the clock to show the time in 24hr or 12hr mode and even in octal, decimal, or hexadecimal (a binary setting should be coming soon.) A modified version of the Arduino's basic PlayMelody code (modified so other tasks can be performed as a melody is playing) allows basic melodies to be played when desired or as an alarm. Two buttons allow navigation through the settings and features, and the potentiometer is for selecting stuff in the features (setting the background color, setting the time, choosing which melody to set as the alarm, etc.) Yup, pictures now.
(A video/Videos to be added when I finish programming.)
Now for some more interesting stuff. Below are (should be) some pictures of the clock, which as with all LED type devices looks better in person. It has 8 digits with an RGB backlight which can be programmed to be whatever color the user desires and saved as the clock is running ("GREEN", "RED", and "BLUE" is shown when selecting the brightness of each color and can be seen in the pictures.) You can also set the clock to show the time in 24hr or 12hr mode and even in octal, decimal, or hexadecimal (a binary setting should be coming soon.) A modified version of the Arduino's basic PlayMelody code (modified so other tasks can be performed as a melody is playing) allows basic melodies to be played when desired or as an alarm. Two buttons allow navigation through the settings and features, and the potentiometer is for selecting stuff in the features (setting the background color, setting the time, choosing which melody to set as the alarm, etc.) Yup, pictures now.
- Attachments
-
- IMG_0692.jpg (86.84 KiB) Viewed 20448 times
Joshua
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Very nice clock there Joshua!
Have you ran it for a few days to see how accurately it keeps time? If you are using an RTC I am guessing it would be pretty spot on.
What was the most time consuming part of the project - the building or coding?
I am guessing the potentiometer is connected to one of the analog pins and as you rotate it it selects a different choice from the menu, is that right?
Have you ran it for a few days to see how accurately it keeps time? If you are using an RTC I am guessing it would be pretty spot on.
What was the most time consuming part of the project - the building or coding?
I am guessing the potentiometer is connected to one of the analog pins and as you rotate it it selects a different choice from the menu, is that right?
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Yup, its been running for at least a week now and isn't a minute off. I have another clock with the same type of RTC in it that is 6-7 minutes off, but it has been running for over 4 months, which isn't so bad (just takes a quick reprogramming to fix it, but I like it being fast.)brad wrote:Have you ran it for a few days to see how accurately it keeps time? If you are using an RTC I am guessing it would be pretty spot on.
It depends on how in depth I go with the programming. Simple programming would be simple and quick enough. I do not like simple. I programmed all the ascii character (starting from 32) into the clock, one by one, and am adding full support for multiple number bases which I can't read ery well yet to set alarms, etc. The building did take awhile though. If I do the extensive programming I want to, it will probably turn out that they both will take around the same time.brad wrote:What was the most time consuming part of the project - the building or coding?
Correct! I love potentiometers. You can set alarms with it, the brightness of LEDs conected to PWM pins, and do all sorts of thins with them.brad wrote:I am guessing the potentiometer is connected to one of the analog pins and as you rotate it it selects a different choice from the menu, is that right?
Joshua
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Any chance we can check out your code
- Saimaster13
- I practically live here!
- Posts: 176
- Joined: Mon Aug 13, 2012 4:23 am
- Location: Sarasota, Florida [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Ugh... hoping you wouldn't say that. It is a little messy. Good luck trying to figure it out, I may try to clean it up a bit later, but tell me if you need any help with it right now.brad wrote:Any chance we can check out your code
My whole folder (Visual Micro made a few files.)
(The folder goes in your Documents/Arduino folder)
https://www.dropbox.com/sh/9jeep1ogr9rwav5/vB2_cjRB7v
Click on the gear on the top right and download as .zip.
Joshua
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: 8 Digit LED Bubble Display Clock
Thanks for the code - it reminds me a lot of my code - uncommented!
Who is online
Users browsing this forum: No registered users and 9 guests