Skip to content

Commit

Permalink
Minor formatting cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelawrence committed Jun 5, 2019
1 parent 9d8f85f commit d041ae4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
*.xml
*.net
*.kicad_pcb-bak
code/WiFi_Septic_Controller/arduino_secrets.h
fp-info-cache
code/WiFi_Septic_Controller/arduino_secrets.h
code/WiFi_Septic_Controller/.vscode/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Wireless Septic Controller
I had some problems with my newly installed aerobic septic system when hurricane Harvey blew through. There was no significant flooding but there was plenty of rain and that seemed to cause the system to override pump multiple times. This board is designed to give visibility as to how often the pump runs and will detail alarm conditions. The effluent pump is controlled with an external 50A Solid-State-Relay (SSR). This board also provides an alarm output required by most aerobic septic systems. Normally the alarm switches are wired in parallel so that any alarm condition with turn on the light and audible alert. This board has separate inputs for three alarm switches so that the alarm condition can be identified. This board supports the following alarm types: air pressure failure alarm, tank high level alarm, and bleach low level alarm. WiFi is provided by an ATWINC1500 module which is an excellent low power WiFi module that is directly supported by Arduino. This board is fully compatible with the Arduino MRK1000 which includes a SAMD21G18 ARM processor and a ATWINC1500 module. This board uses MQTT to communicate with Home Assistant home automation software. The MQTT client/server model is very effective in this situation.
I had some problems with my newly installed aerobic septic system when hurricane Harvey blew through. There was no significant flooding but there was plenty of rain and that seemed to cause the system to override pump multiple times. This board is designed to give visibility as to how often the pump runs and will detail alarm conditions. The effluent pump is controlled with an external 50A Solid-State-Relay (SSR). This board also provides an alarm output required by most aerobic septic systems. Normally the alarm switches are wired in parallel so that any alarm condition will turn on the light and audible alert. This board has separate inputs for three alarm switches so that the alarm condition can be identified. This board supports the following alarm types: air pressure failure alarm, tank high level alarm, and bleach low level alarm. WiFi is provided by an ATWINC1500 module which is an excellent low power WiFi module that is directly supported by Arduino. This board is fully compatible with the Arduino MRK1000 which includes a SAMD21G18 ARM processor and a ATWINC1500 module. This board uses MQTT to communicate with Home Assistant home automation software. The MQTT client/server model is very effective in this situation.

This PCB design uses my custom libraries available here [Mike's KiCad Libraries](https://github.com/mikelawrence/KiCad-Libraries).

Expand All @@ -9,7 +9,7 @@ _Note: There is dangerous voltage present on this PCB. Use care when handling th

_Note: The LMZ21700 Simple Switcher, SAMD21G18 ARM Processor, and ATWINC1500 WiFi Module have exposed pads on the bottom which requires either a reflow oven or hot air to solder properly._

For Bill of Materials generation I use my version of [KiBoM](https://github.com/mikelawrence/KiBoM) forked from [SchrodingersGat](https://github.com/SchrodingersGat/KiBoM).
For Bill of Materials generation I use my version of [KiBoM](https://github.com/mikelawrence/KiBoM) forked from [SchrodingersGat](https://github.com/SchrodingersGat/KiBoM).

## Status
* Rev 1.1 PCB has been updated to support KiCad 5.1 libraries. Some footprints changed when libraries were updated but changes were minimal. This board has NOT been tested.
Expand Down
15 changes: 0 additions & 15 deletions WiFi-Septic-Controller-BOM.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,3 @@ Quantity,References,Description,Manufacturer,Part Number,Vendor,Vendor Part Numb
1,U6,"MODULE, SMD, WiFi, u.FL connector",Atmel,ATWINC1500-MR210UB1140,Mouser,579-C1500MR210UB1140
1,U8,"IC, QFN44, MCU, ARM, 256kB Flash, 32kB SRAM, 48MHz",Atmel,ATSAMD21G18A-MUT,Mouser,556-ATSAMD21G18A-MUT
1,Y1,"XTL, SMD, 32.768kHz",Abracon,ABS07-32.768KHZ-9-T,Mouser,815-ABS07-32.768K9T





Component Groups:,50
Component Count:,95
Fitted Components:,95
Number of PCBs:,1
Total components:,95
Schematic Version:,1.1
Schematic Date:,May 2019
BoM Date:,"Wednesday, May 15, 2019 at 09:08:21 PM"
Schematic Source:,/Users/mike/Documents/KiCad/WiFi-Septic-Controller/WiFi-Septic-Controller.sch
KiCad Version:,Eeschema (5.1.2-1)-1
6 changes: 3 additions & 3 deletions code/WiFi_Septic_Controller/SepticLCD.ino
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ void SepticLCDClass::updateDisplay() {
void SepticLCDClass::updateTime() {
char timeStr[8];

WiFiRTC.getTimeHM(timeStr); // get current time
strncpy(_row1, timeStr, 7); // copy time to row string
WiFiRTC.getTimeHM(timeStr); // get current time
strncpy(_row1, timeStr, 7); // copy time to row string
if (strlen(timeStr) < 7) {
_row1[6] = ' '; // add a space to the end
_row1[6] = ' '; // add a space to the end
}
}

Expand Down

0 comments on commit d041ae4

Please sign in to comment.