I'm got a problem in the sketch "3-tandt4-rotary-encoder-infinite-functions.ino". My encoder input is only counting backwards (both clockwise and anti-clockwise decrement and will not increment). The code looks ok to me (++ right, -- left). Any insight as to why this might be the case? Thanks for the upload. This is my first foray into single pin data strips, so I'm overly used to addressing colors individually and it's nice to have some clean, well commented code to play around with.
@IonutFedaceag4 жыл бұрын
First of all check your connections, but if it's counting in one direction but not in the other direction, i think that the rotary encoder has some connections problems internally. Try using another one and see if the problem persist. Your welcome for the code and sorry for the delayed response! ;)
@pitilay92484 жыл бұрын
Very nice ❤️❤️❤️👍👍👍.. I'm like it more.
@IonutFedaceag4 жыл бұрын
Thanks! ;) :)
@craigrobinson68123 жыл бұрын
Is it possible you take requests for codes or take on commission?
@aadilamin76094 жыл бұрын
Hello sir , can you make the RPM led gauge? If yes then please make a video on that.
@mitabhowmik52874 жыл бұрын
Sir is there any way to control the effects (patterns) of WS2812B LEDS with radio frequency (using NRF24 module). With each button alloted for each pattern. If it is possible using only 1 Arduino nano....please help me out. Please! Your explanations are crystal clear. Please sir.
@IonutFedaceag4 жыл бұрын
The RF modules like NRF24, are just to make a wireless bridge to send data, so yes you can use them for that, but depending on your needs and RF module you will need two controllers. There will be in the future a video about rotary encoders over RF, but you can also see the code from this clip kzbin.info/www/bejne/paSUhHSMpNV9f9E .
@mitabhowmik52874 жыл бұрын
@@IonutFedaceag Thank you so much sir.
@IonutFedaceag4 жыл бұрын
@@mitabhowmik5287 With pleasure! ;)
@BRUXXUS4 жыл бұрын
@@IonutFedaceag This is exactly the same kind of thing I'm hoping to do with a project of mine. (the controlling ws2812b from one arduino to another using the NRF24 module) I hope you're doing well, and looking forward to new videos. :D
@jommeldockx17933 жыл бұрын
It's possible by using irq pin as interupt.
@scottiusnevious51434 жыл бұрын
I just got some leds to try out the fast led library. Wish me luck.
@IonutFedaceag4 жыл бұрын
Well, in that case, good luck and happy learning... and coding! :) ;)
@nanoproject5104 жыл бұрын
@@IonutFedaceag I can increase the number of LEDs, but many cases are empty kzbin.info/www/bejne/e3LUYWuljrWYr5I I'm not familiar with your CHSV Code, but familiar with the RGB code 😁
@thematrixeyes77764 жыл бұрын
@@nanoproject510 nice.... 👍
@MHTSAPAS3 жыл бұрын
I get Function Reset! flashing on the screen every second with nothing further working. i checked all connections and they seem to be fine. Any ideas?
@drumminjeff713 жыл бұрын
I have the same issues. I think it might have something to do with the input pin choices I'm making. I'm also using NodeMCU. At 1 timeI have the oled working And the board wasn't constantly resetting but the rotary still wouldn't work. The push button on the rotary was working though after I added the pull up resistant.. Now I can't even get it to do that and it is resetting every couple seconds.
@MHTSAPAS3 жыл бұрын
@@drumminjeff71 I’ll give it another go this weekend but as of now, mine went from resetting every second or so to switching between modes like crazy. It’s odd because I can load a different file with the exact same setup and it all works well. I’ll keep you posted.
@drumminjeff713 жыл бұрын
I actually got mine working now. The issue was with the is with the interrupt routine. Since I'm using a node MCU it is a little different and I've never done that before. The ISR function must have the ICACHE_RAM_ATTR statement before it in the code and I didn't know that.
@drumminjeff713 жыл бұрын
Are you using the capacitors? I don't have those installed and the rotary is a bit glitchy. Maybe that's what's causing yours to jump around??
@MHTSAPAS3 жыл бұрын
@@drumminjeff71 I am actually but they’re not completely necessary for the test phase. I’m running a 1k for the LED’s and 1’s as per the schematic for the potentiometer as per his build. As per my build without the OLED, I do not need them at all. I’m mainly doing this to add lighting under desks and other places so I decided to just do away with the screen altogether and just stick with the Nano. A 5V, 60 RGB LED strip and the potentiometer. Upon initial power it is off. One click will light just the first led and the potentiometer will move the light source left and right along the 60 LED strip (one LED on at a time only) Second click will light up the whole strip and the potentiometer will cycle through all the different color modes so you can set your color and just leave it at that or change it as necessary. Third click runs 10 LEDs of different colors and they scroll back and forth the LED strip. Fourth click turns the LED’s off. Rinse and repeat. All this does not need a separate power source. Just connect the strip to the 5V pin, GND and the pin of your choice and you’re set. If you don’t care for the OLED, this way works wonders. I just thought it would be a nice addition but gave up due to limited time and knowledge to find out what was wrong.
@boopeshkumarprabhakaran3 жыл бұрын
Can you share codes please
@mezeidragomir4 жыл бұрын
Salut. Cum pot să dau de tine? Ți-am trimis mail dar nu cred că mai e de actualitate.
@IonutFedaceag4 жыл бұрын
Salut, Pe mail e ok, dar nu am avut timp sa-ti raspund ca am tot fost pe drumuri saptamana asta. Cum adica nu mai e de actualitate? Ai schimbat planul de bataie? Trimite-mi tot mail si gasim o solutie...
@mezeidragomir4 жыл бұрын
@@IonutFedaceag Ai un mail de la mine. Credeam că adresa ta de mail nu mai e de actualitate. La asta mă refeream.
@IonutFedaceag4 жыл бұрын
Aaaa, adresa este, doar timpul e scurt... :)
@mezeidragomir4 жыл бұрын
@@IonutFedaceag Ok 😊 Aș aprecia mult dacă ai putea să-mi dai un răspuns, fie el cît de scurt, la mail-ul pe care ți l-am trimis.
@thematrixeyes77764 жыл бұрын
hmmmm
@IonutFedaceag4 жыл бұрын
What do you mean by "hmmmm" ? :))
@thematrixeyes77764 жыл бұрын
@@IonutFedaceag its mean KEREN, keren is amazing :))