Led ring clock build and code

  Рет қаралды 58,549

Cine-Lights

Cine-Lights

Күн бұрын

Had a few requests for the clock code - so decided to do a full build with instructions. vu meter build video with the same led ring coming shortly, just waiting for The Chinese snail mail.
Arduino ide software link :
www.arduino.cc...
Led ring link : www.ebay.co.uk/...
Clock code, libraries etc for build :
drive.google.c...

Пікірлер: 138
@kostasvarsamis4155
@kostasvarsamis4155 Жыл бұрын
i am electronic,electrical and mechanical technician. and you, mate.... you;ve done a great job........the clock is beautifull. gratz!!
@N7LT
@N7LT 3 жыл бұрын
Very nice! My friend and I built one similar to this back around 1989 or 1990. Used Jumbo LED's on a 2 foot diameter black plexiglass using a 8088 processor to control the actions of the digital-analog clock. It had 3 modes of operation. Was so unique for it's time that when we displayed it in a shop window at a busy intersection, we had to take it down because it was so distracting to drivers! I still have it and it works for a while and then locks up. Think it's the processor or a bad solder joint somewhere. I should dig it out, plug it in and shoot a video of it! Still looked cool the last time I showed it to my kids.
@joeennis2571
@joeennis2571 3 жыл бұрын
very cool I wish I was younger and understood it better it is a little bit too complicated for me but you are a great teacher , keep enjoying what you are doing
@cine-lights
@cine-lights 3 жыл бұрын
Hey Joe your never to old. it always seems hard - but follow everything step by step - you will be surprised how easy it is. we are all here to help too.
@michael.simmons8335
@michael.simmons8335 4 жыл бұрын
Excellent job thanks for sharing, there is a couple of wiring mistakes the rotary encoder 3/4 not 2/3 RCT is SCL-05 SDA -04
@IISBV
@IISBV 9 ай бұрын
Wish I had seen your comment before banging my head for the last 4 hours thinking I'm doing something wrong...
@jesusbolumburu9096
@jesusbolumburu9096 Жыл бұрын
After reading and viewing carefully all info I think I understand. Sorry for disturbing. I will come back if anyquest appears. Thanks.
@Dancopymus
@Dancopymus 3 жыл бұрын
Beautiful the Clock but, a pity that the LED Ring is very small. According to the website, the Ring measures 78.74mm in Outside Diameter (Radius). It would be good, at least about 300mm in total. Thank you for the shared project.
@SouthSideChiTown
@SouthSideChiTown 6 жыл бұрын
Wow, thanks! Been looking for this build for a long time.
@tiagocoelho569
@tiagocoelho569 4 жыл бұрын
good evening! did your program work? which arduino used? could you send me a video on watts showing how you did it? 55+ 27 998010016
@basv8456
@basv8456 6 жыл бұрын
Finally a good video how to code this!
@shaunewing8973
@shaunewing8973 4 жыл бұрын
cine-lights , im not understanding how to set rtc here , the tab in FILE /sketchbook..... does not exist. dont get how to set time without this . lights work, but no movment on any of the time hands
@cine-lights
@cine-lights 8 жыл бұрын
Please Note : This setup can be run from 5v from the Arduino to test. But strongly suggest to use a 5 volt 4 amp or higher power supply. 5 volts from power supply to Arduino vin and 5volt on led strip. Ground from power supply to ground on Arduino and led strip. 2nd note : There are quite a few ground connections so a lot of grounds will have to share. 3rd note: Fixed a few issues with code, also added different RTClib library.
@wiwitwidhianto2446
@wiwitwidhianto2446 7 жыл бұрын
can you recommend which power supply to be used? thanks
@Richyboy64
@Richyboy64 6 жыл бұрын
the 4amps can damage the Arduino? or am i wrong Thank you for your time anwering me
@aigarsjegermanis6173
@aigarsjegermanis6173 4 жыл бұрын
@@Richyboy64 you can not damage nothing with amps. Can damage with volts...
@ArifulHaqueBD
@ArifulHaqueBD 4 жыл бұрын
hi cine-lights. thanks a lot for ur amazing videos. i've seen ur video which is about vu meter (stereo version) with 3.5 inch tft lcd. there u gave the hex code for maximum 70 led. but i want to make the same vu meter with 144 led stereo version. will u plz share the hex code for 144 led and make me grateful? again thanks a lot ...
@antonioferreira8695
@antonioferreira8695 3 ай бұрын
wonderful
@labaga9869
@labaga9869 2 жыл бұрын
to change the display mode so that it keeps changing which one do you have to edit, sir? Sorry, I'm new to Arduino.
@warsessss
@warsessss 3 жыл бұрын
Buenas. Quisiera agradecer el trabajo realizado y exponer una pregunta: Donde se puede en el código hacer que cuando tenemos el reloj este tenga menos brillo,osea bajar la luminosidad solo en el reloj. He intentado por mi cuenta pero no lo logro.gracias de antemano
@jesusbolumburu9096
@jesusbolumburu9096 Жыл бұрын
Would possible to have the diagram of the connections?, I would like to bouild it as simple as possible, no alarms, ..... Using the DS3231 as RTC. Thanks in advance.
@regretsmyl
@regretsmyl 7 жыл бұрын
Works nice but i cant set time for ds3231. Asks for Timelib.h and also there is not set time menu in the lib like other ds has. Another weird thing i notice is the seconds blue led fade in out only two leds back and forth . Its not moving more.. please help
@m1tsak0s7
@m1tsak0s7 5 жыл бұрын
Hello man. I set up time by programming the first time.but if i want to change time , could i set it from clock without programming?
@adijumaryadi2374
@adijumaryadi2374 Жыл бұрын
Hi I made it after a week building process, when I saw clock menu schematic flow, it was show me how to set alarm clock, so where buzzer can be installed...?, thanks you for the shared project.
@regretsmyl
@regretsmyl 7 жыл бұрын
This seems will work for me. Its the most completed tutotrial i have found. Also for ds3234 rtc i just add the 3234 code in libraries? One more question please. Connection for KY-040 Rotary Encoder with arduino mega 2560?
@hertz3531
@hertz3531 4 жыл бұрын
thanks bro..
@alheeley
@alheeley 3 жыл бұрын
Great project, thanks for sharing this. Quick code question - my rotary encoder is very sensitive, one small click left or right switches through options 1-2 times. Any way I can make it less sensitive? Sometimes I have to balance it between clicks to get the correct function.
@uraldavis
@uraldavis 7 жыл бұрын
Hi, I'm having problems with the blue LED second hand not moving at all, any suggestions to fix this ?
@cine-lights
@cine-lights 7 жыл бұрын
The clock timer needs to be set. so you need to use the example from the clock library to set the clock. then upload the clock code.
@fernsgilbert
@fernsgilbert 4 жыл бұрын
happened for me too... I interchanged A4 & A5 connections from RTC to Board and it works
@tomgray7049
@tomgray7049 5 жыл бұрын
This is cool, Thank you for sharing. :)
@paulranaweera525
@paulranaweera525 3 жыл бұрын
HI, everything works fine apart from the whole clock is lit up green and i cant find in the code where to change it, please help, im using ws2812b LED strip and GRB.
@paulranaweera525
@paulranaweera525 3 жыл бұрын
got this sorted had to rest the Nano, had to upload and example script and check and did the same and then after rest the clock worked fine.
@domdomgin
@domdomgin 4 жыл бұрын
Hi i uploaded the code it lights up all green.Also i do not see the hour led lit.please help.thanks.
@jojothegreek
@jojothegreek 5 жыл бұрын
Hi.Very cool.One question.Can we change the time from the rotary switch?Thank you.
@anakrantau1782
@anakrantau1782 2 жыл бұрын
Can U make this one combine with 7 segment display at the center?
@tiagocoelho569
@tiagocoelho569 4 жыл бұрын
I want to build my project but I can not do, tried with arduino nano more appears error, with one too, wanted to show you the error to see if it could help me.
@armendanielyan7193
@armendanielyan7193 Ай бұрын
👍
@shinaskhan123
@shinaskhan123 8 жыл бұрын
great 👌 Thank you very much 😊😙
@norahalhajri6786
@norahalhajri6786 Жыл бұрын
For led light can I use the same code¿
@nitronautcz
@nitronautcz 3 жыл бұрын
Please help. I copied the library and code, but nothing happens. Should I use DS1307 set time according to the video even though I have a 3231 module?
@cine-lights
@cine-lights 3 жыл бұрын
Hi, in most cases you should get a few leds light up even without the time being set. if the ds1307/ 3231 is new then you will need to upload the set time sketch first. yes i have used the 1307 version before. if you are still having issues, then upload the simple neopixel strand test to make sure the everything is wired correctly
@nitronautcz
@nitronautcz 3 жыл бұрын
@@cine-lights Thanks for the reply. I'll upload a timeline. The main problem was that the LED strip is defective. I connected another and neopixel strand test works. Now maybe I can do it :)
@mrbulp
@mrbulp 7 жыл бұрын
hi cine-lights im using 120led of ws2812b strip.. how to change led numbers for clock to work properly? best regards
@cine-lights
@cine-lights 7 жыл бұрын
Hi Mrbulp. The code was written especially for either a 60 led ring or strip. 60 leds, for 60 minutes, 60 seconds. i have not used / tested for anything higher. Most of the code would have to be re-written for the extra leds. any reason why you wish to use 120 leds ?
@mrbulp
@mrbulp 7 жыл бұрын
Hi Cine-Lights, thank you for the response.. well.. since id bought the 144led per meter strip.. so i thought just to change the numbers led it will be fine.. unfortunately its not.. anyway thank you for your code & guidance.. now i need to buy the gain mic module like the adafruit clone to try v.u.meter with your tutorials & codes, its looks easy.. :)
@huyhoangpham8520
@huyhoangpham8520 3 жыл бұрын
Hi Cine ! I got a problem with upload Time set. It gave me a copy error message and Timelib.h: No such file or directory. What is mean ? I use RTC3231 and push button exactly in your video. I review all the comment and try to do any way but nothing help. Please tell me what wrong. Thanks.
@cine-lights
@cine-lights 3 жыл бұрын
Hi, you need to install the timelib library
@huyhoangpham8520
@huyhoangpham8520 3 жыл бұрын
@@cine-lights Thanks. Now, I use DS3231RTC, but may i upload set time DS1307RTC. It is ok.
@huyhoangpham8520
@huyhoangpham8520 3 жыл бұрын
One more thing, can you tell me what is the data pin go to led ring ?
@huyhoangpham8520
@huyhoangpham8520 3 жыл бұрын
Sorry ! I find out the mistake. Can you show me how to set the correct time ? Please.
@haukatron
@haukatron 6 жыл бұрын
Hi cine-lights, is it possipble to use an RTC 1302 instead of the 1307?
@cine-lights
@cine-lights 6 жыл бұрын
haukur örn Hi. I tend to use the 3231 due to its accuracy also it can use temps too. . Or the 1307 just for time. I haven't used the 1302 but you can try it.
@haukatron
@haukatron 6 жыл бұрын
thank you! :)
@jesusbolumburu9096
@jesusbolumburu9096 Жыл бұрын
Sorry I forgot to say that I would use the Arduino Uno.
@alfredoperezludena
@alfredoperezludena 3 жыл бұрын
where can I find your schematic diagram?
@luigidedom3570
@luigidedom3570 5 жыл бұрын
Is there no manual clock set function?
@DexteroPL
@DexteroPL 5 жыл бұрын
how to set clock timer in andruino? in which line?
@vhince4005
@vhince4005 4 жыл бұрын
Hello, I'm entirely new on arduino, please bare with my noob questions. I'm using a DS3231 Module, do I need to do the "Settime" part? Also, in Arduino IDE 1.8.x there is no "file>Sketchbook>libraries" anymore. By you mean here, I need to upload the settime code from DS3231 library then upload the "Clock_with_rtc3231" again? that will overwrite the current code in the Arduino right?
@jamesledcube5827
@jamesledcube5827 8 жыл бұрын
Cool clock, thanks for sharing. Have got all the bits so will get on with this at the weekend. Can I ask what you used for minute markers and did you just stick them down free hand? Or use some kind of stencil? Thanks
@cine-lights
@cine-lights 8 жыл бұрын
Hiya James.. i actually got them cut at a car graphics place. i gave them the picture included in the download and it took them 5 minutes to cut., along with 10 cine-light logos, cost very little. They recommend applying them dry. i did it with water and a little soap so i could position it. then used a hair dryer to dry them out.
@jamesledcube5827
@jamesledcube5827 8 жыл бұрын
Thanks for swift reply, will have a look into that approach then as looks like you have made it work really well. Cheers mate
@letslearnintwominutes1575
@letslearnintwominutes1575 2 жыл бұрын
Supiri brooooo
@fernsgilbert
@fernsgilbert 3 жыл бұрын
Beautiful Clock patterns. Thanks a lot. Is it possible to use ESP8266 with Wifi to set the time. So the RTC can be avoided?
@cine-lights
@cine-lights 3 жыл бұрын
you could, but it would require a complete code rewrite.
@haznisani7407
@haznisani7407 5 жыл бұрын
Hello,do you have the schematics for this project?and it doest require any resistor right?It could be helpful if you can reply asap😁
@cine-lights
@cine-lights 5 жыл бұрын
Hi... if you search my other videos for infinity clock. Its the same build with all the links you need.
@wds4022
@wds4022 2 жыл бұрын
parabens poderia ter deixado tambem o circuito de ligação
@robertomasi237
@robertomasi237 3 жыл бұрын
Ciao, ottimo progetto, complimenti. Ho provato a realizzarlo in modo semplice per la mia casa, ma l'orologio mi funziona al contrario. -Senso antiorario...help
@prasantamandal79
@prasantamandal79 3 жыл бұрын
Thanks for your beautiful project. I have done it. But 2 problems one how to set time after completion the project and other is how to control brightness level of leds? Pls if possible shere the solution
@cine-lights
@cine-lights 3 жыл бұрын
If you are running the ds3231 version, run the sample code "set", this will set the time to your computer., this is if your ds3231 has never been set. as for brightness., search within the code for brightness and change the code from 255 - to the value you require
@yusuf120581LED
@yusuf120581LED 8 жыл бұрын
awesome.....
@ladnekjc
@ladnekjc 7 жыл бұрын
Hi, thank for this video. Have followed the instructions and got something working sort off..... I can get it to the demo mode using the push button, but don't seem to be able to get the rotary function to work to select a particular display mode! Any ideas? Thanks Chris.
@cine-lights
@cine-lights 7 жыл бұрын
Chris Kendal Hi Chris.. firstly are you sure you have a rotary encoder? not a variable resister?.. reason why I ask is that someone else had the same problem. if it is a rotary encoder which version do you have? as the pin layout maybe slightly different to the ones I have shown.
@ladnekjc
@ladnekjc 7 жыл бұрын
Cine-Lights Thanks for your prompt reply. I've used an encoder on a board and it looks visually identical the the one on your video, including the "Keyes" logo! I have noticed some resistors on the back of the board that won't be on a stand alone version. The clock works, and I quite like the demo mode..... planning to do a few more of your projects, so would like to understand what is happening! Thanks.
@cine-lights
@cine-lights 7 жыл бұрын
Hi as long as it is a rotary encoder, and connected correctly. The ground is shared between the switch (push button) and rotary switch so pin 0/RX0 is for the operation of the push button. if thats not doing anything then you have a problem with ground. i would try a different ground on the arduino ? are you using a separate power supply ? if so then make sure a ground from the power supply is also going to arduino. if the Rotary working in any direction ?
@ladnekjc
@ladnekjc 7 жыл бұрын
Cine-Lights Rotary doesn't appear to work at all! No indicator lights on the ardunio nano when turning encoder, but indication when pressing encoder! Using one power supply, but splitting to feed ardunio and leds power and ground separately. leds also grounded to ardunio. Rechecked connections are as your video. This is my first ardunio project so all very interesting. Demo mode works! And I actually quite like the fact that the display changes every few seconds, makes it more visually appealing.
@cine-lights
@cine-lights 7 жыл бұрын
Hi Chris, ok i have checked the code and found a little mistake in this line : " Encoder rotary1(3, 4); // Setting up the Rotary Encoder " Try connecting CLK and DT to digital pins 3 and 4 see if that helps.
@michaelsenftleben817
@michaelsenftleben817 Жыл бұрын
der code funktioniert bei mir leider nicht
@freethinker1492
@freethinker1492 2 жыл бұрын
This is a great clock.. But its to hard to read.. If someone who doesn't know which colour led is the hour and minute hand.. It needs 2 rows of leds the outer row showing only the minute and second.. The inner showing all 3 hands.. this way the hour hand is 1 led wide the minute and second being 2 leds wide..I have been trying to edit the code to do this but so far no luck..
@omoivo6525
@omoivo6525 6 жыл бұрын
How You glue them together before soldering? Which glue? Please
@cine-lights
@cine-lights 6 жыл бұрын
Omo Ivo Hi.. i just used a small amount of super glue..enough to hold them together
@omoivo6525
@omoivo6525 6 жыл бұрын
Cine-Lights Thanx
@javierpallalorden
@javierpallalorden 8 жыл бұрын
That is a very nice looking clock! Could you measure the current, I am wondering what the max. current draw is.
@cine-lights
@cine-lights 8 жыл бұрын
Thanks. when i first checked the setup i was getting 3.1 amp draw. As the clock is only lighting a few leds it will run in test mode from the Arduino. Most of my projects i run using a 5 volt 4 amp supply without any issues.
@ghostplays7406
@ghostplays7406 Жыл бұрын
Wiring diagram please:)
@cryptofan9663
@cryptofan9663 5 жыл бұрын
hi,why did mine says #warning FastLED (not really a warning,just telling you)...but it can verify.
@cryptofan9663
@cryptofan9663 5 жыл бұрын
does it affects the outcome later on?
@cine-lights
@cine-lights 5 жыл бұрын
@@cryptofan9663 Hi... no it's just telling you which version of fastled you are using.
@letslearnintwominutes1575
@letslearnintwominutes1575 2 жыл бұрын
Awosam
@shinaskhan123
@shinaskhan123 8 жыл бұрын
Hi today I compiled the code RTC 3231 it's showing error (RTC dose not a name) .other code for 1307 working fine . please help I'm using DS3231clock module .
@cine-lights
@cine-lights 8 жыл бұрын
Hi Shinas ... please download Rtclib from here and install into your libraries folder and retry, github.com/adafruit/RTClib
@shinaskhan123
@shinaskhan123 8 жыл бұрын
😊 thanks a lot
@cine-lights
@cine-lights 8 жыл бұрын
i have updated the download to include the updated library. did it fix your problem ?
@shinaskhan123
@shinaskhan123 8 жыл бұрын
ya now it's working 😊 I just tested today👍
@cine-lights
@cine-lights 8 жыл бұрын
Thanks for testing it :)
@cbanosabreu
@cbanosabreu 3 жыл бұрын
COULD PROVIDE CLOCK DIAGRAM
@faiqarsh1
@faiqarsh1 5 жыл бұрын
Can ws2811 be used instead 2812
@goodfood2464
@goodfood2464 4 жыл бұрын
yes
@cryptofan9663
@cryptofan9663 5 жыл бұрын
its still not moving but the blue,green and red lit up
@musaabqamar2006
@musaabqamar2006 4 жыл бұрын
funtastic, costly and difficult. . .
@sammyvittvall4084
@sammyvittvall4084 5 жыл бұрын
Hello I want to contact you regarding this
@cine-lights
@cine-lights 5 жыл бұрын
how can i help ?
@sammyvittvall4084
@sammyvittvall4084 5 жыл бұрын
@@cine-lights how can I purchase the board and switches I need 2 set and I want it programmed.
@tonyjubb9604
@tonyjubb9604 3 жыл бұрын
I meant 'couldn't get the rotary encoder to work...'
@cryptofan9663
@cryptofan9663 5 жыл бұрын
bro my clock hand is not moving at all help
@cine-lights
@cine-lights 5 жыл бұрын
Hi, check connections to the clock board.
@cryptofan9663
@cryptofan9663 5 жыл бұрын
@@cine-lights okay ill try
@cryptofan9663
@cryptofan9663 5 жыл бұрын
@@cine-lights umm the code that u provided,is the time set?
@AndriyAndr
@AndriyAndr 2 жыл бұрын
i need speech
@MrVikingonas
@MrVikingonas 5 жыл бұрын
sxematick plase ...
@ggabommw8306
@ggabommw8306 2 жыл бұрын
ほしいです。
@cryptofan9663
@cryptofan9663 5 жыл бұрын
bro its still not moving:(
@cine-lights
@cine-lights 5 жыл бұрын
Within the folder you will find a file which will give you the menu features one of which is time set. you can try that. or which ever library you are using will have a set time example. set your time and then re-upload the code. if you still do not have the movement then i would recheck your wiring. In all the cases i have built these clocks they have always worked, but have had the incorrect time.
@cryptofan9663
@cryptofan9663 5 жыл бұрын
@@cine-lights ill try
@cryptofan9663
@cryptofan9663 5 жыл бұрын
@@cine-lights yeap its not working,i gotta submit by next week :( can u help me set any random timing
@cine-lights
@cine-lights 5 жыл бұрын
@@cryptofan9663 what you can not set the time or ?. Which clock are you using ?
@cryptofan9663
@cryptofan9663 5 жыл бұрын
@@cine-lights rtc 1307
LED Clock Final Build
4:21
Danny Simon
Рет қаралды 14 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 49 МЛН
64 x 64 Rgb matrix, Smartmatrix & Aurora
14:52
Cine-Lights
Рет қаралды 9 М.
DIY WS2812 Analog style Arduino Ring Clock
9:57
Mirko Pavleski
Рет қаралды 21 М.
How to use Seekway LED Player 3.2 with SN-510 (SD Card Controller)
4:51
Seekway Innovations
Рет қаралды 125
NeoPixel Clock using ESP8266 with NTP based time.
6:16
MakerUSA
Рет қаралды 21 М.
Use Addressable LED Strip with Arduino || Essential Engineering
7:37
Stereo Vu meter - second edition
12:11
Cine-Lights
Рет қаралды 123 М.
RTC Arduino Clock with WS2812b strip and NeoPixel 60 Ring (Part1)
3:23
Mohammad Forgani
Рет қаралды 13 М.
how to make Propeller LED Pendulum Clock, using Arduino NANO, JLCPCB
10:23
clock or vu ??
5:33
Cine-Lights
Рет қаралды 11 М.
How to control WS2812B RGB LEDs with FastLED and Arduino
21:45
hamburgtech
Рет қаралды 368 М.