How to tell the time with 1's and 0's
Vložit
- čas přidán 24. 07. 2024
- Let's build a clock that shows the time using 1's and 0's! That's right, today we will build a binary clock, using the PIC16F1455 microcontroller, NeoPixel LEDs, a rotary encoder, and the DS1302 real-time clock IC. Let's get started!
Companion article: www.friendlywire.com/projects/...
If you enjoy these videos, consider supporting FriendlyWire on Patreon:
/ friendlywire
Email list: www.friendlywire.com/email
Website: www.friendlywire.com
Twitter: / friendlywire
Reddit: / friendlywire
Facebook: / friendlywire
Instagram: / friendlywire
Timestamps:
00:00 Introduction
02:11 What you need
03:20 Schematic
05:43 Building the circuit
09:49 Programming the PIC16F1455
12:11 Troubleshooting
13:48 Binary clock on a perfboard
14:48 Final thoughts - Jak na to + styl
You can get started with PIC microcontrollers faster than you think! :) czcams.com/video/mUhzqDD6dg4/video.html
Very Friendly! I will expand mine to show the date as well. Such a neat project. Thank you.
Thank you, Terry, that's awesome! Please share a picture when you get it done, I would love to see it! :)
@@FriendlyWire It will look very similar. You already have a toggle for AM/PM. So there would just be a toggle for Time/Date, maybe TimeZone1/Timezone2.
You have made it so easy by already doing the hard work of developing a very friendly project as a basis.
But yes will be happy to share.
Thank you.
Superb project. Thanks for all the effort you put into these videos, Especially editing, truly appreciated.
Thank you for your kind words, Adhithya, much appreciated! :)
That's a beautiful project. Thanks for this wonderful demonstration.
Thank you so much, glad you like it!
So nice! You are back on youtube! Gigathanks for this project!
Ha, thank you! To be honest, I never stop working on projects, but these videos take a long time to make :D
Thanks a lot again, I realized project with MAX7219 only by your video, but I saw many different on youtube, only you explain this subject correct and detailed@@FriendlyWire
@@kogstig That's awesome! I would love to see photos of your project with the MAX719 you did, feel free to send them over on Twitter/X or Instagram @FriendlyWire :)
wow such an amazing and eye catching project, very creative and simplistic ❤❤
Thank you, glad you like it! :)
Thanks Jens. I like this clock a lot, it is definitely a good canditate for a permanent project. Take care.
Thank you, Jerry, glad you like it! :)
That case was a great find. The diffusion that the front face provides is wonderful and the inside is perfect for mounting a PCB. I also really like how you mounted the backup battery outside of the device. Thanks for sharing
Thank you, Kevin! Yes, the case worked out perfectly! :) I found them in a thrift store months and months ago, and was waiting for the "perfect" project to use them in... Have a great Sunday!
Just found the channel. Well done!
Thank you so much, Kieran, much appreciated. Have a great weekend!
Love all the content you're making!
Thank you so much! :)
Jens, Your production quality and presentation is fantastic. Really and truly appreciate the time and effort you put into your work. Excellent!!!
Thank you so much for your kind words! :)
Amazing devices! I'd like to reproduce... Thank you, Jens.
Awesome, let me know if you have any questions, I am happy to help! :)
i need built a circuit has one inbut as switch and the outputs are more than four LED's , when pressing the switch one time the LED1 will be ON and others Off, when pressing rhe switch twine the LED2 will ON and others off, and etc.
Thank you for the question! It sounds like you could do this with a simple counter, like the CD4017 ( czcams.com/video/BZjO2TuS2Vk/video.html ) and some extra circuitry. Do you know if you want to use a microcontroller or not?
I'd really love to build this but haven't gotten into soldering yet. I also don't feel a need to have the rotary encoder if it's only purpose is to control the brightness. Is there a more simplified version of this? Finally, if you are selling those finished ones, I'd love to buy one!
Thanks for your question! You don't need to solder for this, you can use a wired WS2812 LED strip. Send me an email (you can find it at the bottom of www.friendlywire.com) and we can find an LED strip that works for you.
The rotary encoder does not just adjust the brightness, but also the color, and (probably the most important thing) the time. You could also add pushbuttons instead, but then you need to rewrite the program.
Last, I do not sell any products right now, sorry. But I am happy to guide you through the whole thing, I am sure you can build it yourself!
Do you suggest me books to learn from 0?
Hello Rustam, that's a good question. I actually tried some books a long time ago (sorry, all in German) but they actually did not help me so much. I would suggest to find one circuit that you like, maybe one without a microcontroller, and build it, and make it work. Then try to understand it, and take it one step at a time. Do you have some experience already, or are you starting completely fresh? Either case, I am more than happy to suggest some good starting points and directions :)
Thanks
@@RustamBazarbaev Let me know if you want to chat some more, you can reach me on social media or via email (you can find the email address at the bottom of www.friendlywire.com). Happy to help! :)
@@FriendlyWire Sure. Thanks!
OK, but wouldn't a binary clock only be right twice a day? (JK)
If you cover the AM/PM LED that's actually true ;-)