Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
944291d
MCU1 compiler warnings cleared.
abdulWahab-tworks Aug 21, 2021
1ed84cd
MCU2 compiler warnings cleared.
abdulWahab-tworks Aug 21, 2021
9954810
Version no. updated.
abdulWahab-tworks Aug 23, 2021
b63c7bf
Merge branch 'develop' of https://github.com/tworkshyd/V2Codebase int…
abdulWahab-tworks Aug 24, 2021
1302b34
LED D9 used as Heart beat indicator.
abdulWahab-tworks Sep 6, 2021
9b32f83
Testing the modified code.
abdulWahab-tworks Sep 7, 2021
2781fc5
Boot-up LED sequence added and part of the code indented for ease in …
abdulWahab-tworks Sep 7, 2021
84bce58
Code indented and few comments were numbered.
abdulWahab-tworks Sep 7, 2021
f154233
LED indication added for inhale - exhale operations.
abdulWahab-tworks Sep 7, 2021
e0e7f4a
Function "Prcs_RxData()" indented for better clarity.
abdulWahab-tworks Sep 8, 2021
f210e49
Legends added to LUT.
abdulWahab-tworks Sep 9, 2021
6cf0cec
One row in each Stroke-length look-up Table (LUT) is fine tuned and t…
abdulWahab-tworks Sep 9, 2021
1b8e766
Two more rows in each Stroke-length look-up Table (LUT) are fine tune…
abdulWahab-tworks Sep 11, 2021
c772849
IER 1:1 table completed for all values of BPM & Tidal volumes.
abdulWahab-tworks Sep 12, 2021
970274c
IER 1:2 table completed for all values of BPM & Tidal volumes.
abdulWahab-tworks Sep 12, 2021
0df3684
Changes in 'extEEPROM.h' libfile to avoid clashes in 'jm_wire.h' & 'W…
abdulWahab-tworks Sep 27, 2021
aad0138
Y = mx + c, slope formula applied to Tvi & Tve parameters.
abdulWahab-tworks Sep 28, 2021
65ce031
IER 1:3 table adjusted for stroke length, to output the set Tv.
abdulWahab-tworks Sep 29, 2021
b49e836
Merge branch '#33_Stroke_estimation_issue' into #35_SpyroConstant_adjust
abdulWahab-tworks Sep 30, 2021
9a13a58
Slope and constant values re-calculated based on the readings .. and …
abdulWahab-tworks Oct 2, 2021
5fb26c8
Merge branch '#35_SpyroConstant_adjust' into #33_Stroke_estimation_issue
abdulWahab-tworks Oct 2, 2021
b8a8fb3
IER 1:2 table readjusted.
abdulWahab-tworks Oct 2, 2021
c0b9000
Firmware version number updated to #V3.06
abdulWahab-tworks Oct 4, 2021
5499f26
Intermediate commit..
abdulWahab-tworks Oct 7, 2021
f49ce28
Code re-shuffled and moved into dataBase.c & dataBase.h files for eas…
abdulWahab-tworks Oct 8, 2021
e07e06d
Look-up tables printing implemented.
abdulWahab-tworks Oct 8, 2021
dfcbc9e
Updating changes in stride length to eeprom implemented .. testing to…
abdulWahab-tworks Oct 8, 2021
0609fb2
Capturing logs at power-up.
abdulWahab-tworks Oct 11, 2021
56b3a77
Atmel Studio 7.0 is being used as a code editor.
abdulWahab-tworks Oct 11, 2021
cae0fe6
Merge branch '#33_Stroke_estimation_issue' of https://github.com/twor…
abdulWahab-tworks Oct 12, 2021
01f937a
Stroke length table prining incorporated..
abdulWahab-tworks Oct 18, 2021
49ddd65
Practically taken values.. on ventilator are updated into default cop…
abdulWahab-tworks Oct 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ mcu2/.vs/mcu2/v14/.atsuo
mcu2/.vs/mcu2/v14/.atsuo
mcu2/.vs/mcu2/v14/.atsuo
mcu2/.vs/mcu2/v14/.atsuo
*.lst
mcu1/Debug/memory_watch.txt.txt
mcu1/EEPROM/New Text Document.txt
*.mk
mcu1/Debug/Makefile
mcu2/Debug/Makefile
*.sip_sym
*.sip_xab
*.sip_xad
*.sip_xc
*.sip_xf
*.sip_xm
*.sip_xr
*.sip_xsb
*.sip_xsd
*.xml
*.sisc
Binary file added .vs/Ventilator/v14/.atsuo
Binary file not shown.
1,139 changes: 1,139 additions & 0 deletions Debug-logs/mcu1_dbg_logs

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions Debug-logs/mcu2_dbg_logs
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
























































[2021-10-07 14:36:35.680] setup: Initialization Started0
[2021-10-07 14:36:35.706] setup: LCD Module Init Done0
[2021-10-07 14:36:35.706] setup: Wire Init Done0
[2021-10-07 14:36:35.706] setup: Ext EEPROM Init Done0
[2021-10-07 14:36:35.706] setup: Serial3 Init Done0
[2021-10-07 14:36:35.713] setup: Parameter read from EEPROM Done0
[2021-10-07 14:36:35.759] setup: Sensors Init Done0
[2021-10-07 14:36:35.759] setup: Sensors Init *Failed*0
[2021-10-07 14:36:36.762] setup: Enable Rotator Button Interrupts Done0
[2021-10-07 14:37:30.542] setup: Initialization Started0
[2021-10-07 14:37:30.571] setup: LCD Module Init Done0
[2021-10-07 14:37:30.571] setup: Wire Init Done0
[2021-10-07 14:37:30.571] setup: Ext EEPROM Init Done0
[2021-10-07 14:37:30.571] setup: Serial3 Init Done0
[2021-10-07 14:37:30.571] setup: Parameter read from EEPROM Done0
[2021-10-07 14:37:30.624] setup: Sensors Init Done0
[2021-10-07 14:37:30.624] setup: Sensors Init *Failed*0
[2021-10-07 14:37:31.620] setup: Enable Rotator Button Interrupts Done0
[2021-10-07 14:37:38.067] setup: Initial Screen Setup Done 0
[2021-10-07 14:37:38.067] setup: Check Power Done 0
[2021-10-07 14:37:38.266] Sending Packet:$VMP10550&
[2021-10-07 14:37:38.367] Sending Packet:$VMP20010&
[2021-10-07 14:37:38.487] Sending Packet:$VMP50001&
[2021-10-07 14:37:38.573] Sending Packet:$VMP60091&
[2021-10-07 14:37:38.689] Retrived Value :54538.00
[2021-10-07 14:37:38.689] init :sensorType 0
[2021-10-07 14:37:38.689] 222
[2021-10-07 14:37:38.689] ovf
[2021-10-07 14:37:38.689] Sending Packet:$VMP700054538&
[2021-10-07 14:37:38.779] Retrived Value :68886.00
[2021-10-07 14:37:38.779] init :sensorType 1
[2021-10-07 14:37:38.779] 226
[2021-10-07 14:37:38.779] ovf
[2021-10-07 14:37:38.779] Sending Packet:$VMP800068886&
[2021-10-07 14:37:38.879] setup: Param Set Default - Done 0
[2021-10-07 14:37:38.879] setup: Initialization Complete 0
[2021-10-07 14:37:38.950] tidalVolumeStatusScreen: TV Value Error1
[2021-10-07 14:40:59.629] $VMIN0000&
[2021-10-07 14:43:32.340] $VS0100440237&$VS0302910000&$VS0100430237&$VS0302920000&$VS0100440239&$VS0302910000&$VS0100430238&$VS0100430241&$VS0302930000&$VS0100440241&$VS0302930000&
Binary file added SI_V2Codebase.si4project/SI_V2Codebase.siproj
Binary file not shown.
30 changes: 30 additions & 0 deletions mcu1/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
For initiating, use an ATMEga2560 only


6 - Sep - 2021

- 3.33pm:
- code size before starting with "Stroke length optimizing"

Sketch uses 105626 bytes (41%) of program storage space. Maximum is 253952 bytes.
Global variables use 2546 bytes (31%) of dynamic memory, leaving 5646 bytes for local variables. Maximum is 8192 bytes.

- 3.41pm:
added heart beat LED code.

- 3.45pm
- pick_stroke_length() function body commented
Sketch uses 27532 bytes (10%) of program storage space. Maximum is 253952 bytes.
Global variables use 2548 bytes (31%) of dynamic memory, leaving 5644 bytes for local variables. Maximum is 8192 bytes.

- 4.40pm
- coding for optimized LUT done..
Sketch uses 30524 bytes (12%) of program storage space. Maximum is 253952 bytes.
Global variables use 5308 bytes (64%) of dynamic memory, leaving 2884 bytes for local variables. Maximum is 8192 bytes.


- 4.51pm
- filling LUT with values
Sketch uses 30524 bytes (12%) of program storage space. Maximum is 253952 bytes.
Global variables use 5308 bytes (64%) of dynamic memory, leaving 2884 bytes for local variables. Maximum is 8192 bytes.


37 changes: 37 additions & 0 deletions mcu1/__vm/Upload.vmps.xml

Large diffs are not rendered by default.

Loading