A quite in-depth look at these incredibly useful chips! You could chop down on the lines by using a for loop as an example containing 4 if statements with some multiplication to figure out what each button will be depending on the first 4 bytes sent. Would be less code, but I do understand that it would not be as readable for demonstration purposes. These chips are plenty of fun indeed 😄 Thanks for the videos!
Thank you! Yes, there could have been more done in terms of code optimization. I agree that this chip is a very cool chip; it helped me in many projects where I needed a large number of I/O ports. Cheers!
i have a customized row column keypad, which I am running with 4094 and 4052, its working but i was looking for help about denounce and hold key, your video and code will help me. Good content
Hi! I really enjoy your channel, extremely interesting and thorough. It would be super interesting to see a ESP32 Bluetooth version of this. I would imagine it could be used for your camera slider and the coil winder. Again, great work!
Hi and thank you! I used ESP32 for other projects that I have not published here, but generally, it is the same code as for Arduino as long as it does not require wifi or bluetooth. I try to avoid ESP32 for now because I do not need the wireless function and I still have a lot to learn in the world of Arduino and STM32.
hey. just discovered your channel and I am truly impressed! 👍🏻 I've seen that you've made some videos with AS5600 encoder module. Have you thought about using AS5600 as MPG for a control panel? I'm currently trying to build something that uses AS5600 as a MPG, but it's going to take a while because my programming skills are not that advanced. Keep the good work going! Good luck 👍🏻👍🏻👍🏻
Thanks! I don't see the use of the AS5600 as an MPG since there is already a specific hardware for pulse generation. It is much easier to set up an MPG (like I did in some of my videos).
Hi, I just tested this code and I'm getting an error " no matching function for call to 'LiquidCrystal_I2C::begin()" Can't find anyone's code that will work with the PCF8574.
Hi! Sure, but not with a regular Arduino like the Nano or the Uno. You'll need something with native USB support. Arduinos with the Atmega32U4 chip are suitable for the task. Leonardo, Micro, Pro Micro could work for your task.
@@objection_your_honor Super, you're welcome! While the boards are on their way to you, read this article on Arduino's website: www.arduino.cc/reference/en/language/functions/usb/keyboard/ Alternatively, just Google "Arduino keystroke". There are many great tutorials out there.
Hello! Relatively new to Arduino so i was wondering if the configuration & code is compatible with Arduino Uno on tinkercad? Want to try familiarizing with tinkercad before beginning.
@@CuriousScientist No worries! Appreciate your prompt reply, however can i ask if this is compatible for Arduino Uno R3 as well, are there anything i should look out for to change in the code
@@CuriousScientist Tried it out and worked out really well! Thank you so much for the guidance and video. In addition can i ask if theres any guides if i want to further expand the ports by connecting another port expander?
Hay, in your code, you foegot lcd.init(); and lcd.backligjt(); the lcd did not light up. The keys do not work in the right order. Can you fix your code?
Hi! If I simply use the libraries, I never learn how these things works. I am aware of the different libraries, but I want to avoid them where it is possible.
Hi. My name is Vo Tan Tuyen, I come from Vietnam. Your project is very cool because it can apply to many projects. and my project also needs this part but I am not very familiar with Arduino can you show me how to print(entire string) to output an integer (without the ".00" character). My English is not good, there are mistakes, please forgive me. Thank you very much.
Hi! The easiest way is to store the number as an integer (int). Or if you want to print a float without the decimals, you just have to tell the print function. For example, serial.print(variable name, 0) will not print any decimals. Arduino has a really nice documentation, you should read it.
It does... You are just not watching the video carefully. First of all, you can see it in the demo that there are no bouncing. Second, the part that you seemingly cannot understand is that after the code detects any keystroke, it does not allow any other keystrokes to be detected for 300 ms. This makes sure that any bouncing decays and just a single button press is registered.