This commit is contained in:
pyr0ball 2019-11-06 14:07:47 -08:00
commit cd3503beb3
10 changed files with 2819 additions and 26 deletions

View file

@ -931,4 +931,177 @@ Changelog updated 2019-10-09_20-40-12
- Firmware shipped with Beta2 (v2.1.0) #changelog [view commit](http://github.com/pyr0ball/pyr0piezo/commit/e5e14583917c77ca48351c8057917f5a09ca2817)
------------------------------------
### v2.1.4 to v2.1.5
Changelog updated 2019-10-30_18-51-54
*Added Features*
- Added silkscreen of board revision for EzPz [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a91f8d6848e48c98fdf76a7ffa6ba939cb41c9b0)
- added piezo-disk carrier boards by request [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0655da487ecc244ba4df18fe941a994796f60695)
- Created DIY standalone board for use with external MCU [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98cc387b20a6d52af0343cddd30effe4b91d37e1)
- new major version for addressing #48 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/60e6f8d62b2bd8ed87a81bef3d61ac044e216713)
- Exported Eagle parts library into project [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6fe3abe5f077498f81701c36427d5bb6ff173c46)
- Added blank ino file for compatibility with arduino ide [view commit](http://github.com/pyr0ball/pyr0piezo/commit/485797268932c58299642e06109ff2f74524d977)
- Added serial feedback for trigger function [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5e69da1139207792025bde533b421896a33ebb5b)
------------------------------------
*Bugfixes*
- fixed polarity for trigger LED on DIY board [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5058ba29722eecd9b2440a12f4efd08edc60d91e)
- Adds 1 to the blinkcount integer, trying to fix #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f8efc3d192da328ebaa0f9038c133dedaf4f9d0a)
- fixed definition preventing serial response in #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/266ae5cd9e0748a2fb6e4283090fa64711c4e8e7)
- Fixed config reset #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/8fea926ace694eebdb81a09cd86cd15ace10acbd)
- final edit to fix #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/81fb71a08ab3e1fd7af7358380386a68978a1136)
------------------------------------
*Documentation Updates*
- added documentation category to docs script [view commit](http://github.com/pyr0ball/pyr0piezo/commit/322073f0d0be24ce182ad470ad84fb66b192bf04)
- Added some images for v2.1.2 boards [view commit](http://github.com/pyr0ball/pyr0piezo/commit/851cdbc2ba1fff399f671cb912952398802ef3b6)
- added differentiation in docs structure between versions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d09f40e70673aff838fadfc03b78731639458eba)
- removed redundant changelog file [view commit](http://github.com/pyr0ball/pyr0piezo/commit/215a6c3567cb58bb1afaf1f2a44073df8db39e90)
- Updated piezo config docs with serial applications [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d77ba16ccae9fd1df0dcf5fe99d10f4218b499f5)
- Added beginning of doc explaining circuit settings [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5fcdb578c912223b70448da2480370650e816dd7)
- documentation formatting fixes [view commit](http://github.com/pyr0ball/pyr0piezo/commit/83e39f5debf331f75021ebf3e2959892d1dd3e51)
- typo fix in docs [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eeb2298bd6527a8691adcdde9871cd954ad13203)
- renamed Eagle Files to reflect product name [view commit](http://github.com/pyr0ball/pyr0piezo/commit/95d211825643e7a5e3d456082fe428fdec855ecd)
- Added page for PT100 RTD sensor [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9445ce76cffe2bf4394f930a459baf1ddabe0ad7)
- Added PT100 to docs site nav [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6bb10d4cc6ecc801ce412a8240888de18939387e)
- attempting to fix the discord widget in README [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bf4b1a3ef00fa537d02c573a29e1e6335a3ab866)
------------------------------------
*Full Changelog*
- analogWrite is replaced with native phase correct PWM, 4kHz 10-bit on comparator and 16kHz 8-bit on voltage follower [view commit](http://github.com/pyr0ball/pyr0piezo/commit/14032ba3252b1b75f42ded4cc6ed8a8c9dc94a59)
- Merge pull request #38 from loredan/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a23ce17bbe13af5b159aff063b8219df99b783ef)
- updated documentation for i3 mounts [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f1afd523973e408dd6d566c7162a6dd84ce05e84)
- added documentation category to docs script [view commit](http://github.com/pyr0ball/pyr0piezo/commit/322073f0d0be24ce182ad470ad84fb66b192bf04)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bcdeec20c7318e35f363d39f8703310db44df3e1)
- Added some images for v2.1.2 boards [view commit](http://github.com/pyr0ball/pyr0piezo/commit/851cdbc2ba1fff399f671cb912952398802ef3b6)
- added differentiation in docs structure between versions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d09f40e70673aff838fadfc03b78731639458eba)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/607a20523256a70bfec6e0782c8d374e4fc6834c)
- removed redundant changelog file [view commit](http://github.com/pyr0ball/pyr0piezo/commit/215a6c3567cb58bb1afaf1f2a44073df8db39e90)
- Added silkscreen of board revision for EzPz [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a91f8d6848e48c98fdf76a7ffa6ba939cb41c9b0)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0dc3e5913e83fc537d5508505ca9ae5c48e44472)
- Merge branch 'loredans-additions' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/b7b40be14bc98ca72fb9f895a1d7d05b4a55e05d)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5cbd1ae13109c612b875c751688d4a4d3493e3de)
- Updated piezo config docs with serial applications [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d77ba16ccae9fd1df0dcf5fe99d10f4218b499f5)
- Added beginning of doc explaining circuit settings [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5fcdb578c912223b70448da2480370650e816dd7)
- documentation formatting fixes [view commit](http://github.com/pyr0ball/pyr0piezo/commit/83e39f5debf331f75021ebf3e2959892d1dd3e51)
- typo fix in docs [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eeb2298bd6527a8691adcdde9871cd954ad13203)
- added piezo-disk carrier boards by request [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0655da487ecc244ba4df18fe941a994796f60695)
- pull before push [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f38b559da85933daae14679d3e7a6b02086cadcd)
- pull before push [view commit](http://github.com/pyr0ball/pyr0piezo/commit/b0225496a4cce878bb54ccbb0a713fd7f8ab78e3)
- Created DIY standalone board for use with external MCU [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98cc387b20a6d52af0343cddd30effe4b91d37e1)
- fixed polarity for trigger LED on DIY board [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5058ba29722eecd9b2440a12f4efd08edc60d91e)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/884d65690a451189327394686514dcd56b728eb8)
- renamed Eagle Files to reflect product name [view commit](http://github.com/pyr0ball/pyr0piezo/commit/95d211825643e7a5e3d456082fe428fdec855ecd)
- Added page for PT100 RTD sensor [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9445ce76cffe2bf4394f930a459baf1ddabe0ad7)
- Added PT100 to docs site nav [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6bb10d4cc6ecc801ce412a8240888de18939387e)
- attempting to fix the discord widget in README [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bf4b1a3ef00fa537d02c573a29e1e6335a3ab866)
- new major version for addressing #48 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/60e6f8d62b2bd8ed87a81bef3d61ac044e216713)
- Adds 1 to the blinkcount integer, trying to fix #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f8efc3d192da328ebaa0f9038c133dedaf4f9d0a)
- fixed definition preventing serial response in #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/266ae5cd9e0748a2fb6e4283090fa64711c4e8e7)
- Fix clearing stored config on restore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/62770a65d88a3d8197709fa4a2b2e1cc7ca96f90)
- Merge pull request #51 from foodbandlt/bugfix [view commit](http://github.com/pyr0ball/pyr0piezo/commit/db1215db9393e0cf4d0633f1670ccbf964da04df)
- Exported Eagle parts library into project [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6fe3abe5f077498f81701c36427d5bb6ff173c46)
- Merge branch 'loredans-additions' of https://github.com/pyr0ball/pyr0piezo into loredans-additions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/48fe419943d50ff236114488d5093e0ab0c4debe)
- Merge pull request #53 from pyr0ball/loredans-additions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9e2862ca08cca46b1dad322688522deb658b7231)
- Added blank ino file for compatibility with arduino ide [view commit](http://github.com/pyr0ball/pyr0piezo/commit/485797268932c58299642e06109ff2f74524d977)
- added avrdude.conf for terminal uploading [view commit](http://github.com/pyr0ball/pyr0piezo/commit/16ccd72a5dfe60e59260d5476282e1fc0899d7f5)
- Fixed config reset #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/8fea926ace694eebdb81a09cd86cd15ace10acbd)
- Merge pull request #55 from loredan/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a0cc8b4ac7737078552edbe789e26022931d8975)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a09a5c8e4ed55cef0112e917648af3d6cc2fda86)
- final edit to fix #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/81fb71a08ab3e1fd7af7358380386a68978a1136)
- Added serial feedback for trigger function [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5e69da1139207792025bde533b421896a33ebb5b)
- Fix EEPROM saving issue when issuing a RESET command via a serial terminal. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/22d4535e79e09416c48ec0bdbb3e18b1c3ea3430)
- Update .gitignore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/13d8b32b59bb481768c44eed08d2fb6476c72a4b)
- Update .gitignore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/7cdb535fdfc5b6280eab2265c2807bb9298b60f7)
- This code change reduces the amount of EEPROM writes that could potentially occur within a short period of time, thus making the EEPROM last longer. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0e7862c3c48773e81af0f31992e36e410a1f1e11)
- Merge pull request #57 from klcjr89/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/61d7bd659bdc3324dff53e47b6d58ed32182418c)
- Finish implementing digitalWriteFast to save MCU cycles. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/97296db236e83a17a12608afe66667b085a1376f)
- Code change implements analogReadFast, which reduces the read time of an anolog pin from 112 µS down to 21 µS. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eb052133a3e8ff98adfc93e52984e0c1b626b0d0)
- Merge pull request #58 from klcjr89/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98c2f0ff8d076e0a49ced19b44f48bc967a30465)
- Merge pull request #59, implement "fast" pin operations [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bcc7b254848091533b7deb3d211f6bcc399fe6ba)
------------------------------------

View file

@ -0,0 +1,169 @@
###Pyr0-Piezo Changelog beta-avr-v2.1.4 to beta-avr-v2.1.5
#### Added Features
- Added silkscreen of board revision for EzPz [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a91f8d6848e48c98fdf76a7ffa6ba939cb41c9b0)
- added piezo-disk carrier boards by request [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0655da487ecc244ba4df18fe941a994796f60695)
- Created DIY standalone board for use with external MCU [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98cc387b20a6d52af0343cddd30effe4b91d37e1)
- new major version for addressing #48 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/60e6f8d62b2bd8ed87a81bef3d61ac044e216713)
- Exported Eagle parts library into project [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6fe3abe5f077498f81701c36427d5bb6ff173c46)
- Added blank ino file for compatibility with arduino ide [view commit](http://github.com/pyr0ball/pyr0piezo/commit/485797268932c58299642e06109ff2f74524d977)
- Added serial feedback for trigger function [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5e69da1139207792025bde533b421896a33ebb5b)
------------------------------------
#### Bugfixes
- fixed polarity for trigger LED on DIY board [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5058ba29722eecd9b2440a12f4efd08edc60d91e)
- Adds 1 to the blinkcount integer, trying to fix #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f8efc3d192da328ebaa0f9038c133dedaf4f9d0a)
- fixed definition preventing serial response in #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/266ae5cd9e0748a2fb6e4283090fa64711c4e8e7)
- Fixed config reset #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/8fea926ace694eebdb81a09cd86cd15ace10acbd)
- final edit to fix #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/81fb71a08ab3e1fd7af7358380386a68978a1136)
------------------------------------
#### Documentation Updates
- added documentation category to docs script [view commit](http://github.com/pyr0ball/pyr0piezo/commit/322073f0d0be24ce182ad470ad84fb66b192bf04)
- Added some images for v2.1.2 boards [view commit](http://github.com/pyr0ball/pyr0piezo/commit/851cdbc2ba1fff399f671cb912952398802ef3b6)
- added differentiation in docs structure between versions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d09f40e70673aff838fadfc03b78731639458eba)
- removed redundant changelog file [view commit](http://github.com/pyr0ball/pyr0piezo/commit/215a6c3567cb58bb1afaf1f2a44073df8db39e90)
- Updated piezo config docs with serial applications [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d77ba16ccae9fd1df0dcf5fe99d10f4218b499f5)
- Added beginning of doc explaining circuit settings [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5fcdb578c912223b70448da2480370650e816dd7)
- documentation formatting fixes [view commit](http://github.com/pyr0ball/pyr0piezo/commit/83e39f5debf331f75021ebf3e2959892d1dd3e51)
- typo fix in docs [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eeb2298bd6527a8691adcdde9871cd954ad13203)
- renamed Eagle Files to reflect product name [view commit](http://github.com/pyr0ball/pyr0piezo/commit/95d211825643e7a5e3d456082fe428fdec855ecd)
- Added page for PT100 RTD sensor [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9445ce76cffe2bf4394f930a459baf1ddabe0ad7)
- Added PT100 to docs site nav [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6bb10d4cc6ecc801ce412a8240888de18939387e)
- attempting to fix the discord widget in README [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bf4b1a3ef00fa537d02c573a29e1e6335a3ab866)
------------------------------------
#### Full Changelog
- analogWrite is replaced with native phase correct PWM, 4kHz 10-bit on comparator and 16kHz 8-bit on voltage follower [view commit](http://github.com/pyr0ball/pyr0piezo/commit/14032ba3252b1b75f42ded4cc6ed8a8c9dc94a59)
- Merge pull request #38 from loredan/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a23ce17bbe13af5b159aff063b8219df99b783ef)
- updated documentation for i3 mounts [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f1afd523973e408dd6d566c7162a6dd84ce05e84)
- added documentation category to docs script [view commit](http://github.com/pyr0ball/pyr0piezo/commit/322073f0d0be24ce182ad470ad84fb66b192bf04)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bcdeec20c7318e35f363d39f8703310db44df3e1)
- Added some images for v2.1.2 boards [view commit](http://github.com/pyr0ball/pyr0piezo/commit/851cdbc2ba1fff399f671cb912952398802ef3b6)
- added differentiation in docs structure between versions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d09f40e70673aff838fadfc03b78731639458eba)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/607a20523256a70bfec6e0782c8d374e4fc6834c)
- removed redundant changelog file [view commit](http://github.com/pyr0ball/pyr0piezo/commit/215a6c3567cb58bb1afaf1f2a44073df8db39e90)
- Added silkscreen of board revision for EzPz [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a91f8d6848e48c98fdf76a7ffa6ba939cb41c9b0)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0dc3e5913e83fc537d5508505ca9ae5c48e44472)
- Merge branch 'loredans-additions' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/b7b40be14bc98ca72fb9f895a1d7d05b4a55e05d)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5cbd1ae13109c612b875c751688d4a4d3493e3de)
- Updated piezo config docs with serial applications [view commit](http://github.com/pyr0ball/pyr0piezo/commit/d77ba16ccae9fd1df0dcf5fe99d10f4218b499f5)
- Added beginning of doc explaining circuit settings [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5fcdb578c912223b70448da2480370650e816dd7)
- documentation formatting fixes [view commit](http://github.com/pyr0ball/pyr0piezo/commit/83e39f5debf331f75021ebf3e2959892d1dd3e51)
- typo fix in docs [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eeb2298bd6527a8691adcdde9871cd954ad13203)
- added piezo-disk carrier boards by request [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0655da487ecc244ba4df18fe941a994796f60695)
- pull before push [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f38b559da85933daae14679d3e7a6b02086cadcd)
- pull before push [view commit](http://github.com/pyr0ball/pyr0piezo/commit/b0225496a4cce878bb54ccbb0a713fd7f8ab78e3)
- Created DIY standalone board for use with external MCU [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98cc387b20a6d52af0343cddd30effe4b91d37e1)
- fixed polarity for trigger LED on DIY board [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5058ba29722eecd9b2440a12f4efd08edc60d91e)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/884d65690a451189327394686514dcd56b728eb8)
- renamed Eagle Files to reflect product name [view commit](http://github.com/pyr0ball/pyr0piezo/commit/95d211825643e7a5e3d456082fe428fdec855ecd)
- Added page for PT100 RTD sensor [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9445ce76cffe2bf4394f930a459baf1ddabe0ad7)
- Added PT100 to docs site nav [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6bb10d4cc6ecc801ce412a8240888de18939387e)
- attempting to fix the discord widget in README [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bf4b1a3ef00fa537d02c573a29e1e6335a3ab866)
- new major version for addressing #48 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/60e6f8d62b2bd8ed87a81bef3d61ac044e216713)
- Adds 1 to the blinkcount integer, trying to fix #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/f8efc3d192da328ebaa0f9038c133dedaf4f9d0a)
- fixed definition preventing serial response in #49 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/266ae5cd9e0748a2fb6e4283090fa64711c4e8e7)
- Fix clearing stored config on restore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/62770a65d88a3d8197709fa4a2b2e1cc7ca96f90)
- Merge pull request #51 from foodbandlt/bugfix [view commit](http://github.com/pyr0ball/pyr0piezo/commit/db1215db9393e0cf4d0633f1670ccbf964da04df)
- Exported Eagle parts library into project [view commit](http://github.com/pyr0ball/pyr0piezo/commit/6fe3abe5f077498f81701c36427d5bb6ff173c46)
- Merge branch 'loredans-additions' of https://github.com/pyr0ball/pyr0piezo into loredans-additions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/48fe419943d50ff236114488d5093e0ab0c4debe)
- Merge pull request #53 from pyr0ball/loredans-additions [view commit](http://github.com/pyr0ball/pyr0piezo/commit/9e2862ca08cca46b1dad322688522deb658b7231)
- Added blank ino file for compatibility with arduino ide [view commit](http://github.com/pyr0ball/pyr0piezo/commit/485797268932c58299642e06109ff2f74524d977)
- added avrdude.conf for terminal uploading [view commit](http://github.com/pyr0ball/pyr0piezo/commit/16ccd72a5dfe60e59260d5476282e1fc0899d7f5)
- Fixed config reset #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/8fea926ace694eebdb81a09cd86cd15ace10acbd)
- Merge pull request #55 from loredan/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a0cc8b4ac7737078552edbe789e26022931d8975)
- Merge branch 'master' of https://github.com/pyr0ball/pyr0piezo [view commit](http://github.com/pyr0ball/pyr0piezo/commit/a09a5c8e4ed55cef0112e917648af3d6cc2fda86)
- final edit to fix #54 [view commit](http://github.com/pyr0ball/pyr0piezo/commit/81fb71a08ab3e1fd7af7358380386a68978a1136)
- Added serial feedback for trigger function [view commit](http://github.com/pyr0ball/pyr0piezo/commit/5e69da1139207792025bde533b421896a33ebb5b)
- Fix EEPROM saving issue when issuing a RESET command via a serial terminal. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/22d4535e79e09416c48ec0bdbb3e18b1c3ea3430)
- Update .gitignore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/13d8b32b59bb481768c44eed08d2fb6476c72a4b)
- Update .gitignore [view commit](http://github.com/pyr0ball/pyr0piezo/commit/7cdb535fdfc5b6280eab2265c2807bb9298b60f7)
- This code change reduces the amount of EEPROM writes that could potentially occur within a short period of time, thus making the EEPROM last longer. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/0e7862c3c48773e81af0f31992e36e410a1f1e11)
- Merge pull request #57 from klcjr89/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/61d7bd659bdc3324dff53e47b6d58ed32182418c)
- Finish implementing digitalWriteFast to save MCU cycles. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/97296db236e83a17a12608afe66667b085a1376f)
- Code change implements analogReadFast, which reduces the read time of an anolog pin from 112 µS down to 21 µS. [view commit](http://github.com/pyr0ball/pyr0piezo/commit/eb052133a3e8ff98adfc93e52984e0c1b626b0d0)
- Merge pull request #58 from klcjr89/master [view commit](http://github.com/pyr0ball/pyr0piezo/commit/98c2f0ff8d076e0a49ced19b44f48bc967a30465)
- Merge pull request #59, implement "fast" pin operations [view commit](http://github.com/pyr0ball/pyr0piezo/commit/bcc7b254848091533b7deb3d211f6bcc399fe6ba)

View file

@ -119,10 +119,10 @@ void setup() {
pinMode(GADJ_R1, INPUT); // declare input to set high impedance
pinMode(GADJ_R2, INPUT); // declare input to set high impedance
pinMode(GADJ_R3, INPUT); // declare input to set high impedance
Serial.begin(9600);
attachInterrupt(digitalPinToInterrupt(Z_TRG), pulse, FALLING);
Serial.begin(9600);
Serial.println("Initializing Pyr0-Piezo Sensor...");
restoreConfig();
@ -138,8 +138,8 @@ void loop() {
// Blink LED's on init
if (BlinkCount > 0) {
BlinkState = !BlinkState;
digitalWrite(ERR_LED, BlinkState);
digitalWrite(TRG_OUT, BlinkState);
digitalWriteFast(ERR_LED, BlinkState);
digitalWriteFast(TRG_OUT, BlinkState);
--BlinkCount;
}
@ -156,8 +156,8 @@ void loop() {
// Check voltage of first and second stages and compare against thresholds
readVin();
VComp = analogRead(VCOMP_SENSE_PIN);
VFol = analogRead(V_FOLLOW_PIN);
VComp = analogReadFast(VCOMP_SENSE_PIN);
VFol = analogReadFast(V_FOLLOW_PIN);
VLast = VOld - Vin;
if (VLast > Hyst || VLast < -Hyst) {
@ -174,8 +174,8 @@ void loop() {
// Blink LED's on init
if (BlinkCount > 0) {
BlinkState = !BlinkState;
digitalWrite(ERR_LED, BlinkState);
digitalWrite(TRG_OUT, BlinkState);
digitalWriteFast(ERR_LED, BlinkState);
digitalWriteFast(TRG_OUT, BlinkState);
--BlinkCount;
} else {
// Check for error state
@ -187,7 +187,7 @@ void loop() {
serialPrintState();
}
// Sets trigger output state to false after completing loop
//digitalWrite(TRG_OUT, HIGH);
//digitalWriteFast(TRG_OUT, HIGH);
sensorHReading = 0;
}
}

View file

@ -12,7 +12,9 @@ long voltMeterConstant = VM_CONST_DEFAULT;
uint8_t pP_i2c_address = 0xa0;
void resetEEPROM() {
resetConfig();
EEPROM.put(GAIN_FACTOR_ADDRESS, GAIN_FACTOR);
EEPROM.put(FOLLOWER_THRESHOLD_ADDRESS, followerThrs);
EEPROM.put(COMP_THRESHOLD_ADDRESS, compThrs);
@ -26,44 +28,46 @@ void resetEEPROM() {
void restoreConfig() {
int temp;
bool reset = false;
EEPROM.get(GAIN_FACTOR_ADDRESS, temp);
if (temp < 0 || temp > 4) {
resetEEPROM();
reset = true;
} else {
GAIN_FACTOR = temp;
}
EEPROM.get(FOLLOWER_THRESHOLD_ADDRESS, temp);
if (temp < 0 || temp > 5000) {
resetEEPROM();
reset = true;
} else {
followerThrs = temp;
}
EEPROM.get(COMP_THRESHOLD_ADDRESS, temp);
if (temp < 0 || temp > 5000) {
resetEEPROM();
reset = true;
} else {
compThrs = temp;
}
EEPROM.get(LOOP_DUR_ADDRESS, temp);
if (temp < 0 && temp > 1000) {
resetEEPROM();
reset = true;
} else {
LOOP_DUR = temp;
}
EEPROM.get(TRG_DUR_ADDRESS, temp);
if (temp < 0 || temp > 1000) {
resetEEPROM();
reset = true;
} else {
TRG_DUR = temp;
}
EEPROM.get(HYST_ADDRESS, temp);
if (temp < 0 || temp > 1000) {
resetEEPROM();
reset = true;
} else {
Hyst = temp;
}
@ -71,10 +75,14 @@ void restoreConfig() {
long longTemp;
EEPROM.get(VM_CONST_ADDRESS, longTemp);
if (longTemp < 1000000L || longTemp > 1200000L) {
resetEEPROM();
reset = true;
} else {
voltMeterConstant = longTemp;
}
if (reset) {
resetEEPROM();
}
}
void resetConfig() {

View file

@ -60,7 +60,8 @@
#endif
#endif
void restoreConfig();
void resetEEPROM();
void resetConfig();
void restoreConfig();
#endif

View file

@ -12,6 +12,14 @@ void digitalWriteFast(uint8_t pin, uint8_t x) {
}
}
int inline analogReadFast(byte ADCpin)
{ byte ADCSRAoriginal = ADCSRA;
ADCSRA = (ADCSRA & B11111000) | 4;
int adc = analogRead(ADCpin);
ADCSRA = ADCSRAoriginal;
return adc;
}
/*------------------------------------------------*/
void pulse() {
@ -19,6 +27,7 @@ void pulse() {
sensorHReading = 1;
delay(TRG_DUR);
digitalWriteFast(TRG_OUT, HIGH);
Serial.println("Trig'd!");
}
/*------------------------------------------------*/
@ -119,25 +128,25 @@ void adjustGain() {
}
else if (GAIN_FACTOR > 0) {
pinMode(GADJ_R3, OUTPUT);
digitalWrite(GADJ_R3, LOW);
digitalWriteFast(GADJ_R3, LOW);
pinMode(GADJ_R2, INPUT);
pinMode(GADJ_R1, INPUT);
pinMode(GADJ_R0, INPUT);
}
else if (GAIN_FACTOR > 1) {
pinMode(GADJ_R2, OUTPUT);
digitalWrite(GADJ_R2, LOW);
digitalWriteFast(GADJ_R2, LOW);
pinMode(GADJ_R1, INPUT);
pinMode(GADJ_R0, INPUT);
}
else if (GAIN_FACTOR > 2) {
pinMode(GADJ_R1, OUTPUT);
digitalWrite(GADJ_R1, LOW);
digitalWriteFast(GADJ_R1, LOW);
pinMode(GADJ_R0, INPUT);
}
else if (GAIN_FACTOR > 3) {
pinMode(GADJ_R0, OUTPUT);
digitalWrite(GADJ_R0, LOW);
digitalWriteFast(GADJ_R0, LOW);
}
}
@ -145,11 +154,11 @@ void adjustGain() {
void checkError () {
if (ERR_STATE == 1) {
digitalWrite(ERR_LED, BlinkState);
digitalWriteFast(ERR_LED, BlinkState);
BlinkState = !BlinkState;
}
else if (ERR_STATE == 0) {
BlinkState = LOW;
digitalWrite(ERR_LED, BlinkState);
digitalWriteFast(ERR_LED, BlinkState);
}
}

View file

@ -223,7 +223,7 @@ void updateParams() {
serialPrintConfig();
}
else if (strcmp(serialMessageIn, "RESET") == 0) {
resetConfig();
resetEEPROM();
serialPrintConfig();
}
else if (strcmp(serialMessageIn, "STATE") == 0) {

View file

@ -87,6 +87,7 @@ nav:
- Changelog:
- Version List: 'changelog.md'
- Logs:
- 'v2.1.4-v2.1.5': 'changelogs/changelog_2019-10-30_v2.1.4_v2.1.5.md'
- 'v2.1.3-v2.1.4': 'changelogs/changelog_2019-10-09_v2.1.3_v2.1.4.md'
- 'v2.1.2-v2.1.3': 'changelogs/changelog_2019-09-25_v2.1.2_v2.1.3.md'
- 'v2.1.1-v2.1.2': 'changelogs/changelog_2019-08-15_v2.1.1_v2.1.2.md'

2432
scripts/avrdude.conf Normal file

File diff suppressed because it is too large Load diff