-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dev-firmware
- Loading branch information
Showing
21 changed files
with
258,609 additions
and
14 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# MoonWatch | ||
# MoonWatch | ||
|
||
<img src="docs/Moonwatch.png" alt="Moonwatch"/> | ||
|
||
The Moonwatch is a project originating from the Klipper community that tries to realize something similar to the project "Printer Monitor" by Qrome. | ||
It utilizes the moonraker API in order to gather information about your printer's current status and displays them in a comprehensive manner. | ||
Whenever your printer is not running it simply shows a watch. | ||
|
||
The goal of the project is to make for an easy and cheap yet very useful and fun little project for all the Klipper lovers out there! | ||
|
||
It has to be noted that this project is still in development and therefore everything is subject to change. | ||
|
||
*** | ||
|
||
How to setup your watch see the [getting started guide](/docs/GettingStarted.md). | ||
|
||
**Note:** Be aware this is an very early software state and there is no guarantee its working without any issues. | ||
|
||
# Enjoy! |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# Getting started guide | ||
|
||
This document gives an explanation how to setup your own MoonWatch! | ||
|
||
## Bill of Materials | ||
|
||
- 1,8" TFT SPI Display ST7735 (Support for additonal Displays is coming soon) | ||
- D1 Mini - ESP8266 | ||
- Up to 4 WS2812B LEDs | ||
- A few jumper cables and dupont connectors (see wiring) | ||
- 4 pcs of M3x6 screws | ||
|
||
## Printlist | ||
|
||
- 1 [Frontplate](../STL/Frontplate.stl) | ||
- 1 [Backplate](../STL/Backplate.stl) | ||
- 1 [Enclosure](../STL/Enclosure.stl) | ||
- 1 [Led Clip](../STL/LED_Clip.stl) | ||
|
||
|
||
**Print settings:** | ||
|
||
Nozzle Diameter: 0.4mm<br /> | ||
Layer Height: 0.2mm<br /> | ||
Print without supports<br /> | ||
|
||
## Wiring | ||
|
||
![Wiring](Moonwatch_Cabling.jpg) | ||
|
||
## Software | ||
### Flash firmware | ||
|
||
#### Windows guide (*NIX systems follow soon) | ||
|
||
In order to flash the software you first need to install the CH340 USB-Driver for the ESP8266. | ||
Download and install it from [https://wemos.cc](https://www.wemos.cc/en/latest/ch340_driver.html). After installing get the [latest release](https://github.com/rackrick/MoonWatch/releases) of MoonWatch. Unzip and run `moonwatch-flash.bat`. | ||
|
||
**Warning: This will erase your ESP8266 current memory and will overwrite it with the MoonWatch firmware.** | ||
|
||
Enter the COM-Port of your ESP8266 and hit enter twice to start the flashing process. | ||
If you don't know the COM-Port number open the Windows Device Manger -> Ports (COM & LPT) and look for `USB-Serial CH340`. | ||
|
||
Is the firmware sucessfully flashed to your ESP8266 the MoonWatch should boot now and display the setup instructions. | ||
|
||
### Configuration | ||
|
||
As soon the Moonwatch starts it will open the `MoonWatch` wifi network for the initial setup. | ||
Connect with your wifi device of joice to the MoonWatch network and browse to [http://192.168.4.1](http://192.168.4.1). | ||
Enter your wifi network name and password and hit save. The interface should prompt you to reset your Moonwatch to apply the new settings. | ||
After the restart it connects to your own wifi and displays the ip optained from your router. | ||
|
||
**Note:** The Configuration Network and the storage of the MoonWatch is not encrypted. Make sure to use MoonWatch in an safe envoirment. | ||
|
||
On an successfull connection to your local wifi network. MoonWatch will disable the configuration hotspot and is reachable with the IP displayed on startup. | ||
Use the Interface to add your printers to watch and enjoy your MoonWatch. | ||
|
||
|
||
## Interface Settings | ||
|
||
#### General | ||
- Wifi Network: The SSID / Name of your network | ||
- Wifi Password: Your password goes here | ||
- Display Type: For future use to select the installed display. | ||
|
||
#### Printers | ||
|
||
Button `Add Printer`: Add a new printer to your configuration<br /> | ||
Button `Remove Printer`: Removes the last printer from your configuration | ||
|
||
- Printer Name: Display name of your printer. | ||
- Host: Hostname or IP-Adress of your printer. | ||
- Led#: 0 based index of the avaible LEDs. This option defines which LED shows the status of this printer. | ||
|
||
#### LED | ||
|
||
- Number of LEDs: Sets the number of avaible LEDs on your LED stripe. | ||
- Status Led#: 0 based index of avaible LEDs. This option defines which LED shows the MoonWatch system status.<br /> | ||
(0 = LED 1 on the stripe, 1 = LED 2, ...) | ||
- Brightness: Sets the brightness of your LED stripe. 0-255 (0 = off, 255 = max power). | ||
|
||
## Troubleshooting | ||
|
||
1. Display stays white<br /> | ||
Check your wiring. | ||
|
||
2. LED stripe is not working<br /> | ||
The WS2812B have a direction from where the data shoule be coming. Check the arrow on the stripe. | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
.vscode/c_cpp_properties.json | ||
.vscode/launch.json | ||
.vscode/ipch | ||
data/moonwatch.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"general": { | ||
"wifi": "", | ||
"password": "", | ||
"display": 0, | ||
"utcoffset": 2 | ||
}, | ||
"printers": [ | ||
{ | ||
"name": "yourprinter", | ||
"host": "moonrakerhost", | ||
"led": 1 | ||
} | ||
], | ||
"led": { | ||
"numleds": 5, | ||
"brightness": 10, | ||
"statusled": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ namespace RP { | |
String wifi; | ||
String password; | ||
int display; | ||
int utcoffset; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters