Example project for the Rioux Chem control box

Dependencies:   mbed MODSERIAL

Dependents:   screentest

Rioux Chem Control Box

/media/uploads/emh203/ccb.jpg

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

Files at this revision

API Documentation at this revision

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;
     
 }