-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,419 additions
and
0 deletions.
There are no files selected for viewing
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,3 +1,7 @@ | ||
# PlatformIO Files | ||
.pio | ||
.vscode | ||
|
||
# Prerequisites | ||
*.d | ||
|
||
|
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,67 @@ | ||
# Continuous Integration (CI) is the practice, in software | ||
# engineering, of merging all developer working copies with a shared mainline | ||
# several times a day < https://docs.platformio.org/page/ci/index.html > | ||
# | ||
# Documentation: | ||
# | ||
# * Travis CI Embedded Builds with PlatformIO | ||
# < https://docs.travis-ci.com/user/integration/platformio/ > | ||
# | ||
# * PlatformIO integration with Travis CI | ||
# < https://docs.platformio.org/page/ci/travis.html > | ||
# | ||
# * User Guide for `platformio ci` command | ||
# < https://docs.platformio.org/page/userguide/cmd_ci.html > | ||
# | ||
# | ||
# Please choose one of the following templates (proposed below) and uncomment | ||
# it (remove "# " before each line) or use own configuration according to the | ||
# Travis CI documentation (see above). | ||
# | ||
|
||
|
||
# | ||
# Template #1: General project. Test it using existing `platformio.ini`. | ||
# | ||
|
||
# language: python | ||
# python: | ||
# - "2.7" | ||
# | ||
# sudo: false | ||
# cache: | ||
# directories: | ||
# - "~/.platformio" | ||
# | ||
# install: | ||
# - pip install -U platformio | ||
# - platformio update | ||
# | ||
# script: | ||
# - platformio run | ||
|
||
|
||
# | ||
# Template #2: The project is intended to be used as a library with examples. | ||
# | ||
|
||
# language: python | ||
# python: | ||
# - "2.7" | ||
# | ||
# sudo: false | ||
# cache: | ||
# directories: | ||
# - "~/.platformio" | ||
# | ||
# env: | ||
# - PLATFORMIO_CI_SRC=path/to/test/file.c | ||
# - PLATFORMIO_CI_SRC=examples/file.ino | ||
# - PLATFORMIO_CI_SRC=path/to/test/directory | ||
# | ||
# install: | ||
# - pip install -U platformio | ||
# - platformio update | ||
# | ||
# script: | ||
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N |
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,87 @@ | ||
# <a name="top"></a>![BrewPi Legacy Remix Logo](https://raw.githubusercontent.com/brewpi-remix/brewpi-www-rmx/master/images/brewpi_logo.png) | ||
|
||
# BrewPi Family Arduino Uno Test | ||
|
||
This firmware will allow you to test the setup of your BrewPi family Arduino Uno. The program will: | ||
|
||
1. Turn the onboard LED on | ||
1. Scan for an I2C device. If found, it will use A0 for sensor tests; otherwise, it will use the original A4 pin for sensors. If the program detects an I2C LCD, a test message will display | ||
1. Check the OneWire | ||
1. Display if parasitic sensors are present on the bus | ||
1. Display the number and type of sensors found | ||
1. Display the address and current temperature for each sensor | ||
1. Test the heat and cool relays (pins 5 and 6) | ||
1. Clear the EEPROM to avoid issues saving the sensors later on | ||
|
||
# ![Arduino Uno Pin Diagram](ttps://raw.githubusercontent.com/brewpi-remix/uno-test/master/images//Arduino-Uno-Pin-Diagram.png) | ||
|
||
It will automatically check for an I2C display, and if found, will show a test on the display. It will then scan the proper pin for the variant; A4 if no I2C is detected, and A0 if an I2C is present. | ||
|
||
Results using a standard or parallel LCD system: | ||
|
||
``` | ||
BrewPi Family Arduino Uno Test beginning. | ||
Scanning I2C bus. | ||
No I2C devices found. | ||
I2C scan complete. | ||
Checking 18 for OneWire devices. | ||
Parasitic power is off for the OneWire bus on pin 18. | ||
Detected 2 devices on pin 18. | ||
Device 18:0 is a DS18B20 device. | ||
Device 18:1 is a DS18B20 device. | ||
Sensor: 18:0 Address: 28:EE:7E:28:2C:15:0:BB Temperature: 18.94°C | ||
Sensor: 18:1 Address: 28:EE:B1:35:23:15:0:C Temperature: 21.62°C | ||
Testing relay pin 5. | ||
Turning pin 5 on. | ||
Turning pin 5 off. | ||
Relay test on pin 5 complete. | ||
Testing relay pin 6. | ||
Turning pin 6 on. | ||
Turning pin 6 off. | ||
Relay test on pin 6 complete. | ||
Clearing EEPROM. | ||
EEPROM clear complete. | ||
BrewPi Family Arduino Uno Test complete. | ||
``` | ||
|
||
Results using an I2C LCD system: | ||
|
||
``` | ||
BrewPi Family Arduino Uno Test beginning. | ||
Scanning I2C bus. | ||
I2C device found at address 0x3F. | ||
Setting LCD display at 0x3F. | ||
I2C scan complete. | ||
Checking 14 for OneWire devices. | ||
Parasitic power is off for the OneWire bus on pin 14. | ||
Detected 2 devices on pin 14. | ||
Device 14:0 is a DS18B20 device. | ||
Device 14:1 is a DS18B20 device. | ||
Sensor: 14:0 Address: 28:EE:7E:28:2C:15:0:BB Temperature: 19.00°C | ||
Sensor: 14:1 Address: 28:EE:B1:35:23:15:0:C Temperature: 19.31°C | ||
Testing relay pin 5. | ||
Turning relay on pin 5 on. | ||
Turning relay on pin 5 off. | ||
Relay test on pin 5 complete. | ||
Testing relay pin 6. | ||
Turning relay on pin 6 on. | ||
Turning relay on pin 6 off. | ||
Relay test on pin 6 complete. | ||
Clearing EEPROM. | ||
EEPROM clear complete. | ||
BrewPi Family Arduino Uno Test complete. | ||
``` | ||
|
||
# ![LCD Display](ttps://raw.githubusercontent.com/brewpi-remix/uno-test/master/images//i2c_test.jpg) |
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 @@ | ||
<!doctype html> | ||
|
||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title>Index</title> | ||
<meta name="description" content="Index"> | ||
<meta name="author" content="Me"> | ||
|
||
<link rel="stylesheet" href="/styles.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
<script src="/scripts.js"></script> | ||
</body> | ||
|
||
</html> |
Empty file.
Empty file.
Oops, something went wrong.