Skip to content

Commit

Permalink
Added pre-built files
Browse files Browse the repository at this point in the history
  • Loading branch information
aly-fly authored and SmittyHalibut committed Feb 24, 2022
1 parent badc44a commit 6257c58
Show file tree
Hide file tree
Showing 7 changed files with 25,532 additions and 2 deletions.
25,461 changes: 25,461 additions & 0 deletions Hardware SI HAI clock (chinese copy)/ESP pins.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
65 changes: 65 additions & 0 deletions Hardware SI HAI clock (chinese copy)/reverse board.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
74HC595

EleksTube
Ds (Data In): ESP32 pin 13, IO14, GPIO14
/OE (Output Enable): Strapped to Ground, always enabled.
STcp (Storage Register Clock Input): ESP32 pin 28, IO17, GPIO17
SHcp (Shift Register Clock Input): ESP32 pin 27, IO16, GPIO16

MyClock
Ds (Data In): ESP32 pin 26,IO4, GPIO4
/OE (Output Enable): Strapped to Ground, always enabled.
STcp (Storage Register Clock Input): ESP32 pin 33, IO21, GPIO21
SHcp (Shift Register Clock Input): ESP32 pin 36, IO22, GPIO22

-----------------------------------------------------------------------------

WS2812

Elekstube
pin 14,GPIO12

MyClock
pin 8, GI032
------------------------------------------------------------------------------
BUTTONS

Elekstube
<<<: ESP32 pin 9, IO33
MODE: ESP32 pin 8, IO32
>>>: ESP pin 7, IO35
POWER: ESP pin 6, IO34

MyClock
<<<: ESP32 pin 7, IO35
MODE: ESP32 pin 6,IO34
>>>: ESP pin 5, IO39
POWER: ESP pin 4, IO36
-----------------------------------------------------------------------------------
Instead of RTC DS3231 in my clock is DS1302Z

MyClock- DS1302Z is connected to ESP32 with this 3 pins

Elekstube(DS3231 )
#define RTC_SCL_PIN (22)
#define RTC_SDA_PIN (21)

MyCLock(DS1302Z)
pin11,IO26
pin 10,IO25
pin 9,IO33
-------------------------------------------------------------------------------------
TFT Displays

Elekstube
TFT pin 5, SDA, ESP32 pin 37, IO23, VSPID
TFT pin 6, SCL, ESP32 pin 30, IO18, VSPICLK
TFT pin 4, RS (Register Select, or DC Data Command), ESP32 pin 10, IO25
TFT pin 3, RESET (active low), ESP32 pin 11, IO26

MyCLock
??????????Cant find?????????




8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ On Windows 10, plug-in the cable and run Windows Update. It will find and instal
On Linux it works out of the box.
### Save your original FW
* Install ESP32 support (see below)
* Navigate to folder `\Arduino\..\packages\esp32\tools\esptool_py\3.0.0`
* Navigate to folder `\Arduino\..\packages\esp32\tools\esptool_py\3.0.0` or `\original-firmware\`
* Copy file `\original-firmware\_ESP32 save flash 4MB.cmd` and `_ESP32 write flash.cmd` to this folder
* Change COM port number inside both files
* Run "save flash" file and wait until it saves the contents of your flash to `backup1.bin`
Expand All @@ -51,6 +51,10 @@ On Linux it works out of the box.
# How to build this firmware
Unfortunately, it's not simple plug-and-play. You need to do some things. These instructions assume you already know how to use the Arduino IDE, and just need to know WHAT to do.

If you just want to use new firmware without setting up all the tools and libraries and everything, just navigate to folder `\original-firmware\` and modify `_ESP32 write flash.cmd` to upload latest version (BUILD_ELEKSTUBE_xxxxxxx.bin) or (BUILD_SI_HAI_xxxxxxx.bin) to your clock.

Note that you will use my geolocation API key which has limited usage. If we all together exceed their free plan, it will stop working.

## Download this code
You're either reading this file after downloading it already, or you're reading it on github. I'll assume you can figure out how to get the code from github and put it somewhere on your local machine. This is your preference.

Expand Down Expand Up @@ -145,4 +149,4 @@ See SmittyHalibut on GitHub (original author of this alternative FW) for details
My notes are in the document `Hardware pinout.xlsx`

*Happy hacking!*
- Aljaz
- Aljaz
Binary file not shown.
Binary file added original-firmware/BUILD_SI_HAI_20220224.bin
Binary file not shown.
Binary file added original-firmware/esptool.exe
Binary file not shown.

0 comments on commit 6257c58

Please sign in to comment.