Commit graph

151 commits

Author SHA1 Message Date
7f1985d0cd fixed names for new files 2019-06-10 21:24:59 -07:00
6567b50ddb Separated functions and definitions
- added header and cpp files
   - pin assignments
   - volatile variables
   - general functions
   - serial functions
   - i2c functions
2019-06-10 21:19:47 -07:00
b5883af901 for v2.x this fixes https://github.com/pyr0ball/pyr0piezo/issues/28 2019-06-10 18:04:48 -07:00
4c35d52259 Set I2C input to be toggled by def
-Synced Comp/Vref til #24 is fixed
2019-04-22 16:52:30 -07:00
37f7d4d085 Added function to alert the user when calibrating 2019-04-22 16:06:40 -07:00
Alan Weinstock
bcdae2e9e4
Merge pull request #25 from foodbandlt/MinorOptimizations
Resolved conflicts with edits from today, merging
2019-04-22 15:47:59 -07:00
Alan Weinstock
c82c3e9bf5
Merge branch 'master' into MinorOptimizations 2019-04-22 15:47:20 -07:00
5a6d5ca7db Fixes for oscillating PWM output
- Added hysteresis input for UART/I2C
- Fixed example to show correct command (VADJ vs VADJH)
- added TRG_DUR to the interrupt function
- Migrated math for 8-10bit ADC to a different function
- Organized/added debug serial output
- fixed line begin whitespace
2019-04-22 15:32:26 -07:00
Foodbandlt
0e318eab7c Fixing debug vars in case they ever want to be used again
Integer result needs to be cast to a float to obtain a float result from division.
2019-04-22 03:31:52 -04:00
Foodbandlt
e16c35cd32 Converting to defines and else ifs
Defines save flash and progmem and elseifs increase execution speed on code repeated on every loop.

Side note, something funky happened with the spacing.  Fixed it, but it's slightly different than what it was before.
2019-04-22 03:25:52 -04:00
5ff215c0da migrated floats to #define values
for more efficient compilation, switched float values set in initial config to definitions that are immediately computed into integers, which cut down on flash usage. also removed non-working debug float outputs for VCompRef and vAdjRead as stated in https://github.com/pyr0ball/pyr0piezo/issues/20
2019-04-21 23:44:31 -07:00
95ea64a822 fixed unary operators for adjustment logic
- Switched unary operators to correct syntax (+= vs =+) Should fix oscillation noted in https://github.com/pyr0ball/pyr0piezo/issues/24
- Added software hysteresis to the adjustment function. Referenced in https://github.com/pyr0ball/pyr0piezo/issues/24
- Fixed notes to show the correct gain factors
2019-04-21 23:02:16 -07:00
856ecafad2 Adjusted capacitor placement for easier soldering
Also optimized traces and ground plane
2019-04-12 16:47:25 -07:00
4212ceeceb Updated link to license 2019-04-12 16:47:05 -07:00
94645f8624 Updated eagle files for 1.0.2 for Eagle 9.0.2 2019-04-12 16:46:19 -07:00
9d082438c8 Replaced license with CC-BY-SA-4.0 2019-04-11 23:52:48 -07:00
ad25ff868a Beta production board sync 2019-04-07 17:36:25 -07:00
7c77e72e3f Merge readme before push 2019-03-27 16:37:18 -07:00
26d89f31fc Renamed X-car breakout for direct feed.
incoming design for bowden style extruders
2019-03-27 16:35:40 -07:00
a537393eef Brought library additions to older rev boards 2019-03-27 16:24:10 -07:00
5d0c19afd3 Added ESD protection diodes to motor connections 2019-03-27 16:22:25 -07:00
Alan Weinstock
8de157958d
updated discord link 2019-03-27 10:04:37 -07:00
5251e0f14a sync all boards for Rev.2.0.1 before gerberization
- added test pads for debugging amp circuit
2019-03-22 18:20:36 -07:00
c4eb8a81de rotated fuse for easier soldering 2019-03-18 15:47:26 -07:00
4bfca9cf20 Begin sync of Rev.2.0.1 changes 2019-03-18 15:35:19 -07:00
27302c9601 Updated description. Sync files 2019-03-18 13:20:18 -07:00
f29ca9e5aa Added hookup guides for common MKS boards
progress on https://github.com/pyr0ball/pyr0piezo/issues/14
2019-03-18 13:14:18 -07:00
9bfc675748 Added wiring diagram for DuetWifi
Also fixed transparency on other wiring diagrams
progress on https://github.com/pyr0ball/pyr0piezo/issues/14
2019-03-18 12:15:39 -07:00
729a44714d Added wiring diagrams, fixed docs
- Added wiring diagram for RAMPS
- Added wiring diagram for Creality OEM Board
- Changed Marlin firmware config to use Active Low logic

