How to use rotary encoders
14:12
Жыл бұрын
MAX7219 LED multiplexing tutorial
13:26
NE555 tutorial: three useful circuits
16:09
CD4026 decimal counter tutorial
7:59
Build your own electronic dice!
21:37
Your first microcontroller project!
19:44
Пікірлер
@markallan3883
@markallan3883 3 күн бұрын
Hi im making all of the NE555 circuit modes in a website called TinkerCad and i am wondering how do u make the 555 timer go longer before turning off the LED. (BTW i love ur content, keep up the good work)😁😁😁
@zeilstar
@zeilstar 4 күн бұрын
Really great idea with the tray. I'd like to be able to set my project aside at times, but not have to pack everything up.
@FriendlyWire
@FriendlyWire 4 күн бұрын
Glad you like it! Yes, especially if there is only one desk available this type of solution can make your life simpler :)
@koomber777
@koomber777 9 күн бұрын
I subscribed by the end of the intro
@FriendlyWire
@FriendlyWire 9 күн бұрын
Thank you, I am glad you liked the video! :)
@DESX312
@DESX312 14 күн бұрын
Wow this is really good. Subscribing!
@FriendlyWire
@FriendlyWire 14 күн бұрын
Thank you, I am glad you liked it! What kind of video would you like to see next on here?
@ryanwilliams271
@ryanwilliams271 15 күн бұрын
This is a gem 100% haven't seen any of your videos of late
@FriendlyWire
@FriendlyWire 15 күн бұрын
Thank you so much, Ryan, I am glad you like them! I just settled into a new place, and I am still re-building my studio there, but I already have a new project in the works. Stay tuned :)
@user-tb8nq2wg5e
@user-tb8nq2wg5e 17 күн бұрын
I want to source code
@FriendlyWire
@FriendlyWire 17 күн бұрын
Sure! It's in the companion article: www.friendlywire.com/tutorials/ws2812/#appendix
@rrssmooth6643
@rrssmooth6643 24 күн бұрын
I thought I could figure out arduino, driving me nuts
@FriendlyWire
@FriendlyWire 18 күн бұрын
Sorry for your frustration! Sometimes these things can drive us nuts indeed... Can I help with anything?
@rrssmooth6643
@rrssmooth6643 11 күн бұрын
@@FriendlyWire I will just keep working at it, cannot believe school children know how to do it. I figure little things out more and more.
@FriendlyWire
@FriendlyWire 10 күн бұрын
@@rrssmooth6643 That's awesome, good luck, and don't give up, you can do it!
@mohammedshareefalkaraan260
@mohammedshareefalkaraan260 26 күн бұрын
Well you did it! I am now using a rotary encoder in my Project. Super Video ❤
@FriendlyWire
@FriendlyWire 21 күн бұрын
Ha, that's awesome, Mohammed! Thank you for your kind words, and congratulations! :)
@sahguftanaz4217
@sahguftanaz4217 27 күн бұрын
Amazing
@FriendlyWire
@FriendlyWire 27 күн бұрын
Thank you, I am glad you liked it! :)
@dr.scientenium3698
@dr.scientenium3698 Ай бұрын
I have done it
@FriendlyWire
@FriendlyWire 28 күн бұрын
That's awesome! I would love to see a picture of the code lock. If you can, please share it with me on Twitter/Instagram @FriendlyWire or via email (at the bottom of www.fiendlywire.com). Did everything work as expected?
@dr.scientenium3698
@dr.scientenium3698 28 күн бұрын
@@FriendlyWire kzfaq.info/get/bejne/r6qeZduFxr-Zhas.html
@dr.scientenium3698
@dr.scientenium3698 28 күн бұрын
​@@FriendlyWire This is security lock system I have made it in youtube video you can see it
@thespice311
@thespice311 Ай бұрын
This video is fantastic, very clear and efficient presentation with enough technical depth to get a strong understanding of why it works. I love the diy mega encoder!
@FriendlyWire
@FriendlyWire Ай бұрын
Thank you for your kind words, I am glad you liked the video! And building the mega encoder was fun, too :)
@rqmatix305
@rqmatix305 Ай бұрын
Hi 👋🏻 great video. I am trying to create program to control two different outlets ( wall plug outlets). I am trying to control two different valves (hot and a cold) . The sequence is 1 minute on cold then wait 30 seconds ,then 1 minute hot then wait 30 seconds (a continous loop ) for “x” Loop cycles . Any ideas on how to do this ?
@FriendlyWire
@FriendlyWire 18 күн бұрын
Hello! Yes, you can do that with a relay module. You connect the LED signal to the input of the relay, and on the contact side of the relay you can hen switch other devices. But be careful with this: line voltage is dangerous, and please only do this if you feel confident about it. If not, no worries: you can probably talk to a local makerspace or find a programmable timer solution. Let me know what you think, and be safe.
@rqmatix305
@rqmatix305 12 күн бұрын
@@FriendlyWire thank you !
@nielsdaemen
@nielsdaemen Ай бұрын
I wonder if it's even possible to just use the internal pull up resistor for this in some mcu's
@FriendlyWire
@FriendlyWire Ай бұрын
Good idea, but I don't think it would work, I doubt they are more than a few kilo ohms, and here we need a million times more. Let me know if it works, I am happy to learn more!
@nielsdaemen
@nielsdaemen Ай бұрын
@@FriendlyWire Hi I found this video of someone doing this on arduino (atmega328P) I'm not sure if he uses the exact same technique, but there are no external components required. kzfaq.info/get/bejne/iJ9kiNdk1bW4lGg.html
@rollinthedeep4759
@rollinthedeep4759 Ай бұрын
Thank you for ur tutorial it help me a lot of my school project.... do u have any idea how to control a projector using rs232🥹...
@tziirkq
@tziirkq Ай бұрын
Thanks so much, this is great. Literally exactly what I want to do, but haven't the MC knowledge to figure it out for myself. I have a couple of questions; is it possible to use a potentiometer to control the rate, and can the signal be used to control things other than an LED? Thanks again.
@FriendlyWire
@FriendlyWire 18 күн бұрын
I am glad you liked the video, and apologies for my late response. Yes! You can do that! Check out the PIC16F455 ADC tutorial here: kzfaq.info/get/bejne/d9KglcWWvZ2Rcok.html . What kind of other things would you like to control with the circuit?
@tziirkq
@tziirkq 17 күн бұрын
@@FriendlyWire I'm a musician, I was hoping this would be a handy way to make a smooth sample and hold LFO. Really I'd like to be able to make and program musical devices, like digital effect pedals and synths, without having to put an entire Arduino inside, as that seems wasteful.
@FriendlyWire
@FriendlyWire 17 күн бұрын
@@tziirkq Ohh that is so interesting! I have no experience with this, but could you describe it a bit more, perhaps via email? You can find my address at the bottom of www.friendlywire.com :)
@1georgeh
@1georgeh Ай бұрын
Thank you so much. Very useful. Clear, simple to follow, and direct to the point.
@FriendlyWire
@FriendlyWire Ай бұрын
Thank you for your kind words, I am glad you found it useful!
@johnjosephlonergan
@johnjosephlonergan Ай бұрын
Simpler idea here that more convenient when breadboarding... kzfaq.info/get/bejne/bsx3lsp3zMCzdZ8.htmlsi=MTR5gnYwM0El9l67
@MiguelAngelGarciaGonzale-cd4me
@MiguelAngelGarciaGonzale-cd4me Ай бұрын
thanks for you explication i dont know this information
@FriendlyWire
@FriendlyWire Ай бұрын
Glad you liked the video, Miguel, happy to help! :)
@jomfawad9255
@jomfawad9255 Ай бұрын
Question, does it only detect human finger or for example if it touches plastic or wood it works?
@FriendlyWire
@FriendlyWire Ай бұрын
It only works if stray capacitance gets changed, so wood and plastic won't work, I think.
@MAFIAGAMING-pn6se
@MAFIAGAMING-pn6se Ай бұрын
Hi, I understood this and implemented this it works and helps a lot but the problem is I have to run this on simulator on Proteus for my project and Tried alot but Stuck on led display there a-k alphabets in led but in Proteus there is a-g so how to take other inputs can you make a video on it
@FriendlyWire
@FriendlyWire Ай бұрын
Thank you for the question, I am glad that the video was helpful. I am not sure if I understood everything :) Can you explain what the problems seems to be?
@MAFIAGAMING-pn6se
@MAFIAGAMING-pn6se Ай бұрын
@@FriendlyWire thanks for your response There was a wire missing which was not connected,now it's working
@FriendlyWire
@FriendlyWire Ай бұрын
@@MAFIAGAMING-pn6se Perfect, I am glad it's working now! Which wire was it?
@MAFIAGAMING-pn6se
@MAFIAGAMING-pn6se Ай бұрын
@@FriendlyWire led common pin is connected to R3(Resistor) and then resistor is connected to ground,but I have to connect led common pin to ground separately after that it starts working 🙂
@howitworks-anmolshastri2259
@howitworks-anmolshastri2259 Ай бұрын
What are the alternatives to CD 4081?
@FriendlyWire
@FriendlyWire Ай бұрын
You can use any AND gate in the CMOS family. I used the CD4081 because it has two inputs, but you could use CD4073 (3 inputs) and just tie one permanently to VDD. But the CD4081 is the best choice.
@khaledhoubani9699
@khaledhoubani9699 2 ай бұрын
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.
@FriendlyWire
@FriendlyWire Ай бұрын
Thank you for the question! It sounds like you could do this with a simple counter, like the CD4017 ( kzfaq.info/get/bejne/eMCagpWF2rmWhp8.html ) and some extra circuitry. Do you know if you want to use a microcontroller or not?
@Amin-py6tl
@Amin-py6tl 2 ай бұрын
what a great video thank you nerd
@FriendlyWire
@FriendlyWire 2 ай бұрын
Haha sure thing :)
@tiempoveganoprovida2247
@tiempoveganoprovida2247 2 ай бұрын
No se puede hacer sin microcontrollers...???? No me gustan los microcontrolers... odio todo lo digital
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you for the question! I know, using microcontrollers can be a bit scary. On this channel I try to help beginners to lose that fear and give it a try :-) But of course you don't have to use microcontrollers, if you don't want to. For touch sensors, there are ready-built modules. Just search for "TTP223B touch sensor" and you will find ready-made modules. But if you want to build something yourself, there is also a microcontroller-less version that I found here: kzfaq.info/get/bejne/qd5jeJmHspbJaWQ.html . I have not built this circuit myself, but it looks like it makes use of a similar principle. Let me know if that helps, and thank you again for your question! Have a great weekend! :)
@tiempoveganoprovida2247
@tiempoveganoprovida2247 2 ай бұрын
@@FriendlyWire aaaah... ok... muchas gracias..!!! Tomare nota... estaba buscando un sensor capacitivo que pueda armarse con componentes simples... gracias por los datos... Saludos y buena suerte...!!!
@FriendlyWire
@FriendlyWire 2 ай бұрын
@@tiempoveganoprovida2247 Happy to help, and good luck to you, too! :)
@ihadadream-itsgonenow
@ihadadream-itsgonenow 2 ай бұрын
1st electronic "article" I looked at in 18 years. Immediately I new I was listening to a good lecturer. Thanks ! Well done. What I was looking for is a digital readout 0 to 360 degrees. The knob had to be attached to a pointer on a compass rose. I guess one needs to add BCD for 3.5 segment display. Can that pic do it ?
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you, I am glad you liked the video! If you want to resolve the position in an absolute way then you need an "absolute" rotary encoder. These have more outputs than just A and B, of course, because they need to resolve the whole angular span. But I am not sure if that is always necessary: if you don't need the full 360 degrees, you could also use a potentiometer and measure the voltage at the wiper with a good analog-to-digital converter. Alternatively, you could use a gear with a 2:1 reduction to map 360 degrees to 180 degrees on the potentiometer. What is your target resolution for this project?
@ihadadream-itsgonenow
@ihadadream-itsgonenow 2 ай бұрын
@@FriendlyWire Thanks for answering. I have created a web app. It converts the shadow azimuth obtained from a shadow stick (to be your potentiometer turning "cylindrical knob") at center of a 0 to 360 degrees azimuth dial (azimuth angle is from 0 degrees to shadow) to an associated target azimuth. 0 degrees on the dial does not necessarily meaning north pointer but any required azimuth as I turn the cardboard dial I actually cut out a pointer above the 0 degrees It's an upsidedown marker or teardrop I WANT YOUR IDEA TO DISPLAY THE TARGET AZIMUTH AS YOU CHANGE THE SHADOW WITH THE POTENTIOMETER (OR OTHER SOLUTION OF YOURS) THEN YOU HAVE A SHADOW SUN COMPASS ! (make nice plastic toy with display) I have an improved web app that I call SHARKY SHADOWS for shark spotting (and flares and drowning people etc) I learnt long ago you cannot be a PC OR PHONE programmer AND a microprocessor programmer at the same time, but I can help anyone who attempts it with atleast some javascript guidance. OK, the pic cannot really do all the calculations, I guess.
@Kieran_McNally
@Kieran_McNally 2 ай бұрын
Just found the channel. Well done!
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you so much, Kieran, much appreciated. Have a great weekend!
@djt3934
@djt3934 2 ай бұрын
hello i have an issue, i am following this project exactly as the video shows, but instead of a 16f627 im using a 628. which from what ive seen online are basically the same. my issue is that the led is turning on, however it is not flashing.
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thanks for your interest and for your question! When you set up the project etc. did you select the PIC16F28A as a device?
@djt3934
@djt3934 2 ай бұрын
@@FriendlyWire yes i selected PIC16F628, maybe this issue is something to do with the internal clock?
@FriendlyWire
@FriendlyWire 2 ай бұрын
@@djt3934 Yes, it could be that. Can you send me your code to my email (at the bottom of www.friendlywire.com) and I will have a look at it :)
@simonyovino2126
@simonyovino2126 2 ай бұрын
Thanks! Very helpful
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you, Simon, much appreciated! :)
@_LIMH_
@_LIMH_ 2 ай бұрын
Thanks!
@FriendlyWire
@FriendlyWire 2 ай бұрын
Much appreciated, thank you, Brandon!
@_LIMH_
@_LIMH_ 2 ай бұрын
Thanks!
@FriendlyWire
@FriendlyWire 2 ай бұрын
Wow, thank you so much much, Brandon!
@marounn-ao4014
@marounn-ao4014 2 ай бұрын
how to change the code?
@FriendlyWire
@FriendlyWire 2 ай бұрын
Good question! Because this circuit does not use any microcontroller, the code is fixed and cannot be changed. If you want to change the code, you have to change the circuit. Have a look at the companion article on my website: www.friendlywire.com/projects/code-lock/ . In this article I explain how the schematic works, and after reading it you will have a pretty good idea of how you can change the code :) But if you are building this circuit and have the pushbuttons in a separate location, a simple way to change the code is this: leave all wires unchanged, and just move the location of the physical pushbuttons around. For example, switch the location of pushbutton A and C on your keypad, and all of a sudden it looks as if the code has been changed. Let me know if this helps or if you have additional questions, and thanks again for your interest & for your question! And, most importantly, have fun with electronics!
@marounn-ao4014
@marounn-ao4014 2 ай бұрын
Man!! the article is so helpful... thank you!
@FriendlyWire
@FriendlyWire 2 ай бұрын
@@marounn-ao4014 I am glad it helps! If anything doesn't make sense please reach out via email, I will do my best to help out. You can find my email at the bottom of www.friendlywire.com :)
@talha_abbas
@talha_abbas 2 ай бұрын
Hi, Great video. One Question, on which software did you make the schematic circuit
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you! I use Eagle to make the schematics (no real reason, I just like how they look like) and then I animate the squiggly lines by hand by drawing onto the schematic with GIMP and then superimposing those lines on top of it.
@talha_abbas
@talha_abbas 2 ай бұрын
@@FriendlyWire Thanks A lot for this brief comment, I have my DLD Project presentation next week, saw your designs and it caught my attention. Amazing ❤️
@FriendlyWire
@FriendlyWire 2 ай бұрын
@@talha_abbas Happy to help, and good luck for your presentation! :)
@hemanthdevaraj1991
@hemanthdevaraj1991 2 ай бұрын
Thank you for neat and clean explanation, i got better understanding, please keep up the good work like this!
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you, Herman, much appreciated! I recently moved so I have to wait until I can film the next video, but I have already planned a lot of new videos :)
@jozefsoucik3115
@jozefsoucik3115 2 ай бұрын
10:55 part about decoding direction deserves slower and more repetitions ...because it is the most important part of not understanding principle. But overall great video
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you for your feedback! :) Yes, it could use more time, I agree with you. Sometimes it's hard to decide for me how much detail to put in the video. For this reason I always write a companion article to each video, which usually has more details. You can check it out here: www.friendlywire.com/tutorials/rotary-encoder/#ch7 Let me know if it makes sense or if you have questions, I am happy to help!
@nevales
@nevales 2 ай бұрын
I'm 53and i will learn. It was my first choice but was not able to get to decide.
@FriendlyWire
@FriendlyWire 2 ай бұрын
It's never too late to learn something new! :-)
@SNStuart
@SNStuart 2 ай бұрын
Hi I love you videos. But did you do some video on the pic 10f200. I thought I saw some on your channel. Thank you again
@FriendlyWire
@FriendlyWire 2 ай бұрын
Hi Stuart, thanks for your kind words! Sorry, I have no videos on the PIC10F200. The chips I use most frequently are the PIC16F1455, PIC16F627A, and the PIC16F883.
@ChandrashekarCN
@ChandrashekarCN 3 ай бұрын
💖💖💖💖
@FriendlyWire
@FriendlyWire 2 ай бұрын
Glad you liked the video! :)
@yamitokyoo
@yamitokyoo 3 ай бұрын
"It activate it like Minecraft piston." Lol, that's fun. I am amaze by this presentation. I am frustrated in understanding this because mine doesn't work and I am switching from 74HC165 to CD4021 shift register due to it's lack of information to fix that or do that shift register and it is just annoying.
@FriendlyWire
@FriendlyWire 2 ай бұрын
I am glad you liked the video! Yes, it can be very frustrating... Sometimes it helps to just have the shift register, with LEDs at all outputs, and pushbuttons at the input pins (with debounce capacitor and pulldown/pullup resistor) to check everything step by step. Have you tried that? Let me know if this helps. If not, I can explain more. Don't be discouraged by this. It is a normal experience, and I have had similar experiences, too. I almost gave up many times. But I know you can do this :)
@yamitokyoo
@yamitokyoo 2 ай бұрын
@@FriendlyWire I actually did it. I didn't know 'shiftIn()' function actually works but it is quite tricky at timing. I just keep on believing on it that it'll work until it did and made me so happy. Also, for people reading this I don't recommend using breadboard I recommend soldering it in a temporary soldering board because breadboard can have a chance of loose connection of the resistors causing it to read different.
@FriendlyWire
@FriendlyWire 2 ай бұрын
​@@yamitokyoo I'm glad that it works now, congratulations! Awesome job, and thank you for sharing!! Yes, the timing can be a bit tricky, in the sense that if you do the clock pulses too quickly it may be too fast for the shift register. This is why I run these examples here at 4MHz (effectively 1MHz with PICs) which is slow enough so we don't have to worry. I am glad you got it working on a PCB! I like breadboards because they are so flexible, but if you get a bad breadboard it can be extremely frustrating because of loose wires/bad connections. Glad it worked out! :)
@hemashri
@hemashri 3 ай бұрын
this tutorial is great. Thanks.
@FriendlyWire
@FriendlyWire 2 ай бұрын
Thank you so much, glad you like it!
@engr.ziyana.hameed1421
@engr.ziyana.hameed1421 3 ай бұрын
Hi, My Name is Ziyan an Electronic Instructor from Sri Lanka, you are explaining great, All the best.
@FriendlyWire
@FriendlyWire 2 ай бұрын
Ziyan, thank you so much for your comment, it made my day! All the best wishes from Germany!
@mirkogiglioli1682
@mirkogiglioli1682 3 ай бұрын
Clever management of unexpected A&B status. As always, smart filters are the success key. Thanks
@FriendlyWire
@FriendlyWire 3 ай бұрын
I would love to claim that I came up with the algorithm, but I did some research and found the one I presented in the video online :)
@divitrajgogia4909
@divitrajgogia4909 3 ай бұрын
Great video, super helpful!
@FriendlyWire
@FriendlyWire 3 ай бұрын
Thank you, glad you find it useful! :)
@divitrajgogia4909
@divitrajgogia4909 2 ай бұрын
@@FriendlyWire don't stop making beginner friendly tutorials. I am trying to replicate and learn :)
@FriendlyWire
@FriendlyWire 2 ай бұрын
@@divitrajgogia4909 Comments like your mean a lot, and I don't have any plans to stop anytime soon. I just moved recently so I am still getting set up in the new place. :) Thank you for your kind words, and have a great Sunday!
@ANCHALCHAUDHARY-nk6uv
@ANCHALCHAUDHARY-nk6uv 3 ай бұрын
Do i really need to use Pickit 3, can't I directly dump the code from pc to microcontroller
@FriendlyWire
@FriendlyWire 3 ай бұрын
You need some sort of device for that. There are other options out there, including kits that use the serial connection from back in the day, but I find the PICkit3 or similar devices to be the easiest choice.
@Gideon_Judges6
@Gideon_Judges6 3 ай бұрын
One minor nitpick, ASCII is only 7-bit, not 8-bit. Some systems had so-called "Extended ASCII" character sets, but they were not portable and often had different language characters for localization.
@FriendlyWire
@FriendlyWire 3 ай бұрын
Thank you, good to know! :)
@zame2476
@zame2476 3 ай бұрын
Würde sowas auch ohne MCU funktionieren? Mittels Decoder IC der so
@FriendlyWire
@FriendlyWire 3 ай бұрын
Ja, das sollte auch funktionieren, ein paar Flip Flops sollten reichen :)
@epluribusunum6622
@epluribusunum6622 3 ай бұрын
I'm going to build a binary clock with this
@FriendlyWire
@FriendlyWire 3 ай бұрын
I would love to see it, make sure to share a photo and tag me :)
@hemashri
@hemashri 3 ай бұрын
Your explanation above is great. thanks.
@FriendlyWire
@FriendlyWire 3 ай бұрын
Thank you very much, I am glad you like it! :)
@isdiagnostic.software
@isdiagnostic.software 3 ай бұрын
How to calculate hex for using km change odo meter
@FriendlyWire
@FriendlyWire 2 ай бұрын
Hi! I am not sure if I understand your question, can you elaborate?
@NasirKhan-jl2sn
@NasirKhan-jl2sn 3 ай бұрын
any video for dspic30f2010
@FriendlyWire
@FriendlyWire 2 ай бұрын
For now I will stick with PIC microcontrollers :)
@NasirKhan-jl2sn
@NasirKhan-jl2sn 3 ай бұрын
hi