element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum My first electronics project, and it's a BIG one
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 23 replies
  • Answers 13 answers
  • Subscribers 393 subscribers
  • Views 2996 views
  • Users 0 members are here
  • diy
  • midi
Related

My first electronics project, and it's a BIG one

cdog580
cdog580 over 7 years ago

hello everyone this is my first post and i am very new at electronics. i am a lighting designer that designs and programs lights for concerts and other events. my preferred console that i use is a grand MA2 software and i have a on pc command wing. I have always found electronics fascinating and now that i have the following issue i have decided now is a perfect time to start! here is the project:

 

i am attempting to make a replica of this fader wing extension which retail cost over $3,500 easy. for my project i need to meet the following:

 

15 x 60mm linear slide potentiometers

60 x cherry MX white switches

USB type B connection to control the hardware via midi control.

 

the things i would like to do are this:

1) prototype and ensure that the entire system is working

2) program a stand alone pcb mounted microcontroller to control the hardware and software interactions preferably without using a arduino or similar thought this may be selfish?

3) have a proper PCB and Metal housing cut so that i am able to use it on actual jobs.

my big question is this:

what do you all recommend for me as a starting point. i can do the research on the potentiometers and the buttons thought those seem easy enough. have the microcontroller listening for the voltage of the potentiometers and for the buttons to send it 5 volts but i know there is no microcontroller that will have the whole 75 inputs i will need. do i use multiple microcontrollers? how do i hook them together? is there something i am missing in this project? thank you all for any input!

 

***********************

*       UPDATE        *

***********************

 

so i have discovered that there is a arduino Mega which has 50 odd connections not the full 75 i need but if there's a way to link the two and then have one USB out to the computer this may solve my issue of lack of i/o ports and dramatically reduce the complexity of this project.

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 7 years ago +5 suggested
    Hi Chris, This is a quite ambitious project especially if you are going to try to design it yourself. The people who can design sophisticated systems usually go to school for it for years and spend most…
  • genebren
    genebren over 7 years ago +3 suggested
    Hi Chris, This is where you might use a multiplexer A multiplexer is switch that can set to select one of it's inputs and connect it to it's output The output of the multiplexer would attach to one of…
  • cdog580
    cdog580 over 7 years ago in reply to jw0752 +2
    yea i figured it was going to be a big project. making one row of them is easy enough but to make 15 sets of 5 different parts is definitely going to be a task! maybe making these into modules of 5 faders…
