https://github.com/cinderblock/toaster
A simple web dashboard for my SMT reflow oven (T-962 + Raspberry Pi)
https://github.com/cinderblock/toaster
Last synced: about 2 months ago
JSON representation
A simple web dashboard for my SMT reflow oven (T-962 + Raspberry Pi)
- Host: GitHub
- URL: https://github.com/cinderblock/toaster
- Owner: cinderblock
- License: other
- Created: 2023-04-19T07:38:53.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T07:59:39.000Z (about 2 years ago)
- Last Synced: 2025-10-27T02:40:29.547Z (8 months ago)
- Language: TypeScript
- Size: 5.44 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toaster
A simple web dashboard for my SMT reflow oven (T-962 + Raspberry Pi)
## First time setup
1. Install [Raspberry Pi OS](https://www.raspberrypi.com/software/) on your Raspberry Pi
2. Setup [access to your Pi](https://www.raspberrypi.com/documentation/computers/remote-access.html) via SSH with a private key
3. Run `npm i` (`npm install`) locally (development computer) to install dependencies
4. Run `npm start` locally to deploy the app to your Pi
## Development
### Develop alongside [RDT](https://github.com/cinderblock/rdt)
1. Run `npm i` in both the `toaster` and `rdt` directories to set them up
- Run `npm run watch` in `rdt` to build continuously
2. Replace dist package in `node_modules/@cinderblock/rdt` with a symlink to your local `rdt/.dist` directory
- Linux
```
rm -rf node_modules/@cinderblock/rdt
ln -s ~/path/to/rdt node_modules/@cinderblock/rdt
```
- Windows _(PowerShell, [ensure "Developer Mode" is enabled](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development#activate-developer-mode))_
```
rm -r -fo node_modules/@cinderblock/rdt
$null = New-Item -ItemType Junction -Path node_modules/@cinderblock/rdt -Value ~/path/to/rdt/.dist
```
## Hardware Connections
Following the hardware improvements from [Unified Engineering](https://github.com/UnifiedEngineering/T-962-improvements), we also add a Raspberry Pi Zero W to the oven to control it.
The `lpc-flash` library can also handle flashing the latest firmware on startup to ensure a consistent state.
By adding a U.FL connector to the Pi, we can use a "U.FL to SMA adapter" to add an external antenna to the oven.
This allows us to place the Pi inside of the oven, and still have a reliable WiFi connection.



### Raspberry Pi Zero W Connections
| Oven | Description | Pi # | GPIO | Wire Color |
| ---------- | ------------ | ---- | ---- | ---------- |
| **Ribbon** | | | | |
| 1 | `n_ISP` | 11 | 17 | Yellow |
| 2 | `n_RESET` | 12 | 18 | Orange |
| 3 | Device ➡️ Pi | 10 | 15 | Red |
| 4 | Device ⬅️ Pi | 8 | 14 | Brown |
| 5 | `GND` | 6 | | Black |
| **Other** | | | | |
| _5V_ | 5V Supply | 4 | | Red |