Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
4c181da
Delete FlashMemory directory
gmulligan Sep 11, 2023
dd59e2a
Create readme.md
gmulligan Sep 11, 2023
55e44b9
Create flashmanagement.cpp
gmulligan Sep 11, 2023
74828d8
Create networking
gmulligan Sep 11, 2023
dfcd091
Delete firmware-development/networking
gmulligan Sep 11, 2023
c1a485b
Create read.md
gmulligan Sep 11, 2023
9697b16
fix writeFlashConfiguration
gmulligan Sep 11, 2023
dd2ef57
Create networkingmain.cpp
gmulligan Sep 11, 2023
9c14b20
Changing from D4 to D5 for temperature reads
RobertLRead Sep 12, 2023
944f2f3
remoivng debug work
RobertLRead Sep 12, 2023
dc6ecf1
Merge pull request #230 from PubInv/robCleanup
RobertLRead Sep 12, 2023
0e88a2f
Incrementing version for change in thermocouple pin.
RobertLRead Sep 12, 2023
7bb5cfd
added MAX31855.cpp and .h
LokiMetaSmith Sep 13, 2023
42f7c30
added stage2 hal changes
LokiMetaSmith Sep 13, 2023
b586765
added platform.io defines for stage2
LokiMetaSmith Sep 13, 2023
e4b4336
adding target fore due_stage2_heater
RobertLRead Sep 13, 2023
eb3f4de
add references to STAGE2_HEATER to machine.h
LokiMetaSmith Sep 13, 2023
f132e56
Merge branch 'stage2_spi_thermocouple_test' of [email protected]:PubInv/…
LokiMetaSmith Sep 13, 2023
544462e
intermediate files, not compiling
RobertLRead Sep 13, 2023
56b02ed
Merge branch 'stage2_spi_thermocouple_test' of https://github.com/Pub…
RobertLRead Sep 13, 2023
ed59ec9
intermediate steps
RobertLRead Sep 13, 2023
a7b937b
compiling, but untested
RobertLRead Sep 13, 2023
e4a4819
adding dependency that should be temporary
RobertLRead Sep 13, 2023
b3a7392
committing some debugging statements
RobertLRead Sep 13, 2023
a8a33e1
reworked pin definitions for 51 50 49 2 8 3 29 28 and cleared conflic…
LokiMetaSmith Sep 13, 2023
532ca5d
Update Stage2_Heater.md
LokiMetaSmith Sep 13, 2023
d08baf1
some bugs removed
RobertLRead Sep 13, 2023
0192dbb
Merge branch 'stage2_spi_thermocouple_test' of https://github.com/Pub…
RobertLRead Sep 13, 2023
e1c333c
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 13, 2023
a64c425
OnePinHeater refactoring, changes to makefile
RobertLRead Sep 14, 2023
ef2d2a2
Merge pull request #241 from PubInv/stage2_spi_thermocouple_test
RobertLRead Sep 14, 2023
43e62e0
geoffs changes integrated
RobertLRead Sep 14, 2023
0419245
Merge pull request #242 from PubInv/integrateNewNetworkCode
RobertLRead Sep 14, 2023
dc8ff4b
major refactoring of network code to remove it from tha task and put …
RobertLRead Sep 14, 2023
8c6b2b5
Merge pull request #243 from PubInv/integrateNewNetworkCode
RobertLRead Sep 14, 2023
575bcee
Added watchdog reset in safeDelay
RobertLRead Sep 14, 2023
f08b6b9
Adding two files
RobertLRead Sep 14, 2023
c79bc3c
Merge pull request #245 from PubInv/integrateNewNetworkCode
RobertLRead Sep 14, 2023
d090df5
improving error handling
RobertLRead Sep 14, 2023
0cbe98e
creatign Stage2 Network class
RobertLRead Sep 14, 2023
30bb12b
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 14, 2023
c878793
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 14, 2023
f12b8a7
refactoring of class files
RobertLRead Sep 14, 2023
f4e76df
refactoring file names
RobertLRead Sep 14, 2023
884cd73
Update README.md
ForrestErickson Sep 14, 2023
e4fd58a
Add files via upload
ForrestErickson Sep 14, 2023
31127a8
Merge pull request #249 from PubInv/integrateNewNetworkCode
RobertLRead Sep 15, 2023
ecdb890
added Ethernet capability to Stage2 heater
RobertLRead Sep 15, 2023
b72d579
Merge pull request #251 from PubInv/integrateNewNetworkCode
RobertLRead Sep 15, 2023
b0eda1a
fix networking code
Sep 15, 2023
61c36f6
fixed networking to align with rob's refactored networking code
Sep 15, 2023
ed83e67
fix W5x00 init error message
Sep 15, 2023
63b667e
removed flash items from networking code
Sep 15, 2023
6196a98
adding immature test program that does not seem to have any bad readi…
RobertLRead Sep 15, 2023
8737cb4
Merge pull request #254 from PubInv/integrateNewNetworkCode
RobertLRead Sep 15, 2023
1304470
files for investigation
RobertLRead Sep 15, 2023
81f2941
revving version number
RobertLRead Sep 15, 2023
cbcc6dc
Merge pull request #256 from PubInv/investigateDallasTemperatureLibIs…
RobertLRead Sep 15, 2023
34596fe
Fixing issue 257
RobertLRead Sep 15, 2023
67b541c
Merge pull request #258 from PubInv/rob5knob
RobertLRead Sep 15, 2023
95f6ee9
beginning of the 5-knob work
RobertLRead Sep 16, 2023
8e47982
Update README.md
ForrestErickson Sep 16, 2023
d0cb428
Update README.md
ForrestErickson Sep 16, 2023
d52d2e2
Update README.md
ForrestErickson Sep 16, 2023
6e91c4e
initial checkin, reading commands but commands do nothing, this branc…
RobertLRead Sep 16, 2023
e026122
adding empty files so that quit being listed as untracked
RobertLRead Sep 16, 2023
b440ed4
intermediate steps
RobertLRead Sep 16, 2023
2a2c829
Some bugs from 263 fixed, but Network may not be working.
RobertLRead Sep 16, 2023
b185d22
networking working
RobertLRead Sep 16, 2023
ee1d977
Merge pull request #265 from PubInv/rob264and263
RobertLRead Sep 16, 2023
9a84ba0
some improvements
RobertLRead Sep 16, 2023
393e807
improved debugging of network_udp and initial state processing
RobertLRead Sep 16, 2023
074768f
intermediate waypoint
RobertLRead Sep 17, 2023
3fa606d
progress
RobertLRead Sep 17, 2023
189b71a
Update state_machine_manager.cpp
LokiMetaSmith Sep 17, 2023
4b57882
progress, but stage2heater not working
RobertLRead Sep 17, 2023
c81de1b
signifianct work, and some realizations for simplifications
RobertLRead Sep 17, 2023
82d67b7
fix memory leaks inside parsing state params and phases
Sep 18, 2023
3545ea2
major refactoring, ready for testing
RobertLRead Sep 18, 2023
b9835e6
Merge branch 'develop' into rob5knob
RobertLRead Sep 18, 2023
cbec5d0
adding DueFlashStorage library
RobertLRead Sep 18, 2023
c185130
Merge pull request #268 from PubInv/rob5knob
RobertLRead Sep 18, 2023
7172649
adding comment
RobertLRead Sep 18, 2023
a8204af
some tweaks after merge
RobertLRead Sep 18, 2023
1052429
adding wattage limitation
RobertLRead Sep 18, 2023
3b59e69
removing a thermocouple approximately works, moving to an emergency s…
RobertLRead Sep 18, 2023
91b1e93
Update README.md
ForrestErickson Sep 18, 2023
a5caa21
Some part updates in KiCad. Some assembly updates for the Assy_ODECOS_V2
ForrestErickson Sep 18, 2023
b1a90ca
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 18, 2023
c2e0edc
Merge pull request #272 from ForrestErickson/develop
ForrestErickson Sep 18, 2023
80506b7
Create README.md
ForrestErickson Sep 18, 2023
f873af9
fixed hang inside machine_script and fixed some network startup code
Sep 18, 2023
9a4b703
latest
RobertLRead Sep 18, 2023
5c76345
Merge branch 'develop' of https://github.com/PubInv/NASA-COG into rob…
RobertLRead Sep 18, 2023
c152dbd
273-report-independent-thermocouple-failure-counts
ForrestErickson Sep 18, 2023
8189ad8
removing param script retrieval
RobertLRead Sep 19, 2023
f729a39
fixing horrible bug in swtich
RobertLRead Sep 19, 2023
3103311
Merge pull request #275 from PubInv/robMemoryInvestigation
RobertLRead Sep 19, 2023
59f51f4
Merge branch 'develop' into 273-report-independent-thermocouple-failu…
RobertLRead Sep 19, 2023
decd9b7
Merge pull request #274 from ForrestErickson/273-report-independent-t…
RobertLRead Sep 19, 2023
c08a7ed
providing a back door for testing when you don't have 3 thermocouples…
RobertLRead Sep 19, 2023
496f690
Merge pull request #276 from PubInv/robMemoryInvestigation
RobertLRead Sep 19, 2023
9172747
adding hardware watchdog
RobertLRead Sep 19, 2023
6803167
Merge pull request #277 from PubInv/robWatchDog
RobertLRead Sep 19, 2023
17f3733
change generation of max address to set last bit 0 for cfc and 1 for …
Sep 19, 2023
c71051c
intermediate solution, reporting better, but sill a bug in 3-part con…
RobertLRead Sep 19, 2023
61994d8
revert my last change
Sep 19, 2023
2c64ef6
fixing terrible bug #278
RobertLRead Sep 19, 2023
bef3698
Merge pull request #280 from PubInv/robWatchDog
RobertLRead Sep 19, 2023
658d7c7
minor udp fix
Sep 20, 2023
c19d512
fixed json output and turned on OEDCS and Stage2 API endpoints
Sep 20, 2023
c04711d
intermediate code, unknown state
RobertLRead Sep 20, 2023
ad77dd2
Merge branch 'develop' of https://github.com/PubInv/NASA-COG into rob…
RobertLRead Sep 20, 2023
d25abe9
fix type in name of OEDCS
Sep 20, 2023
2927002
Update README.md
ForrestErickson Sep 20, 2023
7d69a73
Create WattageControlExpreriment
RobertLRead Sep 20, 2023
c44cf87
Update and rename WattageControlExpreriment to WattageControlExprerim…
RobertLRead Sep 20, 2023
b8f5c18
Update WattageControlExpreriment.md
RobertLRead Sep 20, 2023
acb3886
moving back to 3.11.0 for Dallas OneWire
RobertLRead Sep 20, 2023
ebbca7f
removing debugging
RobertLRead Sep 20, 2023
de0c514
reveting to use standard thermocooples for Stage2
RobertLRead Sep 20, 2023
5a8fba7
Merge pull request #285 from PubInv/robWatchDog
RobertLRead Sep 20, 2023
6ee9ffe
majore bug in stage2 heater fixed
RobertLRead Sep 21, 2023
b90877e
removing stray debugging statements
RobertLRead Sep 21, 2023
e3ccc46
Merge pull request #286 from PubInv/robTempAndStage2Control
RobertLRead Sep 21, 2023
b4787d6
added fan enable pwm channel, and ODECS#2 define in platformio.ini
LokiMetaSmith Sep 21, 2023
bd17a89
Merge branch 'fan_enable' of [email protected]:PubInv/NASA-COG.git into …
LokiMetaSmith Sep 21, 2023
ed78c34
fixing but with temperature jump
RobertLRead Sep 21, 2023
2372009
Merge pull request #287 from PubInv/robThermoTest
RobertLRead Sep 21, 2023
1083be4
Pathfinder release
RobertLRead Sep 21, 2023
7111679
fixing global start temperature bug
RobertLRead Sep 22, 2023
8a68cf3
Merge pull request #288 from PubInv/robThermoTest
RobertLRead Sep 22, 2023
abc8a05
Fixing an incorrect variable, passing GLOBAL_RECENT_TEMP when it shou…
RobertLRead Sep 22, 2023
1581451
multiple reads of temperature sensor
RobertLRead Sep 22, 2023
28e84f4
update to debugging
RobertLRead Sep 22, 2023
3c67cda
Files for a Due PCB used to make simple 3D file for meachanical drawi…
ForrestErickson Sep 22, 2023
923151c
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 22, 2023
f6bbdcd
Merge pull request #289 from ForrestErickson/develop
ForrestErickson Sep 22, 2023
ec5784a
Add Due mechanical files. Add step for the Due Ethernet Control v1 as…
ForrestErickson Sep 22, 2023
4d1e1d2
Merge branch 'PubInv:develop' into develop
ForrestErickson Sep 22, 2023
03527fc
Merge pull request #290 from ForrestErickson/develop
ForrestErickson Sep 22, 2023
c5d4942
Add the gerber files from which August order was made. Add step for t…
ForrestErickson Sep 22, 2023
38f7b65
Merge pull request #291 from ForrestErickson/develop
ForrestErickson Sep 22, 2023
280294f
compatability with SPI thermocouple boards and to ensure there is alw…
LokiMetaSmith Sep 22, 2023
3e37c21
Create Fan 4-wire cable interface
RobertLRead Sep 23, 2023
b3af1f8
Update Fan 4-wire cable interface
RobertLRead Sep 23, 2023
2873d7e
Add files via upload
RobertLRead Sep 23, 2023
f6f6006
Update and rename Fan 4-wire cable interface to Fan 4-wire cable inte…
RobertLRead Sep 23, 2023
40ac3a4
Update Fan 4-wire cable interface.md
RobertLRead Sep 23, 2023
0b6aff9
added initial pin states to fan initialization function such that the…
LokiMetaSmith Sep 23, 2023
51816e4
Merge branch 'PubInv:develop' into develop
ForrestErickson Sep 25, 2023
9deaf20
Improving Make Target
RobertLRead Sep 26, 2023
bf3e9d1
Increase rate of PID control to 5 seconds and allow dynamic and separ…
RobertLRead Sep 27, 2023
46de250
now compiles Stage2Heater code successfully
RobertLRead Sep 27, 2023
34daff9
better organization of PID constants
RobertLRead Sep 27, 2023
e9bf283
Merge pull request #293 from PubInv/amoxPIDcontrol
RobertLRead Sep 27, 2023
fa2ebcd
changing precision of printed value
RobertLRead Sep 27, 2023
88d792f
A SPICE simulation of heat capacitance simple model.
ForrestErickson Sep 27, 2023
99fbedd
Add simulation file and result as PNG.
ForrestErickson Sep 27, 2023
141eadb
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 27, 2023
3d04a5f
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 27, 2023
e3bbf73
Merge pull request #296 from ForrestErickson/develop
ForrestErickson Sep 27, 2023
7d74c46
Create README.md
ForrestErickson Sep 27, 2023
d6d4c49
Update README.md
ForrestErickson Sep 27, 2023
2082b69
Update README.md
ForrestErickson Sep 27, 2023
38958dc
Update platformio.ini
LokiMetaSmith Sep 27, 2023
3c1fb6d
Update SanyoAceB97.cpp
LokiMetaSmith Sep 27, 2023
605acc8
Update README.md
ForrestErickson Sep 27, 2023
ccff11e
clarifying variables
RobertLRead Sep 28, 2023
6bd574b
Merge pull request #300 from PubInv/lowWattageIssue
RobertLRead Sep 28, 2023
61230fe
Add a simulation workbook to RCRC simulation.
ForrestErickson Sep 28, 2023
15037d8
Add a therm model with the stack nested in the heat exchanger. Fails …
ForrestErickson Sep 28, 2023
25b12f3
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Sep 28, 2023
abd21a9
Merge pull request #303 from ForrestErickson/develop
ForrestErickson Sep 28, 2023
d9c7c00
Update README.md
ForrestErickson Sep 28, 2023
1128673
Update README.md
ForrestErickson Sep 28, 2023
57734f7
changing PID Tunings
RobertLRead Sep 28, 2023
5f0a810
Add a working polynomical voltage controlled current source simulation.
ForrestErickson Oct 2, 2023
800be4d
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 2, 2023
775f0fe
Merge pull request #308 from ForrestErickson/develop
ForrestErickson Oct 2, 2023
fc2f72b
Update polarity of connections to the GPOLY to correct the signs of t…
ForrestErickson Oct 2, 2023
e9920ce
Add GPOLY to NestedRC circuit and set some values to make plots with …
ForrestErickson Oct 2, 2023
14ae4da
Create README.md
RobertLRead Oct 4, 2023
dd5f947
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 4, 2023
67fed91
improve casting in TC toleration time math and fixing major bug in th…
RobertLRead Oct 4, 2023
e9fb280
changes to PID constants and extended duty cycle
RobertLRead Oct 5, 2023
57e6001
adding debugging to the test program by using a fork with more
RobertLRead Oct 5, 2023
299691e
Merge pull request #311 from PubInv/AmOxPostVisitHighPriority
RobertLRead Oct 5, 2023
133be49
Give name to control net and user it for GPOLY.
ForrestErickson Oct 5, 2023
1b187e8
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 5, 2023
5c134bb
Create README.md
ForrestErickson Oct 6, 2023
277ea31
Update README.md
ForrestErickson Oct 6, 2023
249ca54
Update README.md
ForrestErickson Oct 6, 2023
b973bb3
Update README.md
ForrestErickson Oct 6, 2023
8da1af0
Update for JLCPCB part number of J10
ForrestErickson Oct 7, 2023
f9b45f6
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 7, 2023
5ccb9e7
Merge pull request #315 from ForrestErickson/develop
ForrestErickson Oct 7, 2023
25ef9d9
reving version for PathfinderCandidate
RobertLRead Oct 9, 2023
9e4eab6
Merge branch 'develop' of https://github.com/PubInv/NASA-COG into dev…
RobertLRead Oct 9, 2023
5b3b525
Copy PCB version 1.0 to version 1v1 and delete stale files. No other …
ForrestErickson Oct 10, 2023
69f5716
Merge branch 'PCB_Version_1V1_issue321' into develop
ForrestErickson Oct 10, 2023
b3df09f
Merge pull request #325 from ForrestErickson/develop
ForrestErickson Oct 10, 2023
45860e1
Add sheet with title block.
ForrestErickson Oct 10, 2023
f0214ba
Fix J10 backwards.
ForrestErickson Oct 10, 2023
3c35ac8
Add second power supply connector. Add second and third SSR Driver. A…
ForrestErickson Oct 11, 2023
3d5c8a4
Place many of new components. Still need to place SSR parts.
ForrestErickson Oct 11, 2023
7435dde
First pass at routing.
ForrestErickson Oct 11, 2023
9ac4be7
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 11, 2023
49913cd
Merge pull request #334 from ForrestErickson/develop
ForrestErickson Oct 11, 2023
010c272
Update README.md
ForrestErickson Oct 11, 2023
d45464e
Route AUX power sensors.
ForrestErickson Oct 11, 2023
f4ec1e0
Added schematic components for display header
LokiMetaSmith Oct 11, 2023
c5d62d2
Add LED_BUILTIN
ForrestErickson Oct 11, 2023
8bc7dd4
cosmetic schematic layouc changes
LokiMetaSmith Oct 11, 2023
feed542
forgot to add display interface schematic
LokiMetaSmith Oct 11, 2023
c7d63e3
Add power supply enable circuits. Add shutdown button.
ForrestErickson Oct 11, 2023
77bc60d
Add power shutdown button. Add thermocouple ground screw terminals. I…
ForrestErickson Oct 12, 2023
5a1ec54
Make first cut JLCPCB BOM.
ForrestErickson Oct 12, 2023
716af50
Delete the old V1 bom used as a template.
ForrestErickson Oct 12, 2023
756e9e4
minor update to kicad project
LokiMetaSmith Oct 12, 2023
9034892
Merge branch 'PCB202310111716' of [email protected]:ForrestErickson/NASA…
LokiMetaSmith Oct 12, 2023
7f468c6
unified 1R and 1R0 references
LokiMetaSmith Oct 12, 2023
38a7e6b
Update README.md
ForrestErickson Oct 12, 2023
25e3e93
Update README.md
ForrestErickson Oct 12, 2023
90c65ae
Create Safety and Hazards Failure Effects Mode Analysis
LokiMetaSmith Oct 12, 2023
82fc58e
reviewed schematic during review with Lee and Lawrence
LokiMetaSmith Oct 12, 2023
b5ed04b
Merge branch 'develop' of [email protected]:PubInv/NASA-COG.git into dev…
LokiMetaSmith Oct 12, 2023
b11e240
Merge branch 'develop' of [email protected]:PubInv/NASA-COG.git into dev…
LokiMetaSmith Oct 12, 2023
45fe6e0
Some component placement for display and I2C.
ForrestErickson Oct 13, 2023
9511662
Clean up PCB errors and many warnings. PCB has zero DRC errors. Many …
ForrestErickson Oct 13, 2023
7da037b
Still working on a few JLCPCB part numbers for components, headers - …
ForrestErickson Oct 13, 2023
a82b2b6
Merge pull request #339 from ForrestErickson/develop
ForrestErickson Oct 13, 2023
d74d103
Move components away from J35, J36.
ForrestErickson Oct 13, 2023
0acaf64
Fill ground.
ForrestErickson Oct 13, 2023
3672410
Add another gnd test point.
ForrestErickson Oct 13, 2023
afc4521
Getting close to order of PWAs for Control 1v1.
ForrestErickson Oct 13, 2023
91e0061
Files submitting to JLCPCB but failing to upload.
ForrestErickson Oct 13, 2023
e22021b
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 13, 2023
4428048
Merge pull request #341 from ForrestErickson/develop
ForrestErickson Oct 13, 2023
b9ac0a1
Add the files JLCPCB modified for their order process.
ForrestErickson Oct 13, 2023
b0587d8
Add JLCPCB order files after fixing out of stock components.
ForrestErickson Oct 13, 2023
1143c70
Merge branch 'PubInv:develop' into develop
ForrestErickson Oct 13, 2023
90362a8
Merge branch 'develop' of https://github.com/ForrestErickson/NASA-COG…
ForrestErickson Oct 13, 2023
f099062
Merge pull request #343 from ForrestErickson/develop
ForrestErickson Oct 13, 2023
07f4925
Add Breadboard30P.
ForrestErickson Oct 13, 2023
07ebeb8
Add Breadboard30P gerbers and BOM.
ForrestErickson Oct 13, 2023
4736d62
Merge pull request #344 from ForrestErickson/AddSolderless
ForrestErickson Oct 13, 2023
d266392
Add the Manufacturing files and notes as used for the JLCPCB order on…
ForrestErickson Oct 16, 2023
91e1a51
Merge branch 'PubInv:AddSolderless' into AddSolderless
ForrestErickson Oct 16, 2023
c03f96b
Merge pull request #345 from ForrestErickson/AddSolderless
ForrestErickson Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,22 @@ An unlisted [YouTube video](https://youtu.be/1nq-Mw7jZ5A) has been uploaded that

## How to run

At present, this code does little (for the NASA COG project). We intend
to build a native (that is, laptop) simulation using mock hardware components.
The fundamental way to run this is to perform:
> cd firmware

> pio run -e native && ./.pio/build/native/program

### Linux
The fundamental way to run this is to perform:
> cd firmware
> pio run -e native && ./.pio/build/native/program
We are currently creating the [RibbonFish](https://github.com/PubInv/NASA-COG/blob/develop/RibbonFish.md) proof-of-concept.

This can be run on a Due by executing:

> make pio-run-due_ribbonfish

As this develops, it will use a specific Due hardware configuration,
please see the [documentation](https://github.com/PubInv/NASA-COG/blob/develop/RibbonFish.md) for details to build your own.
This can be run on a Due by executing:
> make pio-run-due_ribbonfish
As this develops, it will use a specific Due hardware configuration,
please see the [documentation](https://github.com/PubInv/NASA-COG/blob/develop/RibbonFish.md) for details to build your own.

### Windows
With Visual Studio Code.
Install the Plateform IO extention
To open he project in Visual Studio Code.
Open Project. Navigate to the firmware folder.
Select the file platformio.ini


## Annoyances
Expand Down
14 changes: 14 additions & 0 deletions docs/Fan 4-wire cable interface.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

As of verion 0.3.5, the fan is a 24V 4-wire fan with PWM control and tachometer (a Sanyo ACE B97).

The wiring case at the end of the DB25 cable uses screw clamp connectors as shown below.

The wiring of the fan is:
| Connect # | Color | Use |
|---|---|---|
| 2 | red | +24V |
| 22 | black | GND |
| 13 | brown | PWM |
| 6 | yellow | Tachometer |

![IMG_4324](https://github.com/PubInv/NASA-COG/assets/5296671/8ee584ef-fd01-4cc7-978d-29192e5faf28)
Binary file added docs/IMG_4324.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions docs/Safety and Hazards Failure Effects Mode Analysis
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
In evaluation of proper control of an ODECOS and CFC, the following hazards need to be considered
- Uncontrolled oxygen production
-- leaking pipes or cracked stacks could cause excessive O2 build up in enclosed spaces
-- could cause excessive oxygen levels in enclosed spaces
- Thermal runaway
-- damage to property and equipment
-- possible ignition source for accelerant gasses such as O2
- Electrical shock hazard
-- person and equipment hazard
- Oxygen depleted waste exaust gas
-- OSHA dictates that the minimum "safe level" of oxygen in a confined space is 19.5%, while the maximum "safe level" of oxygen in a confined space is 23.5%.
With low oxygen levels being the biggest cause of death in confined spaces, accurate oxygen level measurements are essential.
- Excessive ambient temperatures
-- can cause over temperatures on the heat exchanger
-- can cause an over temeprature on a hot water exchanger
-- can cause fire hazards for other devices and materials in the ajoined enclosed space.


Resolutions
- Uncontrolled oxygen production
-- a well functioning controller that monitors pressure and meters O2 production satisfies this condition during normal operation
-- Disabling the stack power supply and the stack heater will eliminate the systems ability to make oxygen
-- In an ideal world, a sepearate system would monitor over pressure events on the output O2 stream and could disable the systems ability to make O2 through an electrical signal
-- a controller function watchdog/fault detection circuit would also satisfy this condition
- Thermal Runaway
-- A well functoning controller that is monitoring temperature satisfies this condition during normal operation
-- A thermal fuse on the stacks or on critical components tied to the Estop circuit would fulfill this requriement
-- a controller function watchdog/fault detection circuit would also satisfy this condition
- Electrical shock hazard
-- Metallic enclosure and all metal have a reliable connection to ground
-- these usually mean a gas tight and dedicated pathway to ground for all metal components
-- A Ground fault and/or arc fault external protection in addtion to reliably grounding metallic components satisifes this condition
- Oxygen depleted waste exaust gas
-- External Oxygen Deficiency Monitor for O2 Depletion Safety 0-25%
-- a normally closed relay could trigger an e-stop and satisfy this condition
- Excessive ambient temperatures
-- An ambient temperature sensor on the inlet and on the surface of the pcb, in conjunction to a relay tied to an estop should satisfy this condition
-- a thermal fuse on the inlet temperature should also satisfy this condition
-- a controller that monitors inlet and ambient temperature should satisfy this condition


Controller safety features
- The controller is designed such that on loss of control of the DUE or loss of power, the controller produces a condition that is intrinsically safe and disables production of oxygen


References:
https://www.eaton.com/ie/en-gb/markets/machine-building/service-and-support-machine-building-moem-service-eaton/blogs/emergency-stop-circuit---blogs---eaton.html
https://en.wikipedia.org/wiki/Watchdog_timer
17 changes: 17 additions & 0 deletions docs/WattageControlExpreriment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

During a high temperature test on the mornign of Wednesday Sept. 20th, Rob collected the following data on the wattage and amperage settings to show that
the wattage control works.

It shows some accuracy in our digital hardware, but basically was a successful test.

Sadly, we were having problems with the thermocouple at this time, so I did not know the temperature.

| Software Watts Limit | Software Amps | Reported Watts | Reported Amps |
|---|---|---|---|
| 12 | 10 | 13.75 | 4.63 |
| 15 | 10 | 16.01 | 5.23 |
| 12 | 10 | 14.48 | 4.70 |
| 10 | 10 | 12.10| 4.23 |
| 8 | 10 | 10.49 | 3.83 |
| 6 | 10 | 7.85 | 3.18 |
| 4 | 10 | 5.90 | 2.17 |
Loading