This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Steins7 07c922a04a Fixed major bug with filter
* changed relay GPIO as a temporary measure
2020-02-22 23:26:08 +01:00
cad Added EasyEDA files 2020-02-21 18:26:53 +01:00
docs Got th UI to work as intended 2020-02-21 17:50:45 +01:00
include/cmsis Changed librairies achitecture 2020-01-23 17:59:22 +01:00
src Fixed major bug with filter 2020-02-22 23:26:08 +01:00
.gitignore Got the encoder to work 2020-02-02 22:20:10 +01:00
LICENSE Create LICENSE 2020-02-21 18:37:42 +01:00
Makefile Got the display of all temps to work 2020-02-01 14:54:47 +01:00
openocd blink ! 2019-12-02 22:49:10 +01:00
README.md Create README.md 2020-02-21 18:22:38 +01:00

FanMonitor

Advanced controller for industrial fan

This repository contains all the files used for the creation of a custom industrial fan controller.

Context

Two spaces have to be maintained at the lowest temperature possible (to a certain extent). For that purpose, an industrial fan (controlled by a 220V relay) is used. The fan is physically moved from one space to the other depending on the needs (the air intake is outside).

The goal is to control the fan automatically with 3 temperature sensors, one in each space and one near the air intake. The 3 current tempratures have to be display for the user to check things if needed. The environnement is also very dusty so the system has to be contained in a closed box.

System

The system is made off three main part :

  • a generic usb charger for the voltage supply
  • a main board build aroud a STM32F103 microprocessor
  • a screen based on the HD44780 driver

The box's plans are not depicted here since they are very simple (a few holes, no more, no less). Appart form that, you will find here all the code - created from scratch since I didn't want to use ST's HAL and anyways it's funnier this way - and the 3D models used. All the documentation is also there. You may also find (if I didnt forget to put it there) EasyEDA files for the main board PCB.

How to compile

The code uses the GNU toolchain, whith gcc and gdb for AMR. OpenOCD is used for the SWD handling, through a STLinkv2. Don't forget to install arm-none-eabi-newlib if you want things to work.

Finaly, there is a RELEASE tag in the Makefile if you want to optimise and remove debug.