-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to Adress Tally with Hardware #37
Comments
I don't have a m5stickC or Atom matrix myself, but had a similar idea to display tally number on the display, and have the button scroll through the tally numbers. They are based on the ESP32 chip, so my code should work on them. Only the display and button code needs to be added. |
Any news about this? |
Not much as I as mentioned don't have a m5stack unit with a display. On the D1 mini the option with dip-swithces isn't possible, as there aren't enough pins left attach them to, and that's besides having to somehow make the use of it optional. |
You can send me the code?
Enviado do meu iPhone
… Em 5 de jul. de 2021, à(s) 12:34, Aron het Lam ***@***.***> escreveu:
Not much as I as mentioned don't have a m5stack unit with a display.
On the D1 mini the option with dip-swithces isn't possible, as there aren't enough pins left attach them to, and that's besides having to somehow make the use of it optional.
Also as it doesn't have a display, scrolling through numbers with a button press is a bad guessing game. I made a new branch with the possibility to add a button to pin D3, which will count up the tally number for each press (short to ground).
I don't think it will be pleasent to use, but you can try it out. Also, at the moment it doesn't save the changes on button presses, so it resets when rebooted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Here's a link to the branch https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/tree/tallyNo_btn |
Thank you from Brazil!!
Em ter., 6 de jul. de 2021 às 05:30, Aron het Lam ***@***.***>
escreveu:
… Here's a link to the branch
https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/tree/tallyNo_btn
Click the green Code button and select "Download ZIP"
[image: IMG_20210706_102825.jpg]
<https://user-images.githubusercontent.com/5564813/124568303-0f8de800-de45-11eb-919f-a3da8ff918a8.jpg>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVUQJINCD6HKKKYHKV2HJDTWK5IRANCNFSM42EIMHZQ>
.
|
Thanks for the previous help.
Using the d3 button worked perfectly.
I would like to know how to find the tally number that I selected in the
web interface to show on the serial monitor so I can show it on an oled
display. I found tallyNo; but I don't know how to use
Serial.println("xxxxxxxx " + ?(tally number)?().toString()); .
Can you help me? when it's ready my code with OLED and button I'll give
you due credit.
|
Seems like somethings missing from your email here on GitHub. It's better if you post the comments on GitHub directly 🙂 |
I have been trying to learn arduino for a very long time... and on the original board, the pin could be both an input and an output. I could be wrong. Contacts D6, D7, D8 are free. could they be used? There is nothing wrong with a DIP switch, it is still used on lighting fixtures today. only there are 512 channels, and nothing, everyone figured out where to click)) |
Correct, the pins can be both in- and output, but only pin D3 and D8 are free, and D3 is even used by the push-button solution presented in this issue. To cover the 41 possible input channels some ATEMs have, 6 dip-switches are needed. So sadly it's not possible to make a general enough solution with the use of dipswitches. But since you've worked with Arduino before, you can modify it for your needs. You can use the following snippet (not tested). It reads each of the pins and converts it into a single number by left-shifting ( int dipTallyNo = digitalRead(dip_1_pin);
dipTallyNo = dipTallyNo | (digitalRead(dip_2_pin) << 1);
dipTallyNo = dipTallyNo | (digitalRead(dip_3_pin) << 2);
settings.tallyNo = dipTallyNo; The simplest would probably be to change the pins used for LED 2 to INPUT, and comment out lines with I hope that gets you going :) |
For a changing Enviroment it would be nice to address the Tally by Hardware.
For example with 5 Dipswitches in the Style that DMX Lighting Fixtures were addressed.
That would give the Possibility to Change 31 Inputs verx Quickly.
The text was updated successfully, but these errors were encountered: