This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
HDSP-0960 display test code by JS106351 | |
This code sends multiplexed BCD signals to HP/Avago Numeric Displays. The HDSP-0960 is similar in functionality to the TIL311 | |
but does not display Hexadecimal numbers, only numeric. This code takes the time since the last uC reset [millis()] parses and | |
separates the number into digits and is then written to the display. Feel free to use the code as you like and if you have any suggestions | |
on improving it please share it with us. Thanks. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Arduino Climate Monitor and Control System By JS106351 | |
Remember! You have to upload the sketch twice, once to set the time, and the second time | |
to remove the setClock() function as to not accidentally reset the clock at power up. | |
This only needs to be done once to set the RTC's registers. | |
Compatible RTC's include the DS1307 and the DS3231 (from what I know) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Arduino Climate Monitor and Control system By JS106351 | |
Remember! You have to upload the sketch twice, once to set the time, and the second time | |
to remove the setClock() function as to not accidentally reset the clock at power up. | |
Compatible RTC's include the DS1307 and the DS3231 (from what I know) | |
The code is set to control the humidity level in the room, but can be changed to control temperature too. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This code is for Arduino 0023 or less only. | |
/* The library to run the OLED display comes from here: | |
https://www.adafruit.com/products/823 | |
The library was made for Arduino 1.0 but it had to be modified to work with Arduino 0023 or less. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This revision includes the modified display output to the LCD | |
mcp adress = 0x68 | |
sr= Sample Rate Selection | |
sr=0 ; 00 = 240 SPS (12 bits), | |
sr=1 ; 01 = 60 SPS (14 bits), | |
sr=2 ; 10 = 15 SPS (16 bits), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Arduino Temperature/Humidity/Pressure monitor Rev. 2.2A by JS106351 | |
Originally based from an all analog design, but code was rewritten for digital use. | |
Example code for the sensors was found online, and modified for this project. */ | |
//This code is for Arduino 0023 or less only. | |
// Read temperature/humidity/pressure from sensors and display on 16x2 Character LCD screen | |
#include <LiquidCrystal.h> | |
#include <Sensirion.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Arduino 1.0+ Only | |
//Arduino 1.0+ Only | |
/*Based largely on code by Jim Lindblom | |
Get pressure, altitude, and temperature from the BMP085. | |
Serial.print it out at 9600 baud to serial monitor. | |
*/ | |
#include <Wire.h> |