Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Binary

Thread Tools
 
Search this Thread
 
Old 23rd Aug 2013, 18:33
  #1 (permalink)  
Thread Starter
 
Join Date: Feb 2001
Location: In transit
Age: 70
Posts: 3,052
Likes: 0
Received 0 Likes on 0 Posts
Binary

I read somewhere that there are 10 kinds of people. Those who understand binary and those who don't.

We have a remote controller for the outside gate. It has 10 switches, each is either up or down.

It doesn't work since I dropped it whilst changing the battery, I can only assume that one of the switches - cheap and nasty - has moved. I've tried changing each, one by one, and lost patience.

As a matter of interest, how many combiantations are there?
Capetonian is offline  
Old 23rd Aug 2013, 18:36
  #2 (permalink)  
 
Join Date: Jan 2008
Location: London, England
Age: 56
Posts: 300
Likes: 0
Received 0 Likes on 0 Posts
2^10 combinations = 1024

If the switches are there to set a code that needs to match the receiver, is there are similar set of switches at the receiver you can copy?
MacBoero is offline  
Old 23rd Aug 2013, 18:44
  #3 (permalink)  
Thread Starter
 
Join Date: Feb 2001
Location: In transit
Age: 70
Posts: 3,052
Likes: 0
Received 0 Likes on 0 Posts
I thought 2 to the power of 10 too ..........

There is a set of similar switches inside the receiver number 1-10. All down except No. 2.

Set the switches on the transmitter to the same - doesn't work.
Set the switches on the transmitter to the opposite - all up except No. 2 - still doesn't work.

Stumped or what?
Capetonian is offline  
Old 23rd Aug 2013, 19:09
  #4 (permalink)  
 
Join Date: May 2009
Location: YMML
Posts: 1,838
Received 16 Likes on 6 Posts
You did drop it so cheap and nasty soldering could have broken as well.
le Pingouin is offline  
Old 23rd Aug 2013, 19:13
  #5 (permalink)  
 
Join Date: Jan 2008
Location: London, England
Age: 56
Posts: 300
Likes: 0
Received 0 Likes on 0 Posts
The next step I would take is identify if possible the manufacturer and see if they have any useful information online.
MacBoero is offline  
Old 23rd Aug 2013, 19:24
  #6 (permalink)  
 
Join Date: Nov 2010
Location: Sweden
Posts: 473
Received 157 Likes on 71 Posts
Are the switches in the transmitter also numbered?
Avionker is online now  
Old 24th Aug 2013, 12:27
  #7 (permalink)  
Thread Starter
 
Join Date: Feb 2001
Location: In transit
Age: 70
Posts: 3,052
Likes: 0
Received 0 Likes on 0 Posts
Switches in receiver numbered 1-10.
1 3 4 5 6 7 8 9 10 DOWN
2 UP

Switches in transmitter numbered 1-10
1 3 4 5 6 7 8 9 10 DOWN
2 UP

Maybe key cutting man (who 'specialises' in remote control units) speaks with forked tongue, but he tells me that this is not the magic bullet. He says the switches in the receiver control the functions of the gate opener (how long it stays open for etc) and that there is another unit which I can reprogramme to match the transmitter, but then the neighbours remotes won't work ............... I think he's talking ****.

I would like to go back to the days of having a garden boy in Rhodesia who was on watch 24/7 and opened and closed the gates as we came and went with a cheery wave and 'morning baas'! None of this electronic ****tery.
Capetonian is offline  
Old 24th Aug 2013, 12:42
  #8 (permalink)  
 
Join Date: Nov 2010
Location: Sweden
Posts: 473
Received 157 Likes on 71 Posts
I would have thought that the only function of the switches would be to "pair" the Tx with the Rx. I suspect that there is some damage to the Tx from the drop. Do you know the make and model of the equipment?
Avionker is online now  
Old 24th Aug 2013, 12:56
  #9 (permalink)  
Thread Starter
 
Join Date: Feb 2001
Location: In transit
Age: 70
Posts: 3,052
Likes: 0
Received 0 Likes on 0 Posts
We have two, both worked before, only one was dropped. I knocked the switches in the process of changing the batteries and I think that is the problem. The key man says his equipment doesn't read the signal they put out, but he can confirm that both are putting out a signal.
Capetonian is offline  
Old 24th Aug 2013, 13:04
  #10 (permalink)  
 
Join Date: Nov 2010
Location: Sweden
Posts: 473
Received 157 Likes on 71 Posts
So the Tx that you didn't drop, and which I assume you have not altered any switch positions on, does not work either?
Avionker is online now  
Old 25th Aug 2013, 08:14
  #11 (permalink)  
Thread Starter
 
Join Date: Feb 2001
Location: In transit
Age: 70
Posts: 3,052
Likes: 0
Received 0 Likes on 0 Posts
No, it works with another transmitter of a different type, which is doesn't have the tumbler switches. Altogether we have 4, and the two which are the same type don't work.

The lock man says he can't code the 'switch' ones from the electronic ones, but could do it the other way round, but the 'switch' ones have the wrong code now.
Capetonian is offline  
Old 25th Aug 2013, 08:35
  #12 (permalink)  
Psychophysiological entity
 
Join Date: Jun 2001
Location: Tweet Rob_Benham Famous author. Well, slightly famous.
Age: 84
Posts: 3,270
Received 37 Likes on 18 Posts
Right, off you go. 0000000001 - test. 0000000010 - test . . . phew, only another 1022 to go.

The thing is with electronics, you always have to be thinking laterally. Just what did that fall do? Just what happened when you changed the batteries? How much of a trap can be created by two factors both effecting it at the same time?

I'm perplexed by two controllers being the only ones switched. Perhaps your man is right and the receiver's switches do control other functions and the programed code is achieved another way . . . or maybe fixed.

I certainly would start by working with the switch in the original position, and looking for something else. On the very old units, some selection was done with a punched strip clamped in a plastic block about the size of a medium sized computer chip. Sprung connections were made through the holes.
Loose rivets is online now  
Old 25th Aug 2013, 09:28
  #13 (permalink)  
 
Join Date: Jun 2007
Location: UK
Age: 66
Posts: 77
Likes: 0
Received 0 Likes on 0 Posts
Not sure if this is exactly the answer to your problem but give it a go:

You have 10 switches. Put 5 on and 5 off. Does it work? If yes then the fault lies with the 5 that are off.

Reverse the switches (On to Off and Off to On). It shouldn't work. Select 3 of the ones that are now on and put them off. Does it work? Then one of the the 3 switches are duff and so on ....
Unixman is offline  
Old 25th Aug 2013, 16:11
  #14 (permalink)  
Psychophysiological entity
 
Join Date: Jun 2001
Location: Tweet Rob_Benham Famous author. Well, slightly famous.
Age: 84
Posts: 3,270
Received 37 Likes on 18 Posts
Nooooooooooooooooooooooooooooooooo! It don't work like that.
Loose rivets is online now  
Old 25th Aug 2013, 16:47
  #15 (permalink)  
Per Ardua ad Astraeus
 
Join Date: Mar 2000
Location: UK
Posts: 18,579
Likes: 0
Received 0 Likes on 0 Posts
Cape - quite often these controllers have a LED that lights when you 'transmit'. If it does, does it?
BOAC is offline  
Old 25th Aug 2013, 17:02
  #16 (permalink)  
 
Join Date: Aug 2007
Posts: 647
Likes: 0
Received 0 Likes on 0 Posts
Rivits

The number of combinations of 2 from 10 choices is 45 - Still a bit of a job though

I Know what has happened the perm 0000010001 for example has been counted twice.

So we produce a work table as follows:

1100000000 0110000000 0011000000 0001100000 0000110000 .........
1010000000 0101000000 0010100000 0001010000 0000101000
1001000000 0100100000 0010010000 0001001000 0000100100
1000100000 0100010000 0010001000 0001000100 0000100010
1000010000 0100001000 0010000100 0001000010 0000100001
1000001000 0100000100 0010000010 0001000001
1000000100 0100000010 0010000001
1000000010 0100000001
1000000001

You can see how its going to turn out but you will get there. 9+8+7+6+5+4+3+2+1 i.e 45

You can do this for both switch sets but the formatting is too difficult to post.

CAT III

Edit: Unixman I know what you were thinking of but its not a single digit binary problem.

Last edited by Guest 112233; 26th Aug 2013 at 08:42.
Guest 112233 is offline  
Old 25th Aug 2013, 21:56
  #17 (permalink)  
Psychophysiological entity
 
Join Date: Jun 2001
Location: Tweet Rob_Benham Famous author. Well, slightly famous.
Age: 84
Posts: 3,270
Received 37 Likes on 18 Posts
The number of combinations of 2 from 10 choices is 45

As I see it, there is ONE switch set to the second position. i.e. Binary 1. This switch simply happens to be number two in a row of ten.


Cape, are these switches physically independent of each other? I had imagined a DIP switch - (dual In-line Pin molding with ten little red slider switches.)


Edit to say: Having said this, ten switches (twenty pins into the circuit board) would be bigger than I've ever seen in an early PC.)


Right, off you go. 0000000001 - test. 0000000010 - test . . . phew, only another 1022 to go.

My tongue in cheek comment does of course assume any combinations of up and down settings. Obviously only one switch would be a doddle by comparison.





.

Last edited by Loose rivets; 25th Aug 2013 at 22:03.
Loose rivets is online now  
Old 26th Aug 2013, 07:08
  #18 (permalink)  
More bang for your buck
 
Join Date: Nov 2005
Location: land of the clanger
Age: 82
Posts: 3,512
Likes: 0
Received 0 Likes on 0 Posts
Wouldn't it be easier to buy a new one? Electric Gate Remotes replacement gate remote transmitter key-fobs
green granite is offline  
Old 26th Aug 2013, 08:45
  #19 (permalink)  
 
Join Date: Aug 2007
Posts: 647
Likes: 0
Received 0 Likes on 0 Posts
Rivits

I did the table as you suggested but its too difficult to post here the formatting is a pain.(in Excel)

The answer is the same though. (45 solutions) - There is a lot of duplication sample of table below

Sorry I cannot post the table.

CAT III

Last edited by Guest 112233; 26th Aug 2013 at 08:53.
Guest 112233 is offline  
Old 26th Aug 2013, 10:50
  #20 (permalink)  
Psychophysiological entity
 
Join Date: Jun 2001
Location: Tweet Rob_Benham Famous author. Well, slightly famous.
Age: 84
Posts: 3,270
Received 37 Likes on 18 Posts
I can't understand why the other unit isn't going. Just coincidence? I used to carry a pillowcase full of (unboxed) valves for tuning accurately. All to do with chance messing up the equation. Thems were the days.


I had vast steel doors on my Frinton home. None of those tinsel ones they supply these days. The real half-horse motor had its power conveyed by a huge motorcycle-type chain to doors that would chop a Lotus in half. An no, they did not have a detector to stop them.

They were actioned by a loop in the drive and a chatterbox in the car sending pulses to a coil. When my mate (who built the house) was given the loop, he said, no, it looks like a ring of wood with wire round it. The builders said, gosh ( or something like that ) we've buried that thing in the drive. They drilled up an 8" thick drive to get it and set in the correct one.

This loop sent pulses to a cold-cathode valve in a big steel box. It all worked - if you got the car in the right place. Also, lightning would set it off - and one stormy day, there was a Lotus half way in. That's how I know. Not quite in half, but may as well have been.

In about 1975 I brought back a Geni Door controller system from Texas. The two 'beepers' were still going 25 years later.

One last memory, then I must do some work. Wife arrives in E-Type with a police car following her. They were all smiles, and just wanted to know what the round wooden thing was under the tail of the car. 'Thought it might be a mine.' said the smiley Bobbie.
Loose rivets is online now  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.