quantenschaum / egg-incubator

adruino controlled incubator for chicken eggs
https://create.arduino.cc/projecthub/quantenschaum/egg-incubator-ef0cf6
GNU General Public License v3.0
50 stars 35 forks source link

About Circuit Diagram #1

Closed rodelanishan closed 6 years ago

rodelanishan commented 6 years ago

Can you please send me arduino pinout circuit diagram?

Thank You

kakemanx commented 6 years ago

I'm not home right now, I'm using an uno with an dfrobot LCD shield 😊

Was hoping to use a 12v car light bulb and a normal fan, and either a servo for venting or a small 40mm fan (or 30mm)

Regards Tor Espen Sneltvedt

Thanks for the reply 😊

On Sun, 25 Mar 2018, 16:31 rodelanishan, notifications@github.com wrote:

Can you please send me arduino pinout circuit diagram?

Thank You

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rkIgwCU47QlmnAV8JbcIgniAun51ks5th6pagaJpZM4S6KS2 .

kakemanx commented 6 years ago

https://www.dfrobot.com/wiki/index.php/Arduino_LCD_KeyPad_Shield_(SKU:_DFR0009)

Here's the link for the LCD shield. Some of the buttons work, but they seems to be a bit erratic :/

quantenschaum commented 6 years ago

I updated the description and added a circuit diagram. Unfortunately it's not possible to "really connect" the components in Fritzing, but it's probably enough to get it running.

kakemanx commented 6 years ago

Thanks for the reply and update :)

I ditched the lightbulb and went with an guitarstring (Thinnes E string) and the componets You recommended... works much better now :)

Are You supposed to be able to adjust temp/humidity on the display?

Best regards Tor Espen (Norway if it matters :P )

On 3 April 2018 at 12:23, Adam notifications@github.com wrote:

I updated the description and added a circuit diagram. Unfortunately it's not possible to "really connect" the components in Fritzing, but it's probably enough to get it running.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-378202551, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rqFdbMa0oT3f7DI-MV3Q-aKE_oUkks5tk020gaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

kakemanx commented 6 years ago

Only problem i have now is that when i operate the buttons i will get a fan alarm.. clears straight away thou..

On 5 April 2018 at 15:40, All-Tech-Nerd torespen@gmail.com wrote:

Thanks for the reply and update :)

I ditched the lightbulb and went with an guitarstring (Thinnes E string) and the componets You recommended... works much better now :)

Are You supposed to be able to adjust temp/humidity on the display?

Best regards Tor Espen (Norway if it matters :P )

On 3 April 2018 at 12:23, Adam notifications@github.com wrote:

I updated the description and added a circuit diagram. Unfortunately it's not possible to "really connect" the components in Fritzing, but it's probably enough to get it running.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-378202551, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rqFdbMa0oT3f7DI-MV3Q-aKE_oUkks5tk020gaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

quantenschaum commented 6 years ago

I noticed the fan alarm, too. It can appear if the buttons are pressed but quickly goes away.

Yes, you can adjust the T/H setpoints using the buttons. Have a look at the usage section in the readme. With select cycle to Ts=.../Hs=..., these are the setpoints. Adjust them as described in 2 and 3.

You may also need to tune PID parameters for T and H loop to match the behaviour of your system, the numbers in lines 233 and 245. Google for "PID tuning", I will write on that in the readme when I have time.

And just to mention the HC12 tuning algorithm, but Ziegler-Nichols does very well for this machine.

quantenschaum commented 6 years ago

And adjust the T_OFFSET in line 11.

kakemanx commented 6 years ago

Very strange regarding the fan alarm :) I'll have a look through the code and setup logging to see if i can figure out why :)

Thanks for the replies :)

Tor Espen

On 5 April 2018 at 17:31, Adam notifications@github.com wrote:

And adjust the T_OFFSET in line 11.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-378977278, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rqz0EwNqmNoVKIh0CcDTQJ9tknmKks5tljjfgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

kakemanx commented 6 years ago

I am for the moment using a DHT 11 sensor, but are changing to dht22 or a AM2301 but i have problems with the DHT11 jumping alot... do You experience this? it can show 37.X then sudenly 42 deg. (lower line in display) i also get a sensor error from time to time (using a 10kohm resistor)

On 5 April 2018 at 20:47, All-Tech-Nerd torespen@gmail.com wrote:

Very strange regarding the fan alarm :) I'll have a look through the code and setup logging to see if i can figure out why :)

Thanks for the replies :)

Tor Espen

On 5 April 2018 at 17:31, Adam notifications@github.com wrote:

And adjust the T_OFFSET in line 11.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-378977278, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rqz0EwNqmNoVKIh0CcDTQJ9tknmKks5tljjfgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

quantenschaum commented 6 years ago

