I will be adding a peltier cooling module to a container to vent out heat. A ubec, which has a on/off servo wire attachment can turn the servo on/off.

  Question is: Is there a built in software thermostat in the PH 2 that can be linked to a servo out?

Thanks,

Charles C. Spencer III

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • My friend was facing the same problem, he was very much confused, with a colleague's suggestion he opted for expert advice from furnace maintenance NJ official website and has sorted the problem.

  • Developer
    Wouldn't be just for you... Heater code and cooling code has always been planned.

    The whole point of this being an open project is to ensure that features like this become available to everyone.
  • Is there already programming out there for the Arduino thermal switch to be used independently as a thermostat, or alternative like you mentioned? either way, as long as it is separate from the ph, ph2's then that will be great. Do not want to see added useless code to the units just for me.

  • MR60

    Maybe because it would require modifying the Ardupilot code and that is no easy task and probably overkill for the objective. Maybe in the future a Pixhawk V3 architecture would provide a "companion computer" to easily develop and upload personal code without impacting the Ardupilot code?
     
    Philip said:

    Why would you do that when you can just use the Pixhawk itself to do this?
  • Developer
    Why would you do that when you can just use the Pixhawk itself to do this?
  • MR60

    Then if you want to get it really fancy, you could use a small arduino type board in place of your thermal switch so you can program a PID loop to keep the temperature on a predefined value, in order to avoid temp oscillations (which could cause condensation for ex). WIth just an on/off switch you'll get temp oscillations.

    In addition, it would be less expensive to buy an arduino type board in place of the ridiculously expensive Servo city RC switch  (35$!)

  • 3702274673?profile=originalOk I can take the advice. Here is what I got:

  • Developer
    This wouldn't need to be highly accurate, as the onboard heater is... This would just keep the ambient temp down to give the heater a chance.

    Ideally you would keep the case at 50 degrees or less, and let the heater get it right.

  • Also, could more than one of the pwm outs be assigned to a thermostat?
    Charles C Spencer III said:

      I decided to go the route mentioned-that is if someone writes the code. It will be battery to peltier to pwm switch back to battery. On the other side of the pwm switch is the pwm leads that I will attach to the ph 2. The reason I would like the thermostat on the ph2 is to allow the temp sensors onboard to be set for accuracy to the imu temps. The following pwm switch web page has the layout.

    https://www.servocity.com/micro-pwm-switch

  •   I decided to go the route mentioned-that is if someone writes the code. It will be battery to peltier to pwm switch back to battery. On the other side of the pwm switch is the pwm leads that I will attach to the ph 2. The reason I would like the thermostat on the ph2 is to allow the temp sensors onboard to be set for accuracy to the imu temps. The following pwm switch web page has the layout.

    https://www.servocity.com/micro-pwm-switch

    Micro PWM Switch
    <p><span>You can now turn a device on and off from a regular R/C channel or servo controller. These are lighter, faster and more reliable than using…
This reply was deleted.