UA-cam is a million times better than any silly TV show, thanks to people like you. Please don't stop educating! Respect and best wishes from Lithuania
I look forward to your videos. They make me smile... and they always make me think. Then I want to experiment with what you have shown me!Thank you. :o)
When do you do some further experiment on this rotary encoder as you say in the video? I think you have forgotten that totally :) It would be nice to make a practical rotary encoder with a small footprint.
Yes, this type of encoder is forgotten, somehow. Too many other projects have higher priority, now. The working principle is simple, so if you have an application in mind, it should be no big deal to adopt it for your needs. A software example is part of the documentation on my pages: homofaciens.de/technics-base-circuits-encoder-disc-2_en.htm
@@HomoFaciens Ok. Maybe using SMD resistors, a plastic disc, and a wider metal part soldered to the end of the resistors to give longer period of contact and glue them to the plastic disc under them. I think that would make a small footprint rotary encoder disc.. needs only a way to make the contacts to these parts over them. More thinking needs :)
Your wish is my command! My series currenly consists of three chapters: homofaciens.de/technics-base-circuits-encoder-disc_en.htm homofaciens.de/technics-base-circuits-encoder-disc-2_en.htm homofaciens.de/technics-base-circuits-transmissive-optical-sensors_en.htm
A low pass could be used for debouncing. Consider that this sensor creates three different potentials per revolution, thus a simple Schimtt trigger won't work.
You still need debouncing (it's done by software). Caused by contact bounce the reading could be anything between the minimum output voltage of the divider and +5V. For example if the disc is at the 560 Ohms position and contact bounce occurs, the reading could also be 2.5V or 1.79V for a point in time.
By reading the position as I did in the sample code on my pages and control your motor as you would do with a "normal" encoder. Keep in mind that analogRead is clearly slower than digitalRead, thus you won't get that many readings per second as with a normal encoder.
UA-cam is a million times better than any silly TV show, thanks to people like you. Please don't stop educating! Respect and best wishes from Lithuania
...I can't stop as long as so many ideas in my brain are still waiting to be turned into videos.
Regards from Germany.
dude it's so cool you release your videos both in english and in german.
Thank you.
Neat! i love the "crude" feel of your devices.
Thanks! "Crude" devices are usually simpler to copy by beginners.
I always learn something useful from your videos, thanks for taking the time and effort to share your knowledge with us, keep them coming!
One of the best channels on UA-cam!
Hallo Norbert,
immer bestes neues videos. Ich danke Dir.
Stanley
fantastic. it is very interesting how you take complicated concepts look so easy and easy to replicate. thanks
Thanks for this very usefull explanation using resistors determining the direction of rotation. Wow
I could thanking you on each video! Thanks you very much for the knowledge!
thank you very much😊
love your videos. very educating...
I look forward to your videos. They make me smile... and they always make me think. Then I want to experiment with what you have shown me!Thank you. :o)
really great tutorial
Awesome video.... thank you !
When do you do some further experiment on this rotary encoder as you say in the video? I think you have forgotten that totally :)
It would be nice to make a practical rotary encoder with a small footprint.
Yes, this type of encoder is forgotten, somehow. Too many other projects have higher priority, now. The working principle is simple, so if you have an application in mind, it should be no big deal to adopt it for your needs. A software example is part of the documentation on my pages:
homofaciens.de/technics-base-circuits-encoder-disc-2_en.htm
@@HomoFaciens
Ok. Maybe using SMD resistors, a plastic disc, and a wider metal part soldered to the end of the resistors to give longer period of contact and glue them to the plastic disc under them. I think that would make a small footprint rotary encoder disc.. needs only a way to make the contacts to these parts over them. More thinking needs :)
thank for knowledge !!!
Can you please make a video on how to use rotary encoders which are found in the scroll wheel of a computer mouse.
Your wish is my command! My series currenly consists of three chapters:
homofaciens.de/technics-base-circuits-encoder-disc_en.htm
homofaciens.de/technics-base-circuits-encoder-disc-2_en.htm
homofaciens.de/technics-base-circuits-transmissive-optical-sensors_en.htm
I've watched all your above 3 videos and they are good and educating.
Wow, very nice. If you don't mind me asking - why do you not have a patreon page?
I will start a crowdfunding campaign on June 6th - stay tuned!
Would a capacitor or Schmitt trigger effectively do the same as debouncing the switch in the code?
A low pass could be used for debouncing. Consider that this sensor creates three different potentials per revolution, thus a simple Schimtt trigger won't work.
nice, what are you using
for an oscilloscope?
This one:
ua-cam.com/video/haGg4iS-pFw/v-deo.html
nice
So you don't need debouncing when there are 3 different resistor, knowing where you are?
You still need debouncing (it's done by software). Caused by contact bounce the reading could be anything between the minimum output voltage of the divider and +5V. For example if the disc is at the 560 Ohms position and contact bounce occurs, the reading could also be 2.5V or 1.79V for a point in time.
Ah, ok thankyou!
How can i use this for encoded dc motor project?
By reading the position as I did in the sample code on my pages and control your motor as you would do with a "normal" encoder. Keep in mind that analogRead is clearly slower than digitalRead, thus you won't get that many readings per second as with a normal encoder.
@@HomoFaciens thnk u sir
Will it be easier to use a rotary potentiometer?
But with that you can't detect continuous rotation.
Just remove the metal base cap, this will allow the potentiometer to rotate continuously.
Yes, that would work in principle, however you can't detect the direction of movement whenever the wiper is at the gap.
can uae this code on hi speed rotation?
The question is: Where does "High speed" start?
You should make use of the hardware interrupt pins to get the best performance.
4:55 5V*2200Ω/3200Ω=3.4V
My bad! Wrong equation, but the correct result ;)
Thanks for pointing that out, unfortunately UA-cam videos can't be edited...
love your videos simple and educational keep it up! I actually figured it out from the two previous equations you have on the vid!
...good luck that not all of them were wrong ;-)
Lovely German accent.
...the best English I can offer ;-)
HomoFaciens, it's nice. I love German language and German accent :)
Macher!