Hi I'm Ali & This Project is a Lightweight, Portable Directory Synchronization Device With External Memory for receiving Backup that does NOT Require a Host With Backup Power.
- Arduino Board & And Other Module (Hardware)
- Psyncer Repository.
The Size Of The microSD card determines the sync memory capacity.
If You Don't want to use Battery and Charge Module Just Remove them ( 3 , 4 ) and Plug The Arduino Board to 5V BUT Remember You Don't Have Backup Power
- BreadBoard & Jumpers Wires (Optional)
Wemos D1 Mini & SD Card Adapter Pins in common:
| D1 Mini | SD Adapter |
|---|---|
| GND | GND |
| 3v3 | 3v3 |
| D8 | CS |
| D7 | MOSI |
| D6 | MISO |
| D5 | CLK |
Wemos D1 Mini & TP4056 Pins in common:
| D1 Mini | TP4056 |
|---|---|
| GND | OUT - |
| 5V | OUT + |
TP4056 & Battery :
| TP4056 | Battery |
|---|---|
| B - | Negative OF Battery |
| B + | Positive OF Battery |
Clone or Download This Repository & Choose One of the Methods below.
-
Using Arduino IDE
-
Install Arduino IDE : From the Arduino website, Download & install the latest Arduino IDE (v1.8 or later). Available for Windows, Mac, Linux & ARM.
-
Add the ESP8266 module libraries: From File > Preferences, add a Boards Manager URL
http://arduino.esp8266.com/stable/package_esp8266com_index.jsonFrom Tools > Board > Board Manager, search for D1 mini and install (+/- 150MB) -
Connect The Board : From Tools > Port select the correct COM port# as assigned to the device.
-
Install Libraries From Tools> Manage Libraries Search And Install . ESP8266.h Library . SD.h Library
-
Open the Arduino Skech from
./arduino/arduino_skech/arduino_skech.ino -
Upload Code On the Module With Clicking on Upload Icon like below Image .
-
-
Using esptool/py
- Dependencies : . Install Python . . Install esptool.py .
- Find The COM You use And Run The Script In
./binDirectory :
cd ./bin esptool --port COM4 write-flash 0x0000 ./esptool.bin
If You Have Unkown Error or For More Information About Esptool Refer to Esptool.py Docs .
- Simple Way :
- Connect To
psycho-syncWiFi with12345678Password. - Open
http:/40.0.0.4/sd/template/simple/url. - Done SD Card is Set With Simple Functions.
- Connect To
- Advance Way :
- Access to microSD Card.
- Format it (Earese All Data).
- Copy & Paste The Content of
./sdDirectory into microSD Card. - Done.
Go To Psyncer Repository & Install it .
- Psyncer Repository. A Debug Enviromant that Sync a Directory Between Devices Connected to Psycho-Syncer & Module itself.
- Manual Psycho-Syncer Docs. With Some POST & GET Requests Send or Get and Manage Files in microSD Card.

