add assembly images
This commit is contained in:
parent
08c524d7d7
commit
5e551355ad
4 changed files with 15 additions and 5 deletions
16
README.md
16
README.md
|
@ -3,6 +3,8 @@ This project is a wind direction sensor made of scraps I happened to have. Feel
|
||||||
|
|
||||||
Estimated time: a few hours? idk, depends how neat you want it.
|
Estimated time: a few hours? idk, depends how neat you want it.
|
||||||
|
|
||||||
|
obligatory identification for the peer reviewers: [discord message link](https://discord.com/channels/720703210884563065/835516699263762483/1369758839167123586) (i also have the same nickname and profile pic there so it should be easy to find me)
|
||||||
|
|
||||||
## Objective
|
## Objective
|
||||||
The purpose of this device was really just an excuse for me to build a rotary encoder. But I do also want to investigate the feasibility of making a DIY wind turbine for charging things, so the data generated by this could be used to figure out a good location for that. Although wind speed is more relevant than direction.
|
The purpose of this device was really just an excuse for me to build a rotary encoder. But I do also want to investigate the feasibility of making a DIY wind turbine for charging things, so the data generated by this could be used to figure out a good location for that. Although wind speed is more relevant than direction.
|
||||||
|
|
||||||
|
@ -10,17 +12,20 @@ The purpose of this device was really just an excuse for me to build a rotary en
|
||||||
As previously noted, these materials are just scraps I had, exact measurements and type are not important. If you have access to a 3D printer or laser cutter and MDF, that would likely give a neater result, but you'd have to model the parts first.
|
As previously noted, these materials are just scraps I had, exact measurements and type are not important. If you have access to a 3D printer or laser cutter and MDF, that would likely give a neater result, but you'd have to model the parts first.
|
||||||
|
|
||||||
- soldering tools
|
- soldering tools
|
||||||
- glue - I used hot glue but [wheat paste might be a better alternative](https://www.youtube.com/watch?v=45JhacvmXV8)
|
- glue - I used hot glue but [wheat paste might be a better alternative for the cardboard only joins](https://www.youtube.com/watch?v=45JhacvmXV8)
|
||||||
- compass (the drawing tool)
|
- compass (the drawing tool)
|
||||||
- sharp knife
|
- sharp knife
|
||||||
- black marker
|
- black marker
|
||||||
- white paper
|
- white paper
|
||||||
- 10k Ohm resistor x3
|
- 10k Ohm resistor x3
|
||||||
|
- 220 Ohm resistor
|
||||||
- photoresistor x3 (TODO detail)
|
- photoresistor x3 (TODO detail)
|
||||||
|
- white LED
|
||||||
- Raspberry Pi Pico W/WH
|
- Raspberry Pi Pico W/WH
|
||||||
- bearing 25mm diameter
|
- bearing 25mm diameter
|
||||||
- large, opaque plastic box
|
- large, opaque plastic box
|
||||||
- piece of wood ~2x2x14cm
|
- wood block ~2x2x14cm
|
||||||
|
- thin flat sticks ~20cm x4
|
||||||
- 3mm & 5mm drill
|
- 3mm & 5mm drill
|
||||||
- wires
|
- wires
|
||||||
|
|
||||||
|
@ -47,9 +52,13 @@ As previously noted, these materials are just scraps I had, exact measurements a
|
||||||
- Solder the components using the diagram below
|
- Solder the components using the diagram below
|
||||||
TODO diagram
|
TODO diagram
|
||||||

|

|
||||||
|
## full assembly
|
||||||
|
TODO
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## Computer setup
|
## Computer setup
|
||||||
I used VS code but you only need a terminal for building this.
|
I used VS code but you don't need any extensions for just building this.
|
||||||
|
|
||||||
### Pico firmware
|
### Pico firmware
|
||||||
Requires the following software: `git`, `make`, `cmake` and a C compiler
|
Requires the following software: `git`, `make`, `cmake` and a C compiler
|
||||||
|
@ -57,6 +66,7 @@ Requires the following software: `git`, `make`, `cmake` and a C compiler
|
||||||
git clone https://git.crispypin.cc/CrispyPin/wind_station
|
git clone https://git.crispypin.cc/CrispyPin/wind_station
|
||||||
```
|
```
|
||||||
Now edit the file `pico/src/wifi_cred.h` and update the values accordingly.
|
Now edit the file `pico/src/wifi_cred.h` and update the values accordingly.
|
||||||
|
- note: if you change the port, also change it in `wind_server/src/main.rs`
|
||||||
|
|
||||||
Finally build it with:
|
Finally build it with:
|
||||||
```
|
```
|
||||||
|
|
BIN
img/support_pieces.jpg
Normal file
BIN
img/support_pieces.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 169 KiB |
BIN
img/vertical_axle.jpg
Normal file
BIN
img/vertical_axle.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
|
@ -1,6 +1,6 @@
|
||||||
use std::io::{BufRead, BufReader};
|
use std::io::{BufRead, BufReader};
|
||||||
|
|
||||||
const IOT_BIND_ADDR: &str = "192.168.0.108:13122";
|
const IOT_BIND_ADDR: &str = "0.0.0.0:13122";
|
||||||
//const HTTP_BIND_ADDR: &str = "192.168.0.108:80";
|
//const HTTP_BIND_ADDR: &str = "192.168.0.108:80";
|
||||||
|
|
||||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue