Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 03:05 29 Mar 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: Waveshare reset button

Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 08:56pm 03 Sep 2020
Copy link to clipboard 
Print this post

Hi folks,

My CMM2 has been "open top" since I got it, but with the imminent arrival of front and back panels I'm intending to case it up.

However I've got used to using the Waveshare's reset button when I update the firmware and to clear it when it hangs, unlike the main power toggle it doesn't cause Putty to disconnect.

Is there anything more elegant and mechanically less fragile that I can do as an alternative to soldering a couple of wires either side of the reset button and connecting them to a push button on the front panel? Is what I'm suggesting inadvisable? Why?

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 07:52am 04 Sep 2020
Copy link to clipboard 
Print this post

Connect between the reset pin on the 80-pin header and GND



Edited 2020-09-04 18:03 by matherp
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 09:50am 04 Sep 2020
Copy link to clipboard 
Print this post

  matherp said  Connect between the reset pin on the 80-pin header and GND


Thank you Peter, looks like there is something a "bit" more substantial to solder onto there.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2282
Posted: 01:20pm 04 Sep 2020
Copy link to clipboard 
Print this post

looks like you could also wire your reset switch between pins 15 (-RESET) and 16 (GND) of the JTAG connector on the waveshare module:




to avoid any soldering, you may be able to plug a 2-pin berg connector into here, provided there is enough clearance with the top of the case in place.


cheers,
rob   :-)
Edited 2020-09-04 23:21 by robert.rozee
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 02:15pm 04 Sep 2020
Copy link to clipboard 
Print this post

Thanks Rob,

There is no clearance to connect anything to the JTAG unless I solder a lead directly to it ... but there is a decent blob of solder on the underside of pin 15 so maybe I can attach to that ... don't really fancy trying to release those two 80-pin headers and remove the waveshare board though, I can be such a klutz.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 839
Posted: 05:12am 05 Sep 2020
Copy link to clipboard 
Print this post

Tom,
Sorry to be slow in responding but I have a low-tech solution on mine:
I just drilled a 2.5mm hole directly above the push-button. An up-market wooden toothpick does the job for me.
Cheers,

Andrew
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 07:31am 05 Sep 2020
Copy link to clipboard 
Print this post

  Andrew_G said  I just drilled a 2.5mm hole directly above the push-button. An up-market wooden toothpick does the job for me.


Thanks Andrew. Sounds like a good way for me to end up with a case that looks like Swiss Cheese. My motto is "Measure three times, and then still cock it up."

I've found the Waveshare is not as difficult to remove as I feared, so once I've checked that the reset works I'm just going to solder the leads to the underside of the JTAG.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3807
Posted: 03:24pm 09 Sep 2020
Copy link to clipboard 
Print this post

Despite my ample lack of talent I don't appear to have cocked it up, thanks for the advice folks.



Note that the green glow from underneath is the far too bright ready LED of my original CMM that the CMM2 is sitting on.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 07:36pm 18 Sep 2020
Copy link to clipboard 
Print this post

Thanks for the info Peter and Rob  

This is one mod I'm definitely going to implement.  I have also been running my machine open to use the reset button.

This will also be of great use for people building their CMM2 into a custom case.

Edit:Cut Down an old PC Reset Switch 2pin DuPont housing, bent the cripmed ends, and insulated them with heatshrink tube.
This will then fit into the JTAG connector on the Wavesharre board, without fouling on the case.
Its a tight squeeze, and you may ruin a few crimps to get it right.
Soldered on a small push to make switch from my parts box and fitted it in the IRX hole in the front panel.



The Case Lid Fits - just
Edited 2020-09-24 04:12 by Womble
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 06:17pm 23 Sep 2020
Copy link to clipboard 
Print this post

Reset Mod complete, see post above.

Managed to do this in an non-destructive way  
Edited 2020-09-24 04:32 by Womble
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 08:57pm 23 Sep 2020
Copy link to clipboard 
Print this post

