. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Complete guesswork here (without seeing your controller board - but you're suggesting some local controller, likely a microcontroller GRBL - complete guess, like I say), IF (guesswork again) the limit switches are couple to the ucontroller discrete inputs then you might be suffering with the intrinsic high-z inputs from the uC device with internal pull-up or pull-downs.

    Are the microswitches wired to 0V/Ground? If so, is the switched input (the non-ground wire) floating at around 5V?, if so then you could try reducing the internal pull-up resistance by wiring a 1k resistor from the microswitch input to a local 5V pin. The point here to provide a low impedance path for noise introduced from the spindle to clamp onto the supply lines - by default the high-impedance input to the microcontroller is highly sensitive to signal voltage (and therefore induced noise)... If that makes sense?

    If there's any joy with this a more practical solution would be to introduce opto-couplers on the input to the controller - they'd provide good noise immunity.

    EDIT:

    Can you provide any details of the controller card?, even a picture?

  2. #2
    Good Morning Doddy,

    Thank you for your reply. Just to inform you I am not very proficient in electronics, so it may be difficult for me to answer your questions.

    My CNC works with GRBL and I use the free version of Easel at this time in order to practice……..not much practice has been done at this time.  

    My switches are wired as NO and when I check the voltage across the + and - pins, I get ~2 volts and if press the micro switch, I get 0 volts. From all the information I gathered, the bottom row of pins are all to ground???? Before changing my switch wiring to shielded wires, I tried, as suggested on the internet, to add a .47µF capacitor across the micro switch………nothing.

    Please find attached a picture of my board. It says: Developower V2.0

    ThanksClick image for larger version. 

Name:	IMG_0453.jpg 
Views:	5698 
Size:	343.5 KB 
ID:	27575

  3. #3
    JeanB - okay, that's fine. I'm just about to head out for a last night of drunken debauchery before our government clamps down on that - I'll get some detail to you tomorrow morning.

  4. The Following User Says Thank You to Doddy For This Useful Post:


  5. #4
    Kitwn's Avatar
    Lives in Don, Tasmania, Australia. Last Activity: 4 Weeks Ago Has been a member for 7-8 years. Has a total post count of 985. Received thanks 118 times, giving thanks to others 52 times.
    Quote Originally Posted by JeanB View Post
    My switches are wired as NO and when I check the voltage across the + and - pins, I get ~2 volts and if press the micro switch, I get 0 volts.
    Thanks
    2v strongly suggests a lack of pull-up resistors which leaves the inputs floating as Doddy has suggested. The inputs are hovering in an indeterminate state and susceptible to every light switch and cosmic particle in the vicinity. No input to any electronics should be left like this and many devices include the pull-up resistors internally, typically 10 Kohms. Some microcontrollers allow inputs to be selected as floating or pulled-up from software.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  6. #5
    <deleted>

  7. #6
    Quote Originally Posted by Kitwn View Post
    2v strongly suggests a lack of pull-up resistors which leaves the inputs floating as Doddy has suggested. The inputs are hovering in an indeterminate state and susceptible to every light switch and cosmic particle in the vicinity. No input to any electronics should be left like this and many devices include the pull-up resistors internally, typically 10 Kohms. Some microcontrollers allow inputs to be selected as floating or pulled-up from software.
    ATMEGA328 has an option for an internal 100k-ish pull-up.

  8. #7
    Quote Originally Posted by JeanB View Post
    My switches are wired as NO and when I check the voltage across the + and - pins, I get ~2 volts and if press the micro switch, I get 0 volts. From all the information I gathered, the bottom row of pins are all to ground???? Before changing my switch wiring to shielded wires, I tried, as suggested on the internet, to add a .47µF capacitor across the micro switch………nothing.
    Click image for larger version. 

Name:	IMG_0453.jpg 
Views:	5698 
Size:	343.5 KB 
ID:	27575

    Aha, thanks to Kitwn for making me realise that you're already well aware of the pin layout on the board - I'd missed that bit of your reply in my haste to reply. Hopefully you should be able to understand my earlier ramblings and ignore the bit about identifying the ground-returns on the board.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 3018 Pro has no connectivity on A5 pins.
    By deepcut66 in forum Chinese Machines
    Replies: 0
    Last Post: 29-02-2020, 10:48 AM
  2. 3018 3 Axis Mini DIY CNC Router ONLY Ł125 with free shipping !!!
    By Lee Roberts in forum Marketplace Discussion
    Replies: 6
    Last Post: 09-01-2020, 09:00 PM
  3. 3018 problem
    By bazbalz in forum Machine Discussion
    Replies: 8
    Last Post: 17-12-2019, 12:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •