BORC
borc 

所属分类:能源行业(电力石油煤炭)
开发工具:C++
文件大小:6223KB
下载次数:0
上传日期:2023-04-03 18:36:16
上 传 者sh-1993
说明:  蓄电池驱动的散热器控制-第二代散热器控制
(Battery-Operated Radiator Control - Second generation radiator control)

文件列表:
firmware (0, 2023-04-04)
firmware\.vscode (0, 2023-04-04)
firmware\.vscode\c_cpp_properties.json (423, 2023-04-04)
firmware\aprintf.cpp (9563, 2023-04-04)
firmware\aprintf.h (343, 2023-04-04)
firmware\changelog.h (2671, 2023-04-04)
firmware\common.h (2390, 2023-04-04)
firmware\crc32.cpp (4540, 2023-04-04)
firmware\crc32.h (114, 2023-04-04)
firmware\eeprom_base.cpp (20881, 2023-04-04)
firmware\eeprom_base.h (11668, 2023-04-04)
firmware\eeprom_manager.cpp (3276, 2023-04-04)
firmware\eeprom_manager.h (3725, 2023-04-04)
firmware\firmware.ino (3004, 2023-04-04)
firmware\globals.cpp (886, 2023-04-04)
firmware\globals.h (1388, 2023-04-04)
firmware\i2c.h (375, 2023-04-04)
firmware\ina219.cpp (7155, 2023-04-04)
firmware\ina219.h (1095, 2023-04-04)
firmware\is31fl3731.cpp (30319, 2023-04-04)
firmware\is31fl3731.h (2420, 2023-04-04)
firmware\led_manager.cpp (3347, 2023-04-04)
firmware\led_manager.h (1655, 2023-04-04)
firmware\manual_mode.cpp (1527, 2023-04-04)
firmware\manual_mode.h (134, 2023-04-04)
firmware\menu_manager.cpp (5631, 2023-04-04)
firmware\menu_manager.h (1042, 2023-04-04)
firmware\misc_small.cpp (6901, 2023-04-04)
firmware\misc_small.h (4542, 2023-04-04)
firmware\mstimer.cpp (5795, 2023-04-04)
firmware\mstimer.h (3359, 2023-04-04)
firmware\power_manager.cpp (3017, 2023-04-04)
firmware\power_manager.h (838, 2023-04-04)
firmware\radio.cpp (10004, 2023-04-04)
firmware\radio.h (1100, 2023-04-04)
firmware\rotary_knob.cpp (12795, 2023-04-04)
firmware\rotary_knob.h (3586, 2023-04-04)
firmware\serial_logger.cpp (5159, 2023-04-04)
... ...

# 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](https://github.com/LowPowerLab/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](https://www.arduino.cc/en/software) is needed. Newer IDE versions are not verfied to work. The firmware requires the following libraries installed: - [RFM69](https://github.com/LowPowerLab/RFM69) - [SPIFlash](https://github.com/LowPowerLab/SPIFlash) - [LowPower](https://github.com/LowPowerLab/LowPower) - [Adafruit PWM Servo Driver Library](https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library) The firmware also requires the Moteino Board definitions installed following [this guide](https://lowpowerlab.com/guide/moteino/programming-libraries/). --- ## Logger script The [logger script](https://github.com/berg-lab/BORC/blob/master/logger/logger.py) enables capturing current usage data over the serial port on the BORC. ### Prerequisites: - [pip](https://pip.pypa.io/en/stable/installation/) - [Pyserial](https://pypi.org/project/pyserial/) ### 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.

近期下载者

相关文件


收藏者