Hackster is hosting Hackster Holidays, Ep. 5: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 5 on Friday!
Jolynn Awesome
Published © LGPL

Duck H20 Defender

Duck H20 defender is an automated system to conserve a precious resource and protect against waste.

IntermediateWork in progress4 days1,577
Duck H20 Defender

Things used in this project

Hardware components

AT&T IoT Starter Kit
×1
Android device
Android device
×1
AT&T Cellular IoT Starter Kit
Avnet AT&T Cellular IoT Starter Kit
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Resistor 221 ohm
Resistor 221 ohm
×1
Camera Module
Raspberry Pi Camera Module
×1
Raspberry Pi Zero
Raspberry Pi Zero
×1

Software apps and online services

PubNub Publish/Subscribe API
PubNub Publish/Subscribe API
AT&T Flow
AT&T Flow

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Inspiration for project came from these guys here..

Code

PubNub Blocks Creator

JavaScript
Before Publish Motor
export default (request) => { 
    const pubnub = require('pubnub');
    const kvstore = require('kvstore');
    const xhr = require('xhr');

    console.log(request); // Log the request envelope passed 
    return request.ok(); // Return a promise when you're done 

Credits

Jolynn Awesome

Jolynn Awesome

5 projects • 41 followers
I have a crazy obsession with ducks!

Comments