Remote PIC input question


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Location
    Suffolk, UK
    Posts
    59

    Default Remote PIC input question

    Not strictly a PBP programming question but I hope not too far off topic for someone to offer me some advice. I'm planning a conbined lap counter/timer and will be selecting 6 or 7 functions by earthing normally held high pins (pull up resistors) on the PIC. The selection will be made on a small portable control panel 6 or 7 metres from the main unit and PIC, wired down a multicored cable. My question is...is it acceptable to earth PIC input pins at this distance or is it either mandatory/safer or wiser to earth say via local optical isolators, controlling these from the control panel.

    Some advice would be gratefully received

    Thank you

    Adrian

  2. #2
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    My 2 cents worth is:
    As long as the earth connection is part of the multicore cabling and the function you are selecting is not critical enough to be effected by contact bounce, (which could be defeated in software anyway), then you should be OK. I would certainly try this way before goping to other additional components. I have in fact done similar with a timing unit where the remote switching just selects the function but not the starting or stopping of the actual counting. This is done in software at the main unit and has nothing to do with the remote gear.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  3. #3
    Join Date
    May 2007
    Location
    Suffolk, UK
    Posts
    59


    Did you find this post helpful? Yes | No

    Default

    Thanks Peter
    Sounds a good piece of advice. I must admit I started off without thinking about opto isolators but have got a bit 'windy' - hence the question. I am debouncing the 'clock' inputs for the lap counter in software but these remote panel selectors are far less fussy, so I'll try the simple way first. Thanks for your advice. By the way we have an Australian visitor staying with us at present - he flew over to the UK to take part in some model team race flying National event we have here each August. He is from Parkville in the centre of Melbourne

    Regards


    Adrian

Similar Threads

  1. MXcom "C-BUS" interface to PIC question
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st May 2014, 03:59
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. input logic threshold level for pic 16F628
    By aratti in forum General
    Replies: 4
    Last Post: - 29th December 2008, 11:35
  4. Midi, Interrupts and Pic better than SX28?
    By Lajko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2008, 00:26
  5. Experimenting With Pic Basic Pro Question
    By jabahunter in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 28th May 2005, 08:16

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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