Any Idea how to get a reset switch on a fully assembled NONE waveshare units?
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 09:26pm 23 Sep 2020
Copy link to clipboard 
Print this post

  mclout999 said  Any Idea how to get a reset switch on a fully assembled NONE waveshare units?

Looking at the photographs on CircuitGizmos website there appears to be a surface mount reset switch near to the VGA connector.  Not sure if the Micromite.org prebuilt CMM2 has this.  I only have Waveshare based boards.

If this is a reset button, you could drill a hole in the case above it and fabricate/3dprint a button to access this switch.  Suggest you pop the lid off of your CMM2 and take a look.

Hope that helps

Womble
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 07:25am 24 Sep 2020
Copy link to clipboard 
Print this post

  Womble said  
  mclout999 said  Any Idea how to get a reset switch on a fully assembled NONE waveshare units?

Looking at the photographs on CircuitGizmos website there appears to be a surface mount reset switch near to the VGA connector.  Not sure if the Micromite.org prebuilt CMM2 has this.  I only have Waveshare based boards.

If this is a reset button, you could drill a hole in the case above it and fabricate/3dprint a button to access this switch.  Suggest you pop the lid off of your CMM2 and take a look.

Hope that helps

Womble


Yes I know it is there.  I was asking about a wiring option like they where showing for the waveshare version, so I can run a switch out the front. I would like a no solder version like that.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 07:30am 24 Sep 2020
Copy link to clipboard 
Print this post

  Quote   was asking about a wiring option like they where showing for the waveshare version


RESET is pin 5 of the ST-LINK header, Gnd is pin 3, Pin 1 has a star next to it
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1081
Posted: 07:37am 24 Sep 2020
Copy link to clipboard 
Print this post

There's a reset line in that ST-LINK header, isn't there? Maybe pin 5? Plus a ground on pin 3? Switch between them should do the trick. Research more before letting the smoke out!

Edit: someone very knowledgeable typed faster than I.  :-)
Edited 2020-09-24 17:39 by vegipete
Visit Vegipete's *Mite Library for cool programs.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 07:32pm 24 Sep 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote   was asking about a wiring option like they where showing for the waveshare version


RESET is pin 5 of the ST-LINK header, Gnd is pin 3, Pin 1 has a star next to it


I DON'T have the waveshare version.  I have the fully assembled one that dose not have that header HENSE my request for an option for those that have the version I have. The previous post show the mod you are talking about witch I can not use.  I do not want to solder to my board if I can avoid it.  Maybe the next version of the fully assembled version should include a header pin addition for a reset switch extension right next to the reset button.  That would be forward thinking don't you think. Power cycling is the least best way to reset an electrical system, thermal shock and surges being the main issues for long term wear.
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1081
Posted: 09:01pm 24 Sep 2020
Copy link to clipboard 
Print this post

  mclout999 said  I DON'T have the waveshare version.  I have the fully assembled one

The fully assembled one has the ST-LINK header, which is different from the debug header on the Waveshare version.

The ST-LINK header is on the left edge, just behind the IR receiver.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 09:46pm 24 Sep 2020
Copy link to clipboard 
Print this post

  Quote  I DON'T have the waveshare version.


Which is why you were given advice for your version - try thinking and looking before posting otherwise help won't be forthcoming next time
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 04:07am 25 Sep 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  I DON'T have the waveshare version.


Which is why you were given advice for your version - try thinking and looking before posting otherwise help won't be forthcoming next time


Sorry, you guys where talking about a header(I was thinking Pins) and mine does not have any pins anywhere and because I have some visual impairment I did not note the header holes on the bottom left of the board. I got out a magnifying glass and found them.  I guess I will have to try to solder on some pin headers there.  I was getting frustrated and I should not have vented that here. I beg you pardon.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 04:09am 25 Sep 2020
Copy link to clipboard 
Print this post

  vegipete said  
  mclout999 said  I DON'T have the waveshare version.  I have the fully assembled one

The fully assembled one has the ST-LINK header, which is different from the debug header on the Waveshare version.

The ST-LINK header is on the left edge, just behind the IR receiver.


This was what I needed to understand what I was looking for.  Thank you.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024