Skip to main content

Posts

Showing posts with the label code

Finished Control System

  As ever on a budget waste not want not approach. mostly stuff I had in stock Code ERV Code Six individually fused channels Power board shown in place. 35 Amp Hall effect current sensor. Driver code here  ERV Code Dashboard for ERV fan control and testing      Six controlled channels with 25Khz PWM fan speed control The first layer of the system. Two Arduinos one for control one for networking, Code here  ERV Code

Some 3rd Party Code

Some 3rd Party Code  GitHub

The ERV Data Acquisition System

  Progress over the weekend with the ERV DAS The 999's are me testing the sensor disconnected response. I have a Pitot tube left over from an RC plane I think I might put it in the inlet air stream Pin assignment in the Arduino sketch DHT dht[ 4 ] = {DHT( 4 , DHTTYPE),DHT( 0 , DHTTYPE),DHT( 2 , DHTTYPE),DHT( 14 , DHTTYPE)}; There are 4 DHT22's inside heat exchanger lid, shown below. Sensor locations Arduino code #include < Arduino_JSON . h > #include < ESP8266WiFi . h > #include < MQTT . h > #define LED_PIN LED_BUILTIN //LED_BUILTIN is built in LED #include "DHT.h" // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 //#define DHTTYPE DHT21 // DHT 21 (AM2301) WiFiClient net ; MQTTClient MQTTclient ; const char ssid [ ] = "Network" ; const char pass [ ] = "DF@#$%" ; // the IP address for the MQTT server char MQTTip [ ...