Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8755571ef4 | ||
| 4d7656e936 | |||
|
|
130ee5f5d0 | ||
|
|
dabb003733 | ||
|
|
e43dbf1349 |
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//Default Settings
|
//Default Settings
|
||||||
String Hardware = "0.12";
|
String Hardware = "0.12";
|
||||||
String Software = "0.11";
|
String Software = "0.12";
|
||||||
|
|
||||||
String ntp_server = "ntp2.uni-augsburg.de";
|
String ntp_server = "ntp2.uni-augsburg.de";
|
||||||
bool ntp_update = true;
|
bool ntp_update = true;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ void display_text(String text1, String text2){
|
|||||||
int freespace(String text){
|
int freespace(String text){
|
||||||
if (text.length() > 14)
|
if (text.length() > 14)
|
||||||
{
|
{
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
int freespace = 16 - text.length();
|
int freespace = 16 - text.length();
|
||||||
|
|||||||
BIN
LichtWeckerAnleitung.docx
Normal file
BIN
LichtWeckerAnleitung.docx
Normal file
Binary file not shown.
26
README.md
26
README.md
@@ -1,3 +1,27 @@
|
|||||||
# Licht_Wecker
|
# Licht_Wecker
|
||||||
|
|
||||||
Licht Wecker für die Bradls
|
Licht Wecker für die Bradls
|
||||||
|
|
||||||
|
## Verwendete Bauteile:
|
||||||
|
NodeMcu ESP8266
|
||||||
|
I2C LCD Display 1602
|
||||||
|
DS3231 Real Time Clock Modul
|
||||||
|
30 WS2801 LED’s
|
||||||
|
MP3 Sound Modul 3W
|
||||||
|
|
||||||
|
## Pin-Verschaltung:
|
||||||
|
### Taster (geschaltet gegen GND):
|
||||||
|
TIME: GPIO 3
|
||||||
|
SET: GPIO 0
|
||||||
|
ALARM: GPIO 2
|
||||||
|
### Sound Modul (5V Spannungsversorung über Transistor)
|
||||||
|
GPIO 9
|
||||||
|
### LCD:
|
||||||
|
SDA: GPIO 4
|
||||||
|
SDC: GPIO 5
|
||||||
|
### DS3231:
|
||||||
|
SDA: GPIO 4
|
||||||
|
SDC: GPIO 5
|
||||||
|
### WS2801:
|
||||||
|
DATA_PIN: GPIO 14
|
||||||
|
CLOCK_PIN: GPIO 13
|
||||||
|
|||||||
Reference in New Issue
Block a user