[carpe] 2017-01-17 CARPE Conscribillati: chicken coop automation; moteino

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Wed Jan 18 12:38:54 EST 2017


Thanks again to Pillar and Erin Moore for hosting us.
The plied us with cookies, salad, pizza, and legal beverages.

sump pump

    normal sump pump is powered by 120 VAC
    backup sump pump is powered by 12 VDC
        with battery on a float charger
    use raspberry pi with camera to remotely monitor sump
        if no AC, internet will be down
    how about using something that talks to web via LTE?

gave away old testing electronics

moteino lowpowerlabs

    https://lowpowerlab.com/
    https://lowpowerlab.com/category/moteino/

18:31 start
Jon Bennett gave a presentation on how he used an Arduino to automate his
chicken coop to protect the chickens from predators and increase egg
production.

    http://jondbennett.com/contact
    https://github.com/jondbennett
    https://github.com/jondbennett/GaryCooper
    https://github.com/jondbennett/wxVeronica
    https://github.com/jondbennett/VeronicaCooper
    https://github.com/jondbennett/GPSParser
    https://github.com/jondbennett/PMS
    http://jondbennett.com/photo-galleries/52-garycooper-chicken-coop-door-controller

For Jon, a "pure class" is same as abstract base class in other languages
    virtual <function prototype> = 0;

    pure class versus pure virtual class

kraloy box
    8x8 $15 for gary cooper

    12x12x8? $30 for stove controller

    plastic is tough, but easily workable

veronica is the remote control in the house
    veronica was gary cooper's wife

naming convention
    I* pure virtual class (i for interface?)
    C* normal class (c for class)
    *_T typedef ???
    *_E enum ???
    m_* object attribute
    g_* global
    _* function/method argument

    *_i* integer?
    *_b* boolean?
    *_e* enum?
    *_ui* unsigned int?
    *_ul* unsigned long?
    *_p* pointer? (but to what?)

This time of year,
Jon's chickens like to get up about fifteen minutes before sunrise.

https://www.pololu.com/category/19/connectors

Arduino IDE does not like subdirectories.
Arduino IDE combines all headers and feeds them to all *.cpp files.
Arduino IDE's link/loader is more like UNIX cat command on source code.
If one had code that relied on something not being defined
because a header file had not been explicitly included,
one might have a problem.

PMS program memory string
    later Jon discovered that he had reinvented the wheel
    He recommends the builtin F macro instead
    Unfortunately, there is very little documentation for the F macro.
F('blah blah blah') # builtin
    http://forum.arduino.cc/index.php?topic=110307.0
    http://forum.arduino.cc/index.php?topic=158375.0

Jon showed the hardware for his wood stove controller.
https://github.com/jondbennett/WoodStove
He might give a presentation on it some other time.

Dwyer
M-2000
Pressure Transducer

Arduino MEGA Sensor Shield V2.0
https://arduino-info.wikispaces.com/SensorShield



More information about the carpe mailing list