|
OCS improving time and date and extacting two years data
Hi Howard,
In my installation the ntp feature to synchronize time has nerver been a real success, i'm always several minutes late , i tested several ntp servers and it doesn't change anything.
Would
Hi Howard,
In my installation the ntp feature to synchronize time has nerver been a real success, i'm always several minutes late , i tested several ntp servers and it doesn't change anything.
Would
|
By
koal01
·
#413
·
|
|
Re: Two hotwire wind sensors ?
Concerning direction, not obvious to get it properly i know.
Anyway thank you for the code that allows to handle mutliple hotwires.
Concerning direction, not obvious to get it properly i know.
Anyway thank you for the code that allows to handle mutliple hotwires.
|
By
koal01
·
#412
·
|
|
Re: Two hotwire wind sensors ?
Seems to me wind direction with this is impossible.
Adding more would be follow the same pattern, trivial.
Seems to me wind direction with this is impossible.
Adding more would be follow the same pattern, trivial.
|
By
Howard Dutton
·
#411
·
|
|
Re: Two hotwire wind sensors ?
So great and so nice ! I’m going to order a second sensor and test the changes. I was not sure this feature was possible so I prefered waiting. May I ask a question ? I don’t know the modern
So great and so nice ! I’m going to order a second sensor and test the changes. I was not sure this feature was possible so I prefered waiting. May I ask a question ? I don’t know the modern
|
By
koal01
·
#410
·
|
|
Re: Roof stepper motor support
I've never even thought about using it like that but if it works, great.
Basically any digital (or "analog" for that matter) pin on the Mega2560, not used for other purposes, can provide the EN and
I've never even thought about using it like that but if it works, great.
Basically any digital (or "analog" for that matter) pin on the Mega2560, not used for other purposes, can provide the EN and
|
By
Howard Dutton
·
#409
·
Edited
|
|
Re: Two hotwire wind sensors ?
Guess the following should work. It takes the higher windspeed from the two devices and returns that...
//
Guess the following should work. It takes the higher windspeed from the two devices and returns that...
//
|
By
Howard Dutton
·
#408
·
|
|
Re: USR-ES1 W5500 Lose IP
Yes, it is configured to pin 11, some devices like a Zyxel router dont recognize it as a conecetd device but still works at the configured ip, the results are the same if i config for static ip
Yes, it is configured to pin 11, some devices like a Zyxel router dont recognize it as a conecetd device but still works at the configured ip, the results are the same if i config for static ip
|
By
rad112g@...
·
#407
·
|
|
Two hotwire wind sensors ?
Hi Howard,
Experimenting the modern device hotwire sensor which is actually oriented east-west in my installation i was wondering if adding a second one north-south would be possible in OCS
Hi Howard,
Experimenting the modern device hotwire sensor which is actually oriented east-west in my installation i was wondering if adding a second one north-south would be possible in OCS
|
By
koal01
·
#406
·
|
|
Roof stepper motor support
I tested to work a stepper motor to open/close roof using the ROR_POWER_RELAY pin PWM to a DRV8825 step pin, i took pin 3 and 5 for dir and en and added digitalWrite code for those pins on Roof.ino
I tested to work a stepper motor to open/close roof using the ROR_POWER_RELAY pin PWM to a DRV8825 step pin, i took pin 3 and 5 for dir and en and added digitalWrite code for those pins on Roof.ino
|
By
rad112g@...
·
#405
·
|
|
Re: Noise on Voltage/Current analog read
I will come back around to the OCS for a good once over, and when I do things like this will be built-in.
I will come back around to the OCS for a good once over, and when I do things like this will be built-in.
|
By
Howard Dutton
·
#404
·
|
|
Re: Noise on Voltage/Current analog read
Works fine fine fine, i implemented it for both current and voltage, thanks for your time, congrats for your knowledge.
Works fine fine fine, i implemented it for both current and voltage, thanks for your time, congrats for your knowledge.
|
By
rad112g@...
·
#403
·
|
|
Re: USR-ES1 W5500 Lose IP
You did wire in and handle the W5500 reset pin right?
Other than that it seems to be an library level or below issue and not hardware I've ever tested the OCS with. We do use the W5500 with somewhat
You did wire in and handle the W5500 reset pin right?
Other than that it seems to be an library level or below issue and not hardware I've ever tested the OCS with. We do use the W5500 with somewhat
|
By
Howard Dutton
·
#402
·
|
|
Re: Noise on Voltage/Current analog read
You could also bracket the analogRead() and averaging code so it runs at a fixed interval largely independent of the MCU frequency, etc. Below is for 1 Hz samples in which case you would probably
You could also bracket the analogRead() and averaging code so it runs at a fixed interval largely independent of the MCU frequency, etc. Below is for 1 Hz samples in which case you would probably
|
By
Howard Dutton
·
#401
·
|
|
Re: Noise on Voltage/Current analog read
To do this well you'd probably want to change some code from WebAjax:
#if STAT_DC_CURRENT_ANALOG != OFF
f = toDCAmps(analogRead(STAT_DC_CURRENT_ANALOG));
strcpy_P(temp1,htmlInnerStatusDCA);
To do this well you'd probably want to change some code from WebAjax:
#if STAT_DC_CURRENT_ANALOG != OFF
f = toDCAmps(analogRead(STAT_DC_CURRENT_ANALOG));
strcpy_P(temp1,htmlInnerStatusDCA);
|
By
Howard Dutton
·
#400
·
|
|
USR-ES1 W5500 Lose IP
I installed the USR-ES1 ethernet adapter, it has W5500 chip, works well but i have a little issue with it when conected to any router in DHCP mode (i use "Ethernet.begin(m);" instead of
I installed the USR-ES1 ethernet adapter, it has W5500 chip, works well but i have a little issue with it when conected to any router in DHCP mode (i use "Ethernet.begin(m);" instead of
|
By
rad112g@...
·
#399
·
|
|
Noise on Voltage/Current analog read
Hello Howard, im getting very different values for voltage and current reading, im using 2k2 and 220 Ohm for voltage and ACS712 20A (0,1V/A), some instant measurements differs in about 1V/1A from
Hello Howard, im getting very different values for voltage and current reading, im using 2k2 and 220 Ohm for voltage and ACS712 20A (0,1V/A), some instant measurements differs in about 1V/1A from
|
By
rad112g@...
·
#398
·
|
|
Re: Problems after implementing weater functions
Good morning
Thank you Howard for your answers.
I will slow down the I2C bus. Can I go down as low as 10 or 20 Hz ? is there a minimum frequency specified ?
Good morning
Thank you Howard for your answers.
I will slow down the I2C bus. Can I go down as low as 10 or 20 Hz ? is there a minimum frequency specified ?
|
By
Laurent HOUSSAYE
·
#397
·
|
|
Re: Problems after implementing weater functions
Sorry, glitched on that, it's 20000 Hz.
Sorry, glitched on that, it's 20000 Hz.
|
By
Howard Dutton
·
#396
·
|
|
Re: Problems after implementing weater functions
I2C speed 10000, is in Hz.
Weather stuff updates at 32 second intervals. Log entries every 30 seconds are from running averages read from sensors every 2 seconds. Data is pulled from sensors as
I2C speed 10000, is in Hz.
Weather stuff updates at 32 second intervals. Log entries every 30 seconds are from running averages read from sensors every 2 seconds. Data is pulled from sensors as
|
By
Howard Dutton
·
#395
·
|
|
Re: Problems after implementing weater functions
One problem resolved ! The Weather Charts are now correctly displayed once I have cleared the browser (Firefox) cache...
Now it is time to tackle the I2C bus sensors problem !
Thanks a lot Howard for
One problem resolved ! The Weather Charts are now correctly displayed once I have cleared the browser (Firefox) cache...
Now it is time to tackle the I2C bus sensors problem !
Thanks a lot Howard for
|
By
Laurent HOUSSAYE
·
#394
·
|