|
Re: Moved Set Up Out To Observatory For Testing
From what I understand I'd have to add a control to the website to reset the Mega2560 to place it in firmware upload mode. I suspect that would be easy.
From what I understand I'd have to add a control to the website to reset the Mega2560 to place it in firmware upload mode. I suspect that would be easy.
|
By
Howard Dutton
·
#97
·
|
|
Re: Moved Set Up Out To Observatory For Testing
I was also looking at the WifIOTA and ArduinoOTA, it also mentions the ariadne-bootloader. I will take a look at it, just wondering if that would be an option in the future.
Thanks
Nino
I was also looking at the WifIOTA and ArduinoOTA, it also mentions the ariadne-bootloader. I will take a look at it, just wondering if that would be an option in the future.
Thanks
Nino
|
By
Fernando Nino Sr
·
#96
·
|
|
Re: Moved Set Up Out To Observatory For Testing
In the usual way. A PC attached to the Mega2560 USB connection.
There are TFTP bootloaders for the Mega2560. I guess one could use that across IP (VPN, etc.) to flash the Mega2560 but I haven't gone
In the usual way. A PC attached to the Mega2560 USB connection.
There are TFTP bootloaders for the Mega2560. I guess one could use that across IP (VPN, etc.) to flash the Mega2560 but I haven't gone
|
By
Howard Dutton
·
#95
·
|
|
Moved Set Up Out To Observatory For Testing
We are due for some cold weather this week, so I wanted to see how the setup will work. I still have to add the sensors but wanted to test out the main boards. I also worked on the relay outlets, I
We are due for some cold weather this week, so I wanted to see how the setup will work. I still have to add the sensors but wanted to test out the main boards. I also worked on the relay outlets, I
|
By
Fernando Nino Sr
·
#94
·
Edited
|
|
Re: monitoring Dc help
abs() is needed only since current is actually negative, reverse the leads and the value would be positive. Still we aren't interested in that for this application so I'll add abs to the code.
As for
abs() is needed only since current is actually negative, reverse the leads and the value would be positive. Still we aren't interested in that for this application so I'll add abs to the code.
As for
|
By
Howard Dutton
·
#93
·
|
|
Re: monitoring Dc help
Howard,
There's something new with this change in the function using "return abs(A);"
Also i moved from pin A10 to A7, i had doubt on this A10 pin which seems out or badly soldered.
Now when i
Howard,
There's something new with this change in the function using "return abs(A);"
Also i moved from pin A10 to A7, i had doubt on this A10 pin which seems out or badly soldered.
Now when i
|
By
koal01
·
#92
·
|
|
Re: monitoring Dc help
...2.588 to 2.618 let call it 2.6V
Code goes like this...
#define STAT_DC_CURRENT_ANALOG A10
The analogRead(A10) returns a value 0 to 1023 which equals 0 to 5V so d is about 532.
#define
...2.588 to 2.618 let call it 2.6V
Code goes like this...
#define STAT_DC_CURRENT_ANALOG A10
The analogRead(A10) returns a value 0 to 1023 which equals 0 to 5V so d is about 532.
#define
|
By
Howard Dutton
·
#91
·
Edited
|
|
Re: monitoring Dc help
yes i've already set this statement like that.
Never mind !
i'll try to test the component on a bench with a simple sketch and if something appears interesting i'll try to report it to you
Thank
yes i've already set this statement like that.
Never mind !
i'll try to test the component on a bench with a simple sketch and if something appears interesting i'll try to report it to you
Thank
|
By
koal01
·
#90
·
|
|
Re: monitoring Dc help
Ok, and if that's using...
#define STAT_DC_CURRENT_ANALOG A10
I'm out of ideas.
Ok, and if that's using...
#define STAT_DC_CURRENT_ANALOG A10
I'm out of ideas.
|
By
Howard Dutton
·
#89
·
|
|
Re: monitoring Dc help
Howard,
I checked the analogic pin and the output it correctly wired on the A10 pin directly on the mega.
I tested with a multimeter the ACS712 output, i can read 2.588 to 2.618 volts whereas the
Howard,
I checked the analogic pin and the output it correctly wired on the A10 pin directly on the mega.
I tested with a multimeter the ACS712 output, i can read 2.588 to 2.618 volts whereas the
|
By
koal01
·
#88
·
|
|
Re: monitoring Dc help
Ok i'll do that, testing the output with a multimeter will be very instructive.
Thanks
Koal01
Ok i'll do that, testing the output with a multimeter will be very instructive.
Thanks
Koal01
|
By
koal01
·
#87
·
|
|
Re: monitoring Dc help
Confirm the correct Mega2560 Analog input is connected. Again, don't use one of the protected inputs on the OCS PCB use an spare Analog input right on the Mega2560. Not much in that code to go wrong
Confirm the correct Mega2560 Analog input is connected. Again, don't use one of the protected inputs on the OCS PCB use an spare Analog input right on the Mega2560. Not much in that code to go wrong
|
By
Howard Dutton
·
#86
·
|
|
Re: monitoring Dc help
Thank you Howard for having implemented this feature.
So i updated OCS to 2.0 h yesterday and wired the ACS712 output to the A10 pin of the Mega.
Following examples in the web the ACS module is
Thank you Howard for having implemented this feature.
So i updated OCS to 2.0 h yesterday and wired the ACS712 output to the A10 pin of the Mega.
Following examples in the web the ACS module is
|
By
koal01
·
#85
·
|
|
Re: Inside Temperature Question
I purchased the items on your list(Stellar Journey) from ali express, they started arriving last thursday, I had some bme280's sitting around so I had used those for the outside sensor. The bmp180
I purchased the items on your list(Stellar Journey) from ali express, they started arriving last thursday, I had some bme280's sitting around so I had used those for the outside sensor. The bmp180
|
By
Fernando Nino Sr
·
#84
·
|
|
Re: monitoring Dc help
Looking at that again it won't work, those are just conversion functions so...
I've expanded the range of allowed Analog ports into the Config.h settings and added the following code to an Misc.ino
Looking at that again it won't work, those are just conversion functions so...
I've expanded the range of allowed Analog ports into the Config.h settings and added the following code to an Misc.ino
|
By
Howard Dutton
·
#83
·
Edited
|
|
Re: monitoring Dc help
Just wire in the device per the examples on the internet. The ACS712 seems to have isolation so just wire it right into an unused Mega2560 analog input.
The following code should do the trick (add to
Just wire in the device per the examples on the internet. The ACS712 seems to have isolation so just wire it right into an unused Mega2560 analog input.
The following code should do the trick (add to
|
By
Howard Dutton
·
#82
·
|
|
Re: BME280 Sensor
I think what you would want to do is perhaps use relay 7 to press the garage door opener button.
#define ROR_OPEN_CLOSE_MOMENTARY 7 // OFF, n. Where n=1..14 (Relay#) A momentary switch
I think what you would want to do is perhaps use relay 7 to press the garage door opener button.
#define ROR_OPEN_CLOSE_MOMENTARY 7 // OFF, n. Where n=1..14 (Relay#) A momentary switch
|
By
Howard Dutton
·
#81
·
|
|
Re: Inside Temperature Question
Yes, that's the kind of thing those functions are for.
The BMP180 is temperature and pressure only though so I guess you intend to use a BME280?
Yes, that's the kind of thing those functions are for.
The BMP180 is temperature and pressure only though so I guess you intend to use a BME280?
|
By
Howard Dutton
·
#80
·
|
|
Inside Temperature Question
Since I don't use a warm room, I would still like to monitor the temp & humidity inside the observatory. Reason for this is to set the exhaust fan to kick in at certain temp or humidity range. Could I
Since I don't use a warm room, I would still like to monitor the temp & humidity inside the observatory. Reason for this is to set the exhaust fan to kick in at certain temp or humidity range. Could I
|
By
Fernando Nino Sr
·
#79
·
Edited
|
|
Re: BME280 Sensor
Correct.
Thanks
By
Fernando Nino Sr
·
#78
·
|