Example project for the Rioux Chem control box
Rioux Chem Control Box
This is the example project for the Rioux Chem Control Box. I have posted some youtube videos to guide you through the hardware and software:
Rioux Chem Control Box - Hardware
http://www.youtube.com/watch?v=MoZ92GRYa4s
Rioux Chem Control Box - Software - Part I
http://www.youtube.com/watch?v=_MwaTLL4dyA==
Rioux Chem Control Box - Software - Part II
http://www.youtube.com/watch?v=j_P89izfgoQ
Revision 4:e3eda81c97ae, committed 2021-08-05
- Comitter:
- wavenumber
- Date:
- Thu Aug 05 02:16:11 2021 +0000
- Parent:
- 3:cb48919cd5e8
- Child:
- 5:b56a4592aac0
- Commit message:
- Change the 4 to 20mA computation to use 240 resistor that is on Rev B. We may need to investigated if this still needs to be the old value of 82
Changed in this revision
DRIVERS/CHEM_BOX_COMMON.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DRIVERS/CHEM_BOX_COMMON.cpp Thu Aug 05 02:12:29 2021 +0000 +++ b/DRIVERS/CHEM_BOX_COMMON.cpp Thu Aug 05 02:16:11 2021 +0000 @@ -364,7 +364,7 @@ if(Channel > 1) Channel = 1; - return (((float)(ReadRawADC(Channel + 7)) /4095.0) * 5.0) / 82; + return (((float)(ReadRawADC(Channel + 7)) /4095.0) * 5.0) / 240; }