Progress on https://github.com/pyr0ball/pyr0piezo/issues/14
2019-03-18 11:32:42 -07:00
bd64d8f707 fixed syntax preventing compilation 2019-03-15 22:17:51 -07:00
55c6f867c2 Added rudimentary i2c listener, fixed loop
Rearranged a couple of functions from the serial input function to be
back in the loop where they belong. Added a rudimentary i2c listener
that should allow for parameter updates, but will only reply with "OK"
for now

Progress on:
 - https://github.com/pyr0ball/pyr0piezo/issues/2
 - https://github.com/pyr0ball/pyr0piezo/issues/22
2019-03-15 19:30:05 -07:00
1a06027bc1 Replaced serial parser, verified parameters update
Progress on https://github.com/pyr0ball/pyr0piezo/issues/2

See notes on wiki for serial input format
2019-03-13 23:01:43 -07:00
26e9a0d09c Swapped pins for 2-pin headers to match standard 2019-03-13 15:10:35 -07:00
b3b5290996 Standardized naming conventions, organized
Moved each set of board files to individual folders
2019-03-13 14:27:43 -07:00
fbb90211c5 repositioned filter cap for easier soldering 2019-03-13 12:40:03 -07:00
2f3a3c1fd8 added folder for wiki files, uploaded logo 2019-03-12 14:00:37 -07:00
1ad0281ee2 Swapped Atmega for ATSAMD21E family MCU
Started work on https://github.com/pyr0ball/pyr0piezo/issues/21
Started work on https://github.com/pyr0ball/pyr0piezo/issues/22
Started pin assignments and board mapping for ARM MCU
Added i2c pins to input header
2019-03-09 00:21:35 -08:00
569439f82c Switched to 32VQFN package Atmega328pa
Added pins to input header for I2C, removed test pads, in prep for https://github.com/pyr0ball/pyr0piezo/issues/22
Repositioned components, optimized trace routing
2019-03-09 00:19:26 -08:00
8084e65eeb Updated library and components 2019-03-09 00:17:59 -08:00
e8300c9eb4 Renamed Rev.1.x.x sketch to match folder 2019-03-08 13:09:18 -08:00
2297f15207 Fixed PWM output syntax
Fixes issue https://github.com/pyr0ball/pyr0piezo/issues/19
2019-03-08 13:08:04 -08:00
afa62eca26 aligned caps for easier soldering 2019-02-26 18:52:37 -08:00
453bae33f5 renamed latest v2.0.0 pdf 2019-02-26 17:30:56 -08:00
b7779f0994 fixed some spacing and labelling 2019-02-26 17:14:33 -08:00
3ff9d841c5 Added pdf of rev.2.0.0 schematic 2019-02-26 17:13:53 -08:00
b1e8562b8d Finished first iteration of x-gantry board
First version to address https://github.com/pyr0ball/pyr0piezo/issues/18
2019-02-26 00:04:21 -08:00
8598ce5272 renamed firmware update docs 2019-02-26 00:03:30 -08:00
e873d41e90 Added Pyr0-Piezo firmware update docs
Part of https://github.com/pyr0ball/pyr0piezo/issues/14
2019-02-25 15:15:08 -08:00
0117cc101a added ignore for openoffice text temp files 2019-02-25 15:14:17 -08:00
f154370089 Finished trace routing for amp diagnostics pads 2019-02-25 14:07:14 -08:00