I'll look into it as that's something I'd like to do, thanks!
Posts made by zeeman
-
RE: CoreS3 with 7 external buttons
-
RE: CoreS3 with 7 external buttons
Just an update that the PbHub worked a treat, I plugged 3 of the dual buttons in and two single key buttons, and by including the library in the GitHub repository I was able to get the digital value for all 8 buttons simultaneously.
Thanks again for your help.
-
RE: 3D printed M5Stack protective carry case
Thanks for sharing that, will definitely print it!
-
RE: CoreS3 with 7 external buttons
Great, thank you! I have purchased that and should get them in the next few days. Either way, your help has been great and I'm looking forward to getting it all setup.
-
RE: CoreS3 with 7 external buttons
Thanks for your reply and thoughts. The resistor ladder is an idea and the one I had read about. I'll give that one a go.
For the arcade style buttons, can I ask if you were suggesting something different to the M5stack units available?
-
CoreS3 with 7 external buttons
Hi all - I'm looking to put a CoreS3 into an enclosure where the touchscreen can't be used. The enclosure would also have 7 momentary buttons connected to the CoreS3.
I'm looking for advice on how I could run 7 buttons connected to the CoreS3.
I'm open to adding modules and units. I've ordered the single and dual button units as well as the hubs, but have not received them yet. I also have a set of generic 4-pin momentary buttons and I've seen articles whereby the buttons can be wired in series with resistors between each button and detect the voltage.
I don't need to detect simultaneous button presses or multiple button presses.
Any advice would be appreciated!
As a side note I'll also be connecting a rotary encoder to the CoreS3, though this isn't related to the button functionality.
-
HMI module with M5Stack Basic V2.7 - Grove Port C
I had my wires plugged into pins 16 (RX), 17 (TX), and Ground on the M5Stack Basic V2.7 for some serial communication with a camera lens motor. This was working fine when I setup Serial2 with:
Serial2.begin(115200, SERIAL_8N1, 16, 17);
I have attached the HMI module to the M5Stack Basic V2.7 and I've soldered my wires to a grove cable utilising the white (for RX), yellow (for TX), and black (for Ground) with red being unused. I have plugged this grove cable into Port C on the HMI module (as I understand it's for UART communication). According to the HMI documentation the RX should be pin 16 and the TX should be pin 17 on the M5Stack Basic, which matches what I had coded originally (Image showing the pin allocations here https://shop.m5stack.com/cdn/shop/products/10_c6822166-63d0-4fd9-8ec4-371a090d6177_1200x1200.webp?v=1680240342).
However, my code does not work now. Am I missing a step? Do I need to do anything differently in my code?
I saw the HMI example code on the GitHub repository (https://github.com/m5stack/M5Unit-HMI), however that example was for the buttons and rotary encoder which I'm not using for the time being (so I haven't included the MODULE_HMI.h/cpp files).
Any help would be appreciated as I'd like to the the grove connector rather than individual pins. Thanks!