Show us a project you did with this board.
I thought you'll never ask
So, this board is real and here is one (fast) project with it. Date, time, humidity and temperature readings.
Photos from my Facebook page.
Modules and components used:
Arduino UNO, PROTO-E, LCD1602, DHT11, Tiny RTC, 10k trimpot, wires...
Scheme:
Bottom side... wiring... hardcore. I agree... could be better...
Top side, and it's working...
// libraries & Init:
#include <LiquidCrystal.h>
#include <dht.h>
#define dht_dpin A2
dht DHT;
#include <Wire.h>
#include <RTClib.h>
RTC_Millis RTC;
// LCD pins setup
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// LCD initialization
lcd.begin(16, 2);
lcd.print("Initializing...");
Serial.begin(57600);
// following line sets the RTC to the date & time this sketch was compiled
RTC.begin(DateTime(__DATE__, __TIME__));
delay(1000);
}
void loop() {
// set cursor @ row 1, pos 1
lcd.setCursor(0, 0);
DateTime now = RTC.now();
DHT.read11(dht_dpin);
lcd.clear();
lcd.print(now.day(), DEC);
lcd.print(".");
lcd.print(now.month(), DEC);
lcd.print(".");
lcd.print(now.year(), DEC);
lcd.print(". ");
lcd.print(now.hour(), DEC);
lcd.print(":");
lcd.print(now.minute(), DEC);
lcd.print(" ");
// set cursor @ row 2, pos 1
lcd.setCursor(0, 1);
lcd.print("H=");
lcd.print(int(DHT.humidity));
lcd.print("% ");
lcd.print("T=");
lcd.print(int(DHT.temperature));
lcd.print("C ");
delay(3000);
}
More projects coming soon...