Moheeb Zara
Published © MIT

IoT Air Cannon

Build a t-shirt (or w/e else) cannon under 60$ that can be triggered from the web!

BeginnerFull instructions provided1,689
IoT Air Cannon

Things used in this project

Hardware components

2ft x 2in Dia. PVC Pipe
×2
Couplers for 2in PVC to 2in PVC
×3
2in Bushing with 1in Thread
×2
2in Bushing with 3/8 in Thread
×1
3/8 in to 1/4 in Brass threaded fitting
×1
1/4 in Brass Needle Valve
×1
1/4 in Pneumatic Interchange
×1
1in Threaded Tube
This connects the bushings to the sprinkler valve
×2
Orbit Irrigation Electric Sprinkler Valve
×1
9 - 12v Power Supply
×1
Relay (generic)
×1
Compatible Octoblu IoT Board
Check out the hackster.io/octoblu tutorials for the Tentacle, Particle Photon LED using REST, Intel Edison, or our Johnny-Five plugin for Gateblu!
×1
PVC Cement
As strong as you can get - should say if it is to be used in pressure situation or not
×1
PVC Primer
×1
Teflon Tape
×1

Software apps and online services

Meshblu
Octoblu Meshblu
Splunk
OPTIONAL

Hand tools and fabrication machines

Air compressor

Story

Read more

Schematics

Front Dual Cannon Mounts for Laser Cutting

Back Short Dual Cannon Mounts for Laser Cutting

Bottom Dual Cannon Mounts for Laser Cutting

Large TriangleDual Cannon Mounts for Laser Cutting

Small Dual Cannon Mounts for Laser Cutting

Code

Particle Photon Code: Octoblu+Relay

C/C++
Use this flow template https://app.octoblu.com/bluprints/import/bc3b126e-fd7b-41cd-b74c-f187c092b892
int relay = D3;


void setup() {
  pinMode(relay, OUTPUT);

  Spark.function("relay", relay); // Expose the color function
}

void loop() {
  
}

// The function exposed in the spark API

int relay(String command){
    
    if(command == "on"){
        digitalWrite(relay, HIGH);
    }else if(command == "off"){
        digitalWrite(relay, LOW);
    }
    
}

octoblu

Credits

Moheeb Zara

Moheeb Zara

39 projects • 136 followers
Developer Advocate at EMQ Technologies - . Co-founder - South West Maker Festival. Hardware hacker, artist, robots, HeatSync Labs

Comments