Parents
  • jw0752
    0 jw0752 over 7 years ago

    Hi Chris,

    This is a quite ambitious project especially if you are going to try to design it yourself. The people who can design sophisticated systems usually go to school for it for years and spend most of their lives practicing and developing their skills. Though I have been active in electronics for over 50 years I would not attempt a design from scratch like this. On the other hand there is no rule that says you have to design it from scratch. Look and see if you can find an existing design that is open source and then try to build to those design specifications. As far as the inputs there are techniques that allow a microcontroller to expand its inputs but it is not as simple as it sounds. If I were going to attempt a project like this I would start with an existing design and then I would break it into parts that i could build and test independent of one another. Next I would hook the parts together into larger assemblies and test again. One factor that will help is that there is apt to be quite a bit of redundancy so that once you understand how to build one channel you will be able to replicate the other ones. If you do try to build this I hope you share your journey with us on the element 14 forum.

    John

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cdog580
    0 cdog580 over 7 years ago in reply to jw0752

    yea i figured it was going to be a big project. making one row of them is easy enough but to make 15 sets of 5 different parts is definitely going to be a task! maybe making these into modules of 5 faders? that would only have 25 connections though again this is still a lot for a micro controller. seems like research, time, patience, and willingness to ask and learn are going to be a large part of this project. would this maybe be simplified by using something like a arduino?

     

    thanks for your help!

     

    -chris

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to cdog580

    The advantage of an arduino is that it will come with a self contained power support system, communication (programming) link, and it will have programming resources that are open source. Since I do not understand your application I can not speak to whether it will have the needed computational power and sped or not but probably. The Arduino Mega has a lot more inputs than the standard boards and may get you closer to your needs.

     

    https://store.arduino.cc/usa/arduino-mega-2560-rev3

     

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • cdog580
    0 cdog580 over 7 years ago in reply to jw0752

    basically all i am making is a rather large midi controller that send data to a computer via usb. i can map the signal that is being sent to the computer to any button on the software that i would like. i don't know if that helps. also i have found the arduino mega which has 50 something I/O s. this will let me reach the 75 i need IF they are able to be connected together so i can send all the button info through 1 usb to the computer. i am also assuming i will need a power supply of some sort inside the casing to provide power to everything including the LEDs for the buttons. so actually in theory i am going to need even more outputs because when you store data to a button it becomes brighter so i could link all leds per row in a parallel circuit but i would need outputs for them. meaning i would have to use two megas to get what i need. sorry this is me both asking a question and thinking out loud.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to cdog580

    HI Chris,

     

    Some times the Arduinos can drive small loads like an LED directly but the best procedures are to have the Arduino drive an output stage with a transistor that in turn powers the LED or other device. You will have to determine the voltages and power requirements that are needed and then have a power source that is up to the task. The Arduino itself will run on 9 volts which it regulates down to 5 volts or 3.3 volts for actual processor and board operations. It looks like each output can source 20 mA. If all outputs were doing this you would need a supply that could deliver about 2 to 3 amps to be on the safe side. Be sure to check the detail specs on the Arduino as sometimes they will limit the number of outputs that can be sourcing simultaneously because of the danger of overheating the chip. By using external output stages the amount of current needed by the processor can be lowered and over heating is no longer a concern. If your output is just a digital one and not driving LEDs or other devices this would not be a concern.

     

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 7 years ago in reply to cdog580

    You can perhaps reduce the digital IO pin count required by arranging the switches in an 8 by 8 grid. That way with 16x IO pins on the microcontroller, you can read the state of up to 64 switches.

     

    You could also perhaps use external shift registers to reduce the pin count required without going to multiple micro controllers. 

     

    Your LED's may be a bit harder though if you want to vary the brightness levels between on and off, as you are likely to want PWM enabled outputs for that (and not all digital IO is PWM enabled). Alternatively you could perhaps use pixel LED's, which would allow you to drive all 60 switch LED's from one or two IO pins.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • beacon_dave
    0 beacon_dave over 7 years ago in reply to cdog580

    You can perhaps reduce the digital IO pin count required by arranging the switches in an 8 by 8 grid. That way with 16x IO pins on the microcontroller, you can read the state of up to 64 switches.

     

    You could also perhaps use external shift registers to reduce the pin count required without going to multiple micro controllers. 

     

    Your LED's may be a bit harder though if you want to vary the brightness levels between on and off, as you are likely to want PWM enabled outputs for that (and not all digital IO is PWM enabled). Alternatively you could perhaps use pixel LED's, which would allow you to drive all 60 switch LED's from one or two IO pins.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • cdog580
    0 cdog580 over 7 years ago in reply to beacon_dave

    Interesting thought. I could do the matrix idea to cut down on the use of pins. I may still need a mega though as there are 3 sections of 5 faders where each fader has 4 3 associated buttons. The bottom row of buttons does something different.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 7 years ago in reply to cdog580

    The Arduino Mega gives you 4x hardware USARTs as well, just in case you want to replicate the functionality of the DMX512 XLR outputs.

     

    Note that only 15 pins of the Mega 2560's IO can be assigned to PWM use to allow you to vary LED brightness. However as previously mentioned you could perhaps use pixel LEDs which have built in PWM control instead.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cdog580
    0 cdog580 over 7 years ago in reply to beacon_dave

    The manufacturer has had issues with Chinese replicas stealing parameters which allow the lights to be controlled. That’s why I only want to make a midi controller because I like and respect the manufacturer and I don’t really need more parameters

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 7 years ago in reply to cdog580

    Just a passing thought but are the faders on the fader wing motorised (perhaps reflecting the cost) ?

     

    If so, then you will likely need an additional couple of outputs to drive an H-bridge motor controller along with an additional input for the capacitive touch sensing (although I guess the touch sense could disable the H-bridge directly if you aren't using interrupts).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • cdog580
    0 cdog580 over 7 years ago in reply to beacon_dave

    i was thinking about putting in motorized faders but then i realized how many I/O pins i am using. the one that i am replicating does not have motorized fader, though the ones for their mainstream consoles do. the reason for the high price isn't the hardware as much as it is parameters. in order to control the light you need their hardware that contains a special handshake which allows the piece of hardware to "unlock" parameters. a parameter in the software could be something like color, pan, tilt, intensity, etc. that is where the big money comes into play. i own a command wing which already gives me 2048 parameters which is more than plenty for my application. on their lite console they have 15 faders and "executors" which are very handy to have hardware buttons to control them. that's kinda where this whole idea started was i just wanted to have physical buttons to press.

    their console fader wing has motorized faders but this piece of hardware is $7,600

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube