Yet another Single Channel Encoder

Button pushers
MaxZ
Posts: 34
Joined: 31 Jan 2019, 11:48
Location: Boskoop, Netherlands

Re: Yet another Single Channel Encoder

Post by MaxZ » 13 Apr 2019, 15:26

I am progressing with my home brew 3-position switch. Question: are "Reeds" mode and S/C mutually exclusive or can I hook up both and see what suits me best? Any objection against hard wiring the 3-pos. switch to the Pro Mini board without a servo plug?

Cheers,
Max.

Mike_K
Posts: 199
Joined: 16 Feb 2018, 06:35

Re: Yet another Single Channel Encoder

Post by Mike_K » 14 Apr 2019, 07:29

Hi Max

The reeds mode and Codamac mode are virtually identical, so I wouldn't worry too much which once you choose.

The reeds mode is nearly self explanatory, you move the switch right and the rudder goes right, you centre the switch and it goes to the centre. Move the switch left, the rudder goes left. The rudder follows the switch.

The Codamac mode is provided for conversions of transmitters such as the MacGregor Codamac or the similar Staveley Tonelock or Futaba FR23 Codemaster. These were single channel transmitters, still with a push button, but also a three position switch. The switch produced the correct timing for a compound escapement, so right switch was the same as one press of the push button and left switch the same as two presses of the push button.

The encoder emulates this, so pressing the switch right makes the rudder go right, but when released, the rudder goes quickly to neutral, then left and then back to neutral, just like a compound escapement. Similarly, left switch makes the servo go quickly right, then centre before going left.

Unless you are converting a MacGregor Codamac or similar, then start with the default reeds mode, but later try the Codamac mode to see how these old transmitters would have worked.

Cheers

Mike

MaxZ
Posts: 34
Joined: 31 Jan 2019, 11:48
Location: Boskoop, Netherlands

Re: Yet another Single Channel Encoder

Post by MaxZ » 14 Apr 2019, 08:29

Hi Mike,

Thanks for your explanation, it always helps to understand things better. But maybe I should have worded my question better, what I was after is if the 3-pos. switch had to be unplugged for s/c operation (and hence needs a plug in connection) and that connecting it to the board somehow forced the reed/codamac mode and prevented s/c mode. That appears not to be the case, so it will be my choice to solder the leads directly to the ProMini or make a plug in connection. Correct?

Cheers,
Max.

Mike_K
Posts: 199
Joined: 16 Feb 2018, 06:35

Re: Yet another Single Channel Encoder

Post by Mike_K » 14 Apr 2019, 11:06

Hi Max

You can have the push button and three position switch both connected at the same time, this is the configuration I use on my practice transmitter. If I make a mess of pressing the push button and get the wrong command, I quickly use the three position switch to rescue myself. So the push button and the position switch both work together, in fact if the push switch and three position switch are use at exactly the same time, then the three position switch overrides the push button.

I have made it removable only for ease of construction. I find it easier to solder a header to the Arduino board and then use a servo lead to solder to the switch and plug it in, rather than soldering wires directly to the Arduino. But if you want to solder the three position switch straight to Arduino, it isn't a problem.

Cheers

Mike

MaxZ
Posts: 34
Joined: 31 Jan 2019, 11:48
Location: Boskoop, Netherlands

Re: Yet another Single Channel Encoder

Post by MaxZ » 14 Apr 2019, 11:10

Thanks Mike.

My home built 3-pos. switch is ready and working fine. I decided to go the servo lead way :)

Cheers,
Max.

User avatar
_AL_
Posts: 82
Joined: 17 Feb 2018, 01:09

Re: Yet another Single Channel Encoder

Post by _AL_ » 18 Apr 2019, 02:09

Mine is finally assembled.
I jut need to paint it & add the decals now.

Al
GEM rep2.jpg
GEM rep1.jpg
You do not have the required permissions to view the files attached to this post.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests