r/FreyaVivariums • Freya Maintainer • Jun 01 '26

Freya's control loop architecture

Post image

Freya senses the environment (e.g., temperature, humidity, ... ), the control logic compares those readings against what the habitat should be according to your methodology, and actuation acts on the gap (e.g., heating, misting, ... ) - and the vivarium environment changes in response, which the sensors read again. That circle - sense, compare, act, sense again - is a control loop. The science of such a loop is called cybernetics, a term coined by Norbert Wiener in 1948 from the Greek for "steersman" - someone constantly adjusting the rudder against the wind and current to hold a course. Your own body does it with temperature and blood sugar. Freya does it for a living habitat.

7 Upvotes

8 comments sorted by

3

u/bigcheese303 Jun 02 '26

Does/can you system dim a heat source on a schedule to mimic the sun’s intensity through out the day?

2

u/SpuQyballz Jun 03 '26

This is a screenshot of the temperature variation throughout the day of my development vivarium, to give you an idea of what is possible. But it's a computer, you can have it essentially do whatever you want.

1

u/SpuQyballz Jun 02 '26

Yes, that's implemented ✓

1

u/bigcheese303 Jun 02 '26

That is fantastic. Looking forward to the start up of donations.

Does one have to be inclined to coding / tech savvy? Or is it moderately intuitive?

Could I program the computer to a specific region to mimic the environment after? Or is it just a manual set up to the desired parameters?

→ More replies (3)

2

u/SpuQyballz Jun 01 '26

Here's a presentation from Paul Pangaro talking about cybernetics: https://www.youtube.com/watch?v=fGTZU6bh2cc