Files
PumpStateMachine/README.md
2023-09-26 16:19:17 -04:00

14 lines
1.2 KiB
Markdown

# PumpStateMachine
This is a little program written for an arduino to control a pump with two induction switches.
It is based on [this library](https://github.com/jrullan/StateMachine) and uses state machine logic.
Used components:
- 2x [Induction Switch](https://www.aliexpress.com/item/32965219918.html?spm=a2g0o.order_list.order_list_main.5.21ef586aXBF9dz) or 1x [Float Switch](https://s.click.aliexpress.com/e/_DCIed4F)
- 1x [Water Pump](https://www.aliexpress.com/item/32859594599.html?spm=a2g0s.9042311.0.0.27424c4dypXzoO)
- 1x [5V Relay](https://www.aliexpress.com/item/32358134833.html?spm=a2g0s.9042311.0.0.27424c4dyynnLY)
- 1x [Arduino Uno R3](https://www.aliexpress.com/item/32831857482.html?spm=a2g0o.productlist.0.0.19f16140AZZgOJ&aem_p4p_detail=202107131539031573662234321060028453385)
- 1x [12v Powersupply](https://s.click.aliexpress.com/e/_AWcEVU)
- 1x [Female DC Jack](https://www.aliexpress.com/item/32815757637.html?spm=a2g0s.9042311.0.0.27424c4dMtkAO7)
- 1x [Box (example)](https://s.click.aliexpress.com/e/_A2Mksa)
- 1x [12v to 5v for the Arduino](https://s.click.aliexpress.com/e/_AtmkyE)
- 1x [Outside connector to connect pump and float switch](https://s.click.aliexpress.com/e/_AVMj3k)