MERG Kit 75 Servo4

Discussion in 'Other Electronic Interfaces' started by paul_l, Dec 21, 2015.

  1. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Kit 75 Servo4-F Quad Servo Driver Module.

    This kit is not a DCC kit, and operates by a change on one of its inputs, this can be from a switch, relay or DCC accessory decoder output for example Kit 53 DCC steady state output, or CANACE8C output.

    The module uses a 9V ac or 12V dc power supply, and is controlled via a PIC microcontroller. The PIC is programmed via the ServSet2 standalone programmer (kit 76a) or a PC through the serial interface. Settings for start and end of throw and speed are saved in the PICs memory, so unless the servo is changed or the device gets fried then its a set and forget device.

    [​IMG][​IMG]
    Following the normal practice of fitting the smallest components first, resistors with a warning in the instructions to be carefull the resistor values are 1K, 10K & 100K the only difference being the colour of the 3rd band
    1k Brown-Black-Red
    10K Brown-Black-Orange
    100K Brown-Black-Yellow

    Then the diodes and 14 pin DIL socket

    [​IMG]
    Next the Resistor networks (resnets) and bridge rectifier. The instructions recommend painting a line on the outer row of pins on J2 to J5, to make it easier to get the servo polarity correct.

    [​IMG]

    The supplied piece of PCB header strip is cut into 1 x 2 pin header for link LK3, and 5 x 3 pin headers for J2 to J5 and link LK1. Then soldered in place. I tend to tag one pin roughly in place, then align it vertically and ensure its flush with the surface, take care these get hot quick, especially when your fingers pushing down on the pin.

    J8 is optional, and is designed for In-Circuit Serial Programming of the PIC, i'll probably never use it but hey..... But it did mean I had to fit the wire link between J6 and R3.

    [​IMG]

    Now the Tantalum Capacitor C3 is fitted, remembering the longer lead for Tantalum and electrolytic capacitors is the positive. 5v regulator U3 is fitted making sure the curve of the body aligns with the curve on the PCB.
    Terminal blocks, 2 way 5mm J1 (black) and assemble the 6 way from the two 3way 3.5mm terminal blocks.
    C2 & C4 electrolytic caps
    Then the 9 pin D connector, fixing screws are optionall, and the PCB does have holes if required.
    Lastly the large 1000uF cap C1 and the TO220 7805 voltage regulator U2 are fitted.

    [​IMG]
    [​IMG]

    The next part of this how to will cover the testing and setup, but I will need to get a servo to be able to test - never know what santa may bring

    Paul
     
  2. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    15,419
    Likes Received:
    3,842
    Joined:
    Dec 5, 2017
    Nice clean job Paul and well demonstrated.you'd think you'd done it before.:avatar:
     
  3. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    I received my kits from MERG today, so set about building the first of 2 Servo 4's I need to automate my two twin track level crossings. MERG are out of stock of the "Hector" kits which perform the train detection and communicate with the Servo 4 boards, so that'll have to wait a while. I completed and tested the first, all ok and ready for programming (that's another story!), but halfway through the build my Antex soldering iron began playing 'hot 'n cold' with me, much to my annoyance when you're trying to solder to a PCB. Checking with my multimeter showed an open circuit (the iron is only 18 months old and hasn't had that much work), traced to the mains lead where it enters the iron, so had to dismantle the iron, cut back the lead to remake the connections, and guess what??? You need a soldering iron to repair the soldering iron!!! (Good job I have several!). Yep, the connections to the element are soldered on, just unbelievable! Anyway, with repairs carried out, first board completed and tested, so at least the second one should go together even quicker (about an hour) than the first. MERG are going to email me when the 'Hector' kits become available again, so the build may stall for a while. As part of this project, I also bought a number of 3D printed servo brackets to go under the board, one under each gate (4 per crossing) is needed, so below is a pic of a bracket with servo fitted. There is also a cam which can operate an optional microswitch for barrier lights etc if needed, although with gates, I won't need this.
    Keith.

    Attached files [​IMG]
     
  4. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Nice on Keith.

    You could, use the PMP7 DCC detector kit, if both tracks through the crossing have the same track feeds (section), then the PMP7 would detect any loco in the section and trigger the servo 4 to close the crossing gates.

    [​IMG]
    Whenever a train enters the center section with the crossing the PMP7 detects the trains presence by detecting the current the section starts to use by a loco being present. The output from the optoisolator would trigger the servo4 to move the servos.

    Paul
     
  5. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    My layout isn't broken down into sections Paul, so can't monitor it with that kit. As I use the Lenz system, it has a very fast short circuit cutout so not felt the need to go down the sectionalise route. The only time I've had a fault cutout was when I bought an uncompleted M7 kit which needed motor, gearbox and suitable wheels. Having parked it on the layout for scenic value 'til I got around to finishing it properly (it's still not completed!) I then found I had a fault. Eventually, I realised that the fitted wheels were not insulated from each other side to side, hence the short circuit......Doh! Removing it cleared the fault.
    Incidentally, I have half a dozen combined infra red emitter/detectors marked "RPR220" and wondered if you'd ever come across these and whether I could use them with the dual Hectors when I eventually get them? I gather that the Express Models level crossing automation setup uses these, and as they're an 'all-in-one' component might be easier to fit.
    Keith.
     
  6. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    Completed and tested the second Servo 4 kit today so now the projects on 'standby' until the 'Dual Hectors' become available!
    Keith.
     
  7. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Hi Keith, it would be an easy mod, as per the diagram, I assumed double track, just cut the tracks in the detection area, and route all track feeds to the detection area via the PMP7.
    Any loco (or current consuming device) in the area will consume enough current for the unit to detect its presence - even if just idling. the output fed tp the servo 4 would get them to close the gates.

    Of course, if you do need to approach the crossing at a speed that will allow the gates to operate.

    Paul
     
  8. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Thank you for this article Paul. I'm new to this electronics game and at this stage I find that all the diagrams in the world don't help half as much as actual photographs showing the various stages of work and the finished product. Roger.
     
  9. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Glad you found it useful Roger, I find these MERG kits a great way into electronic devices, as the instructions are clear, straight forward and also include a description on how the circuit works, and more importantly how fault find and rectify the faults.

    Paul
     
  10. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Indeed. I haven't had a chance to explore this site yet as I have only just joined. Have you posted any other articles on MERG kits or the like, Paul?
     
  11. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Hi Roger

    Just to wet your appetite

    Servo mount kit

    DCC block detectors

    and the first couple of pages of my layout thread - Victoria Road for the Traverser build

    http://p1mrc.com/p1mrc/view_topic.php?id=15&forum_id=5&page=1

    Paul
     
  12. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Thanks Paul. Can't wait to get into those later today. Keep up the good work
     
  13. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    Oh-oh, another recruit to the MERG cause (otherwise known as the dark side!). We're taking over by stealth!!! :avatar:

    Keith.
     
  14. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    As a pure beginner Keith, it's VERY dark. Just like your tunnel.
     
  15. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    As a further update to my present progress with this project, I received and built the two 'Dual Hector' boards, and experimented further with the 'RPR220' infrared detector heads, which worked fine. Eventually I arrived at my hoped for setup by 'parallelling-up' two sets of detector heads, and linking the switching connections such that if a train passed over any of the four detector heads, all four servo's operated to open the crossing gates. As I have a number of projects 'on-the-go' at any one time, I now have to get around to mounting the servo's under the layout, coupling the servo's operations to the gates themselves. Regarding the servo setup, I downloaded the MERG software to the 'spare' Windows laptop, bought a USB to Serial adaptor, basically I guess because the MERG setup box was 'out of stock' and I couldn't be bothered waiting, and set the servo's that way. All I need now is the time to complete the actual installation. Now I'm retired, I wonder how I ever found the time to fit work in!!!:avatar: Keith.
     
  16. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Hi Paul. Me again. I have seen some of your other posts on other MERG projects and must compliment you on their clarity.One thing though. All the instructions start with the phrase "First clean the board and components" or such like. How exactly do you do that? Isopropyl Alcohol? Fibre glass pencil? And how do you clean off the flux?Please forgive these elementary questions. Thanks again.
     
  17. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,868
    Likes Received:
    5,930
    Joined:
    Dec 5, 2015
    Hi Roger

    You're becomming an expert, fibre glass pen works well, then a wipe with either a cloth dampened with Isopropile alcohol or acetone (cheapo nail varnish remover without lanolin). Same again for removing the flux.

    One of the advantages of a resin based flux, is you can get away with a little residue remaining.

    Keith I think we've got on the dark side now :avatar:

    A good damp sponge to keep cleaning the soldering iron bit works wonders as well.

    Paul
     
  18. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Thanks Paul. It's all these little things that people neglect to mention because they assume they are obvious - they are, but only when you actually know them.
     
  19. Marlow

    Marlow Full Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 18, 2016
    Hi Paul and Keith M.
    I am pleased to report that I have actually just completed putting together MERG PMP #75 the Servo4F Driver Kit. It tests out OK with a power source, and the multimeter seems to indicate that (at this stage) all is well. Paul, your photos proved invaluable to me. The next stage is programming it and actually fitting it to my railway. Another slog up that steep learning curve. Google running hot at the mo. Happy times ahead.
     
  20. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,460
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    I've never found a need to clean circuit boards (well, new ones anyway!) before soldering, as using 'Ersin' multicore resin solder seems to do the job without problems. I have a 7lb drum, given to me when working on a smelter in the early 70's, and I don't expect to run out of solder before I 'kick me clogs'! I have experience of gas torch soldering of both large electric cable lugs and plumbing fittings, both of which I normally used stick solder and "Fluxite" brand paste flux for, but not used any of the 'new-fangled' liquid fluxes, some of which I gather are made from or with pig poo (urea!!). Not yet having attempted building any white metal or brass loco models, I don't have any experience of low melting point solders either.
    As an aside, can I ask what you are intending using the 'Servo4' board for Roger? I have now succeeded in fitting the four servo's under the gates of the first crossing, and worked out how to use four sets of infra-red detectors (one in each of 2 tracks, at each side of the crossing) with the "Dual Hector" board controlling the "Servo4" board and operating the gates, just have to 'fine-tune' the operation since it's still a bit too speedy in the way the gates open and close. My second set of boards test ok and operate independently, but only 3 of the 4 servo's operate when connected together. Fortunately, MERG have a local meeting at the Midland Railway Centre, Butterley, which is about 6 miles down the road from me this coming Saturday and I've booked onto this. Having pre-warned them about my problem, they are going to try and solve it for me. I'll let you know how I get on.

    Keith.
     

Share This Page