Skip to content

Instantly share code, notes, and snippets.

@2N2222A
2N2222A / SevenSegmentBCDTESTtest.pde
Created September 26, 2014 07:07
HDSP-0960 Display test code
/*
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.
@2N2222A
2N2222A / ClimateControlw_setrev2.pde
Created December 30, 2012 23:36
Arduino Climate Monitor/Control System revision 1.
/*
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)
@2N2222A
2N2222A / ClimateControlrev0b.pde
Last active December 10, 2015 07:28
Arduino climiate monitor and control system that uses an Sensirion temperature and humidity sensor, a Maxim (Dallas) RTC and a Samsung 20x2 VFD display. RTC time is in 12 hour mode.
/* 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.
*/
@2N2222A
2N2222A / THPrev4aextendedwvoltageOLED.pde
Created October 17, 2012 05:29
Arduino temperature, humidity, and pressure monitor interfaced with a PICAXE OLED display.
//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.
*/
@2N2222A
2N2222A / MCP3421_test.pde
Created October 17, 2012 05:24
Arduino voltmeter using an MCP3421 18 bit ∆-∑ ADC
/*
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),
@2N2222A
2N2222A / THPrev4aextendedwvoltage.pde
Created June 26, 2012 19:33
Arduino Temperature/Humidity/Pressure Monitor
/* 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>
//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>