Some more encoders on their way!

Single to Multi propo
Post Reply
User avatar
Mike_K
Posts: 448
Joined: 16 Feb 2018, 06:35
Location: Hertfordshire

Some more encoders on their way!

Post by Mike_K »

This a bit like waiting for a bus, you wait for ages and then two come along together, but in this case, it is two totally different encoders rather than buses.

As many of you know, I've been quietly working on an encoder for a number of years, in fact, it’s all I have been flying with for the last four years and use my Skyleader SLX and Futaba M6 as my day-today transmitters. Some may have seen me using them at the last Ponty meeting and any of the UKCAA classic acrobatic/F3A meetings I’ve attended. I signed off on the software and circuit design 6 months ago, but struggled to design the circuit board as I tried to make "one size fits all", but there's just too much variation is the size and space of retro transmitters for it to work. As this wasn't working out, I decided to do a series of boards to fit the various shapes and sizes of retro transmitters likely to be converted, I have finished with a series of three board designs with varying sizes of LCD to suit different transmitters.

The below are the 3D views from KiCAD of the medium-sized board, some of the components aren't to scale as I didn't have the correct 3D component models and used the nearest I could find.
A 3D visualisation of the "medium" sized board - LCD is not to scale as I didn't have the correct 3D model for it and this is the nearest I could find.
A 3D visualisation of the "medium" sized board - LCD is not to scale as I didn't have the correct 3D model for it and this is the nearest I could find.
The display would normally be hidden under the front label, but I’ve also designed a daughterboard so the LCD and menu switches can be mounted facing backwards if there is no label to hide the LCD or you don’t fancy cutting holes in the transmitter! I got fed up waiting for LemonRx to bring out their DSM2/DSMX modules, so have done a daughterboard to house a module from a donor Spektrum DX4e/DX5e/DX6i, the encoder outputs PPM and the serial signal required by the Spektrum module and you can then bind with the buddy box switch and range check from the menu.
Rear facing daughter board
Rear facing daughter board
Daughter board to use a Spektrum DX6i/5e/4e 2.4GHz module
Daughter board to use a Spektrum DX6i/5e/4e 2.4GHz module
Another problem I've had is drilling and cutting the holes in the correct place for the LCD and menu switches and have made a "template" the same size as the actual board, you can make sure the board will fit inside, then use it to mark the front out.
Drilling/cutting template
Drilling/cutting template
Once the boards arrive in a few weeks time, I'll be looking for a few guinea pigs to test out installing the pre-production boards before I put them on sale, so sorry the code and board design will not be open-sourced.

The Second Encoder!

The other encoder to report on is a modified version of Phil's encoder, but with features more suited to use with a classic F3A aerobatic style model. It isn't designed as a replacement for Phil's original, just better suited to certain model types such as classic F3A models. To differentiate the file names, so you know which-is-which, I've added F3A to the program/sketch file name, in the place of "sc" in Phil's original, which I assume stands for single-channel.
Wiring for the "F3A" version of the encoder
Wiring for the "F3A" version of the encoder
The Arduino is identical, so you'll have to read Phil's instructions on what modifications are needed to the Pro Mini Strong, though the rate/expo switches and pots are wired differently and operate very differently, so if you want to retrospectively use the code on an existing conversion, you’ll need to rewire a few things.

The main addition/alteration is a second aileron channel with adjustable aileron differential, which now makes it an 8 channel encoder with a 22mS frame rate you accommodate the extra channel. The full additions/alterations are:
  • Two aileron channels with adjustable aileron differential set by two DIP switches and independent servo reversing for both aileron channels.
  • Throttle reverse via a DIP switch
  • The rates/expo has fundamentally changed. The aileron rates/expo is now independent of the elevator rates/expo and you can have say 30% expo on ailerons and 10% expo on elevators. Read the attached user guide (pdf) for a full explanation of how it now operates.
  • V-tail mixing is added (Phil's original only has elevon mixing of the aileron/elevator I think).
  • The channel order and "output polarity" set by DIP switches have been modified.
  • I've increased the ppm range to +/-500uS from Phil's default +/-400uS to give more servo movement, so you can use smaller control horns to get less slop in the controls
  • Calibrating the joysticks is now via the "minute minder" push button.

The reason that the joystick calibration has changed is that these alterations have required all single-channel emulations to be removed (sorry Phil!), there just aren't enough Arduino inputs for the DIP switches and the rates/expo toggle switches, so the single-channel push-button(s) have gone to make way for these. The only push-button left is minute minder, so there was little choice!

Cheers

Mike
Attachments
PPM_Enc_8ch_F3A_v2.1C.ino
(21.89 KiB) Downloaded 20 times
8 Channel Encoder for retro transmitter conversions V2c_01.pdf
(575.38 KiB) Downloaded 24 times
JohnH
Posts: 21
Joined: 18 Jun 2019, 03:48
Location: Eden, MD USA

Re: Some more encoders on their way!

Post by JohnH »

Mike,

Excellent! I will be one of your first customers. I will be measuring my candidate transmitters to see which encoder will fit each.

Thanks for your hard work.
John H.
John H.
"Here's another fine mess you've gotten me into."
User avatar
RobertC
Posts: 60
Joined: 04 Sep 2020, 15:13
Location: Grimsby UK

Re: Some more encoders on their way!

Post by RobertC »

Hi Mike

That’s some serious work you’ve been doing behind the scenes ...
I can see a scratch built FLC coming on here again soon 👍😊
Top workmanship
User avatar
Wayne_H
Posts: 542
Joined: 17 Feb 2018, 05:26
Location: Temora, NSW. Australia
Contact:

Re: Some more encoders on their way!

Post by Wayne_H »

Yet more inspirational stuff - gotta love this Forum :D

Well done Mike!!
Cheers,

Wayne
Once a Retrobate, always a Retrobate............ ;)
User avatar
Wavemeter
Posts: 103
Joined: 16 Feb 2018, 21:22

Re: Some more encoders on their way!

Post by Wavemeter »

Mike I really hope I meet you when all this has blown over /down. I gather like me and Stuart you’re a Norfolk Boi so I know your instincts will have you sniffin the Norfolk air at the first opportunity.
This is passionate work and I love it. One feature I would really love on a basic conversion would be expo. So I’m definitely a customer. Seems I have developed a deeper hunger for radios and my collection is growing. A do it all tx in the guise of a retro set would be superb. Hiding the display the challenging bit but your solution behind the label is very clever. Keep a Troshin
Reconstituted boy
Post Reply