Mk2 V Tail Mixer

By Ken Hewitt

 

RCM&E Vol 41 Issue 11


Download mk2mix.zip, Zip file containing images and txt files.

Download mk2mix.pdf, Acrobat version of orignal article.

Ordering parts or complete kit


Introduction

The original V tail mixer was published in the March 1995 issue, this was the first mixer I had designed using the PIC micro controller and it was basic in that it only mixer 50% of both inputs to give 100% outputs. This mixer proved to be one of the most popular projects that I have done and it has been built in large numbers all around the world especially in Scandinavia, South Africa and Australia. The original design was used by people for all sorts of uses that I had not given a thought to, it was used for twin engine boats to give better steering, some people used it in robots for Robot Wars. I decided it was time to revisit the mixer and apply some of the things I had learnt on later projects to the Mk2 mixer.

The Mk2 is an improvement on the original design in that it allows 4 different mixing ratio's 100+100, 50+100, 100+50 and 50+50 this allows you to have more control of the mixing performed, the Mk2 still also has the reversing switches for the 2 output channels.


The Technical Bit

The mixer measures both of the incoming channels to the nearest 5uS and then looks at the 2 mode switches to see if either or both of the inputs need to be divided by 2 for 50% mixing, then the 2 input values are mixed to produce the 2 output values. Then the reversing switches are checked to see if the outputs should be reversed or not. The last stage is then that the 2 output pulses are generated for the servo's, once this has been done the mixer waits for the next 2 input pulses and the whole process repeats.


The PIC16C52

The micro computer used in the mixer is a PIC16C52 which has a RISC like CPU, and supports 33 instructions. The chip contains everything that is required to form a fully working micro-computer, it has 12 input or output pins, 384 program memory locations and 25 bytes of RAM. This may not sound like much but because of the RISC type architecture the resulting code can be very compact. It also has a wide range of power supply limits, 2.5 volts to 6.25 volts at less than 2mA, making it ideal for use in model avionics systems.


Assembly

The assembly of the Mk2 mixer is very easy, it only consists of 5 components but 2 of these must be fitted the correct way round, these are the PIC micro controller IC1 and the resistor pack RP1 the orientation of these 2 items is shown clearly in the layout drawing. The main component IC1 used in this design is a CMOS device and can be damaged by static electricity. When handling this item it is advisable to take some basic precautions, do not wear clothing which builds up a static charge, or handle the item until needed and before you touch it, try to touch a water pipe which should earth any static charge you have built up. DO NOT connect yourself directly to the mains earth.


Testing

Before anything else check the bottom of the PCB to make sure that there are no solder bridges between pads that may short out the power supply or receiver outputs. Once this is checked and all is correct make sure all of the switches sw1-4 are off, connect two servo's to the outputs and plug the 2 input leads into the selected receiver outputs that you want too mix.

Switch on the receiver and transmitter, the servo's should move as you alter the 2 channels you have selected for mixing, on channel should make both servo's move in the same direction and the other channel should make them move in opposite directions. Both outputs should be giving full output for full input range.

Next switch sw1 and sw2 on, repeat the above test and both servos should move in the same directions as before, but they should only be moving over 50% of their output range for each input, if you move both inputs to maximum then you should get maximum out. You can now check that when you put either sw3 or sw4 on that each output starts to move in the opposite direction. If all is operating as described then the mixer is fully working. Setting the Mode Switch As mentioned in the introduction the Mk2 mixer has more options, 4 different mixing ratio settings and the output reversing for each channel, this is all set up using SW1-4 according to the following settings.


Mixing Ratio

Mixing Ratio % SW1 SW2
100/100 off off
100/50 off on
50/100 on off
50/50 on on

Output Switches

Outputs SW3 SW4
Output 1 Normal off
Output 1 Reversed on
Output 2 Normal off
Output 2 Reversed on


And Finally

I hope that this new version of the V tail mixer proves to be as popular as the original, and that you have gained an insight into the possible uses of the PIC range of micro computer chips in the world of model avionics. If anyone is inspired into trying to develop PIC based projects for themselves then please don't hesitate to write to me for advice or information about this wonderful little chip.


Return to main page...