GithubHelp home page GithubHelp logo

saberrg / borc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berg-lab/borc

0.0 0.0 0.0 9.38 MB

Battery-Operated Radiator Control - Second generation radiator control

C++ 94.80% Python 2.61% C 2.59%

borc's Introduction

BORC

Battery-Operated Radiator Control

A low-power automatic radiator control that is designed to retrofit on steam radiators that use Honeywell's T104A1040 Zone Valve Operator uses LowPowerLab's DualOptiboot bootloader for the ATmega1284P.

This repo contains:

  • PCB design files and schematic for control board, power board and LED board for the BORC.
  • Firmware for a low-power radiator control node
  • Logger script to get real-time current data from the BORC

Dependencies

To compile the firmware, Arduino IDE 1.8.19 is needed. Newer IDE versions are not verfied to work.

The firmware requires the following libraries installed:

The firmware also requires the Moteino Board definitions installed following this guide.


Logger script

The logger script enables capturing current usage data over the serial port on the BORC.

Prerequisites:

Run:

Run the script using the following command over a command line interface:

For Windows:

python logger.py -c COM15 -n filename

For MacOS/Linux:

python logger.py -c /dev/ttyusb0 -n filename

Notes:

  • Change python to python3 if using Python version 3.
  • Change filename to something referencing the test to keep the generated files organized. The current date/time is automatically added to the filename.
  • The script automatically adds the .csv extension to the filename, so there's no need to include it in the arguments when running it.
  • For Windows, go to device manager and find the COM port of the BORC under "Ports" section and replace COM15 in the command above.
  • For MacOS or Linux, use ls /dev/tty.* command in terminal to find the COM port of the BORC, and replace /dev/ttyusb0 above with the full path of the COM port.
  • Use -h command to bring a help menu (eg. python logger.py -h).
  • If the servo doesn't move in some areas, you can adjust the default min and max limits to the particular servo installed. The default limits should be set to where the servo is guaranteed to move, and beyond these limits, the servo will not respond. Typical min limit for a 270° servo is 3600 and max limit is 3950. You can increase or decrease these limits to see where the servo being tested begins to move.
  • Default baudrate for the BORC is 115200. If updated, make sure to update the same in the logger script.

borc's People

Contributors

akstudios avatar douglaswwolf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.