forked from CCHS-Melbourne/ESPlant
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge from upstream #1
Open
pjbirch
wants to merge
108
commits into
pjbirch:master
Choose a base branch
from
CCHS-Melbourne:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
while It seems like there's a circumstance where i2c interaction "breaks" USB (some event is skipped and then no UART data gets sent until later on when the buffer is full.) The hacky fix for this is making I2C lower priority than USB. The problem with this fix is that sometimes (when receiving CDC data from the host) the USB can spend a while in its interrupt handler, which starves I2C if that is at lower priority...
…arer which license applies where
Added initial version of the MQTT logging firmware.
(Disabled UV sensor due to failed to get a reading indoors, disabled IR sensor due to not working at 3.3V.)
Whole board down to 4.4mA when ESP8266 is asleep. Odd thing is this drops to 2.1mA immediatel after STM32 is reset. Cause appears to be writing to ADC channels (from ADC_CHANNEL[3] and up), even if the channels are being disabled not enabled. Not clear what the real cause is yet. Lots of workarounds in code now, none of which appear to have a large impact.
Thanks @pidcodes for providing this community service. As per http://pid.codes/1209/9021/
Color code is super configurable: - how quickly you change from one color to the next (next target color is picked randomly) - how many steps of intermediate colors you get between color A and color B - how long you stay on color B before picking a new color - how many trailing LEDs of previous colors get displayed - how bright the neopixels are driven (default is very bright and blinding) BUG: serial port shows that code does not hang and happily continues to drive the next LED, but underlying hardware hangs on occasion and fails to reliably send color change signals to GPIO15, causing some LED change commands to get lost. One guess is that the underlying wifi or other management causes GPIO pin big banging to slow down enough for LEDs to miss updates commands that are sent by the code.
(because we could have changed to another LED by then). Also adjust led trail and timing.
re-ordered values by type (temps together, volts together, etc...) Added output of solar panels (use a voltage divider, connect to ADC2) Also added units for each output.
Added solar voltage, units for values, and re-ordered output by type.
Improved output of values, and added neopixel streaming LED with color picker to random new color.
Made PV output voltage an ifdef since it's not supported by default hw.
Improved documentation.
(thanks to wolfeidau for pointing that out)
Re-organized logging output by type and with units added.
- RGB_LED_BRIGHTNESS is now controlled by the first soil tester - RGB_LED_TRAIL (and speed) is also now controlled by the 2nd soil tester - added support for motion detector (which turns on the LEDs) (define FIXED_MOTION_SENSOR)
Small cleanups, added support for changing LED trail length and speed.
Thanks to @RobynWillison for reporting this. Closes #20.
Closes #4 Bump version V1.5
Syntax fixes, delay to allow sending all MQTT logging
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.