Are Rotary Encoders & Buttons Necessary?

Discussions related to MegaDrum Hardware

Are Rotary Encoders & Buttons Necessary?

Postby Stephen Spurlock » Tue Dec 06, 2016 6:17 am

I purchased a MegaDrum kit form Dmitri. I am in the middle of reworking my MegaDrum and adding a bigger color LCD. In the process a few wires pulled out of the PCB board for the button and encoders. As I was looking at it I wondered if I could forget about them. I never use the button or encoders. I use MDM only. I have done some looking on the forum and older posts say that you need the bottom button to do firmware updates. Is this still true? I have used MDM many times to update the firmware without using a button. I just want to make sure that I am not missing something. Thanks.
Stephen Spurlock
 
Posts: 18
Joined: Wed Jul 09, 2014 3:25 am

Re: Are Rotary Encoders & Buttons Necessary?

Postby dmitri » Tue Dec 06, 2016 11:15 am

In case of an interrupted/failed firmware upgrade you must be able to use LEFT button to force MegaDrum into bootloader mode. Everything else can be done from MDM.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Are Rotary Encoders & Buttons Necessary?

Postby Stephen Spurlock » Fri Dec 09, 2016 9:52 am

I decided to just add the left button. I did some research and concluded that you couldn't do that. (correct me if I am wrong) So I purchased 4 momentary switches which are "normally open - NO" (only complete|short the circuit when the button is pushed). I connected them and they don't seem to work. I followed the attached schematic. I have the MegaDrum STM32 ver.3 board. I know that diodes are directional and the black line is the negative side. Any suggestions?
You do not have the required permissions to view the files attached to this post.
Stephen Spurlock
 
Posts: 18
Joined: Wed Jul 09, 2014 3:25 am

Re: Are Rotary Encoders & Buttons Necessary?

Postby dmitri » Fri Dec 09, 2016 10:42 am

Stephen Spurlock wrote:I decided to just add the left button. I did some research and concluded that you couldn't do that. (correct me if I am wrong)

Yes, you are wrong, you can add just one button?
So I purchased 4 momentary switches which are "normally open - NO" (only complete|short the circuit when the button is pushed). I connected them and they don't seem to work. I followed the attached schematic. I have the MegaDrum STM32 ver.3 board. I know that diodes are directional and the black line is the negative side. Any suggestions?

Broken buttons?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Are Rotary Encoders & Buttons Necessary?

Postby Stephen Spurlock » Fri Dec 09, 2016 10:50 am

Ok, I misunderstood the post on: http://www.megadrum.info/forums/viewtopic.php?f=3&t=2638&start=10
___________________________________________________________
dmitri wrote:
Just the button LEFT is needed for this.

airflamesred:
Yes, only the LEFT button is needed, though you will have to do a considerable amount of work to separate that button out.

Can I request that the 'auto resize' be savable as part of the mds?
____________________________________________________________


Anyway, going forward with my four buttons that I have now purchased.

I have checked the buttons with my multimeter on the continuity setting. When the button is pushed there is a short circuit. I based how I read the schematic for the diode off the attached image. Is that the correct direction for the diode?

Since I am not using any encoders I just leave the "encoders" pin headers empty right?

I am not really sure what could go wrong.
You do not have the required permissions to view the files attached to this post.
Stephen Spurlock
 
Posts: 18
Joined: Wed Jul 09, 2014 3:25 am

Re: Are Rotary Encoders & Buttons Necessary?

Postby dmitri » Fri Dec 09, 2016 12:15 pm

The LEFT button connects to the board without diodes.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Are Rotary Encoders & Buttons Necessary?

Postby Stephen Spurlock » Fri Dec 09, 2016 12:31 pm

Ok. I will rework it tomorrow and just have one button to see if that works. I will let you know.
Stephen Spurlock
 
Posts: 18
Joined: Wed Jul 09, 2014 3:25 am


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot] and 89 guests