Circadian Rhythms, F.lux, and DDC/CI

The circadian clock. A precision oscillator that regulates our sleep/wake cycles, our body temperature, our blood pressure,  our hormone secretion, our metabolic pathways, and many other bodily processes(mirror). Hell, weakened or disrupted circadian rhythms have even been implicated in bipolar disorder!(mirror) It’s obviously, a very important mechanism. However, ’tis a mechanism that is disrupted most easily by modern life. The biggest offender is undoubtedly the ubiquitous, backlit screen. What can we do about it?

Obviously, you can manually adjust your monitor to approximate the sun’s brightness, but that would be a terrible pain in the @ss, and impossible to maintain.

For about 4 years, the only alternative was a program known as “f.lux” (seen below)

However, f.lux can only adjust the color temperature of your monitor, not the brightness!

For myself, and my perpetually terrible circadian rhythms, this meant I continued to stay up past 2am, and sleep through the day. My netbook, the N10j, had something far better: adaptive display brightness. Why can’t my desktop??

Enter DDC/CI

The Display Data Channel/Command Interface is a standard introduced in 1998, along with a standard for controlling said monitors, the Monitor control Command Set.

Exactly what I need!

What about implementation?

Microsoft has it covered!

My Idea

A program that maps the daytime sunlight curve to a screen brightness value – however, unlike f.lux, it’d call the SetMonitorBrightness function provided by the Windows API.

setbright

The software’s control flow would work something like this:

monitor bright

My only obstacle however, is that I don’t know crap about programming in C#! It’ll take me a very long time to learn – so if you are an experienced C# programmer, I’d enjoy a partnership.

~ by Alexander Riccio on February 9, 2013.

3 Responses to “Circadian Rhythms, F.lux, and DDC/CI”

  1. […] I threw together a quick implementation of the DDC/CI vs sunlight idea that I described the other day.This isn’t a full implementation – it is not aware of […]

    Like

  2. […] you’ve been following this blog, you’ve probably already read parts one & two. If you haven’t, read about it after the […]

    Like

  3. […] doctor once mentioned the extraordinary effect of weather on behavior –  it affects us many more ways than we are aware of.  He mentioned many things, that Sunshine improves mood, that storms (barometric pressure) […]

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
Shelly L. Miller

I am an environmental engineer. I teach and research urban air pollution.

Lucky's Notes

Notes on math, coding, and other stuff

AbandonedNYC

Abandoned places and history in the five boroughs

Open Mind

KIDS' LIVES MATTER so let's stop climate change

I learned it. I share it.

A software engineering blog by György Balássy

Kitware Inc

Delivering Innovation

The Electric Chronicles: Power in Flux

If someone ever tells you that you don't need more power, walk away. You don't need that kind of negativity in your life.

Ted's Energy Tips

Practical tips for making your home more comfortable, efficient and safe

love n grace

feel happy, be happy

Recognition, Evaluation, Control

News and views from Diamond Environmental Ltd.

greg tinkers

Sharing the successes and disasters.

Sam Thursfield

Software and technology from Galicia, Spain

Cranraspberry Blog

Sharing the things I love

Biosingularity

Advances in biological systems.

The Embedded Code

Designing From Scratch

Sean Heelan's Blog

Software Exploitation and Optimisation

EduResearcher

Connecting Research, Policy, and Practice in Education

Popehat

A Group Complaint about Law, Liberty, and Leisure

warnersstellian.wordpress.com/

Home & Kitchen Appliance Blog

Bad Science Debunked

Debunking dangerous junk science found on the Internet. Non-scientist friendly!

4 gravitons

The trials and tribulations of four gravitons and a physicist

Strange Quark In London

A blog about physics, citylive and much procastination

The Lumber Room

"Consign them to dust and damp by way of preserving them"

In the Dark

A blog about the Universe, and all that surrounds it

andrea elizabeth

passionate - vibrant - ambitious

Probably Dance

I can program and like games

a totally unnecessary blog

paolo severini's waste of bandwidth

Musing Mortoray

Programming and Life

PJ Naughter's space

Musings on Native mode development on Windows using C++

  Bartosz Milewski's Programming Cafe

Category Theory, Haskell, Concurrency, C++

Brandon's Thoughts

Thoughts on programming

David Crocker's Verification Blog

Formal verification of C/C++ code for critical systems

10 Minute Astronomy

Stargazing for people who think they don't have time for stargazing.

One Dev Job

notes of an interactive developer

Chief Cloud Architect & DevSecOps SME, Enterprise Architect, Agile Coach, Digital Transformation Leader, Presales & Tech Evangelist, Development Manager, Agilist, Mentor, Speaker and Author

TOGAF Certified Enterprise Architect • AWS Cloud Certified Solutions Architect • Azure Cloud Certified Solutions Architect • Scrum Alliance: Certified Scrum Professional (CSP), Certified Agile Leadership I (CAL 1), CSM, ACSM • Kanban Management Professional (KMP I & KMP II), Certified Enterprise Agility Coach (CEAC) • SAFe: Certified SAFe Architect, SAFe DevOps, Release Train Engineer (RTE), SAFe Consultant (SPC) • Certified Less Practitioner (CLP), Six Sigma (Greenbelt), Training from the Back of the Room (TBR) Trainer • Certified Agile Coach & Facilitator: ICP-ACF & ICP-ACC

The Angry Technician

No, the Internet is not broken.

Kenny Kerr

Creator of C++/WinRT and the Windows crate for Rust • Engineer on the Windows team at Microsoft • Romans 1:16

IT affinity!

The Ultimate Question of Life, the Universe, and Everything is answered somewhere else. This is just about IT.

Eat/Play/Hate

The ramblings of a crazed mind

Molecular Musings

Development blog of the Molecule Engine

%d bloggers like this: