d0ughb0y
Active member
so you will not but PCB in oshpark.com ?
Not unless I get a sponsor, it's $73 for 3 pieces there, and still takes 2 weeks. It's still cheaper to pay expedited shipping to pcb makers from China and get it in two weeks.
so you will not but PCB in oshpark.com ?
For some reason my controller is now hanging at NTP DNS Fails. It was working fine. If I disconnect the SDA and SCL from the pH stamp, it's running I2C, the controller boots fine. Any suggestions? Address issue? If so why would it have changed? Pull up resistor needed?
Logs with hang and without:
07/10/2016 18:44:03 crc mismatch
07/10/2016 18:44:03 crc mismatch
07/10/2016 18:44:03 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:04 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:44:05 crc mismatch
07/10/2016 18:50:07 Get ntp failed.
07/10/2016 18:50:07 Using RTC as sync provider.
07/10/2016 18:50:07 RTC time 07/10/2016 18:50:07
07/10/2016 18:50:07 System initializing...
07/10/2016 18:50:09 Ethernet and Webserver reset.
07/10/2016 18:50:10 Found Temp 0
07/10/2016 18:50:10 Found Temp 1
07/10/2016 18:50:12 Temp sensor initialized.
07/10/2016 18:50:19 pH init failed. ph 0
07/10/2016 18:50:20 Outlet Timers initialized
07/10/2016 18:50:21 Please configure doser pumps before using.
07/10/2016 18:50:23 Initialization Completed.
07/10/2016 18:50:23 4160
07/10/2016 18:57:11 Get ntp failed.
07/10/2016 18:57:11 Using RTC as sync provider.
07/10/2016 18:57:11 RTC time 07/10/2016 18:57:11
07/10/2016 18:57:11 System initializing...
07/10/2016 18:57:13 Ethernet and Webserver reset.
07/10/2016 18:57:14 Found Temp 0
07/10/2016 18:57:14 Found Temp 1
07/10/2016 18:57:16 Temp sensor initialized.
07/10/2016 18:57:23 pH init failed. ph 0
07/10/2016 18:57:24 Outlet Timers initialized
07/10/2016 18:57:25 Please configure doser pumps before using.
07/10/2016 18:57:27 Initialization Completed.
07/10/2016 18:57:27 4160
07/10/2016 19:00:17 Ethernet and Webserver reset.
if it works in standalone code, it should work in the controller code.
look in Sensor.cpp code and find the stamp init code, and try to do the sequence manually in a serial terminal to see if everything works.
Just test the individual function, if it works stand alone, it will work in the controller code. From my experience, other than component failure, problems are most likely caused by loose connection.
I can dose manually and it works fine. Just can't get auto dosing setup, it errors out.Run the calibration just fine it says calibration sent. Go to the dosing screen and try to set up dosing but it gives and error every time I click save. Rebooted reloaded a few times. I also edited conf.h as follows and this doesn't show up either.
#define DOSERDEFAULT {"Cal",5,0,0,2030,3626,3000},{"Alk", 20,1,1,2000,3234,3000}