The DHT11 is quite bad, actually. I implemented the double exponential smoothing to make the readings less jumpy to gain some precision. You may need to tune the smoothing parameters, but I recommend to use a better sensor.

kakemanx commented 6 years ago

I'm running with a AM2301 sensor atm. but seems that the heat coil is still getting power after reaching temp... have replaced the mosfet just incase but will check again now :)

On 7 April 2018 at 12:58, Adam notifications@github.com wrote:

The DHT11 is quite bad, actually. I implemented the double exponential smoothing https://en.wikipedia.org/wiki/Exponential_smoothing#Double_exponential_smoothing to make the readings less jumpy to gain some precision. You may need to tune the smoothing parameters, but I recommend to use a better sensor.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-379461120, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rv4ggAfQo8OCoF9BffZuLMGOigBXks5tmJvPgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

kakemanx commented 6 years ago

Don't understand it... even thou the heater is off (showing 0 in display, and temp is way higher than setpk) the heater is still warm :/.. Don't get it.. is the fritzing layout photo correct?

On 7 April 2018 at 14:10, All-Tech-Nerd torespen@gmail.com wrote:

I'm running with a AM2301 sensor atm. but seems that the heat coil is still getting power after reaching temp... have replaced the mosfet just incase but will check again now :)

On 7 April 2018 at 12:58, Adam notifications@github.com wrote:

The DHT11 is quite bad, actually. I implemented the double exponential smoothing https://en.wikipedia.org/wiki/Exponential_smoothing#Double_exponential_smoothing to make the readings less jumpy to gain some precision. You may need to tune the smoothing parameters, but I recommend to use a better sensor.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-379461120, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rv4ggAfQo8OCoF9BffZuLMGOigBXks5tmJvPgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

kakemanx commented 6 years ago

Nope... still getting heating thou the output showes 0... have even tried changing mosfet and using a 10kohm resistor between signal and ground... still heating all the time :/

On 7. april 2018 kl. 18:28, All-Tech-Nerd torespen@gmail.com wrote:

Don't understand it... even thou the heater is off (showing 0 in display, and temp is way higher than setpk) the heater is still warm :/.. Don't get it.. is the fritzing layout photo correct?

On 7 April 2018 at 14:10, All-Tech-Nerd torespen@gmail.com wrote:

I'm running with a AM2301 sensor atm. but seems that the heat coil is still getting power after reaching temp... have replaced the mosfet just incase but will check again now :)

On 7 April 2018 at 12:58, Adam notifications@github.com wrote:

The DHT11 is quite bad, actually. I implemented the double exponential smoothing https://en.wikipedia.org/wiki/Exponential_smoothing#Double_exponential_smoothing to make the readings less jumpy to gain some precision. You may need to tune the smoothing parameters, but I recommend to use a better sensor.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-379461120, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rv4ggAfQo8OCoF9BffZuLMGOigBXks5tmJvPgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

kakemanx commented 6 years ago

Sorry for all the messages :) But, two things.. firstly it seems that You have reversed the Source and drain on the fritzing drawing for the irfz44n.. But in my case, even swithing it so that drain (heat coil) is put on leg 2, source (negative) is on leg 3 and gate (signal) is on leg 1 it did not work.. However... i switched out the irfz44n for an STP 55NF06 mosfet, and this did the trick :) Seems to be working now.. (for the moment at least :) )

On 7. april 2018 kl. 19:35, All-Tech-Nerd torespen@gmail.com wrote:

Nope... still getting heating thou the output showes 0... have even tried changing mosfet and using a 10kohm resistor between signal and ground... still heating all the time :/

On 7. april 2018 kl. 18:28, All-Tech-Nerd torespen@gmail.com wrote:

Don't understand it... even thou the heater is off (showing 0 in display, and temp is way higher than setpk) the heater is still warm :/.. Don't get it.. is the fritzing layout photo correct?

On 7 April 2018 at 14:10, All-Tech-Nerd torespen@gmail.com wrote:

I'm running with a AM2301 sensor atm. but seems that the heat coil is still getting power after reaching temp... have replaced the mosfet just incase but will check again now :)

On 7 April 2018 at 12:58, Adam notifications@github.com wrote:

The DHT11 is quite bad, actually. I implemented the double exponential smoothing https://en.wikipedia.org/wiki/Exponential_smoothing#Double_exponential_smoothing to make the readings less jumpy to gain some precision. You may need to tune the smoothing parameters, but I recommend to use a better sensor.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quantenschaum/egg-incubator/issues/1#issuecomment-379461120, or mute the thread https://github.com/notifications/unsubscribe-auth/AQr-rv4ggAfQo8OCoF9BffZuLMGOigBXks5tmJvPgaJpZM4S6KS2 .

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt

-- Mvh/regards TorEspen Sneltvedt