Things used in this project

Hardware components:
A000066 iso both
Arduino Arduino UNO & Genuino UNO
×1
Pi 3 02
Raspberry Pi Raspberry Pi 3 Model B
×1
Servo (generic)
×1
Mfr 25frf52 10k sml
Resistor 10k ohm
×1
266 04
Female/Female Jumper Wires
×1
Male/Male Jumper Wires
×1
Treat dispensing mechanism
It is best to make your own that works. It will be powered by a servo motor.
×1
Software apps and online services:
Cayenne logo hi
Cayenne

Schematics

Image of the connections
Rldbk6ejb7yiqesflfur
Cayenne Settings
http://www.cayenne-mydevices.com/
C8rsexf9fuhciqeeul7h

Code

Arduino codeC/C++
#include <Servo.h>
Servo myservo;


void setup() {
  pinMode(8, INPUT); 
  myservo.attach(9);
}

void loop() {
 int val = digitalRead(8);
 
 if (val == HIGH){
  myservo.write(80);

 }
 else if (val == LOW){
  myservo.write(138);
 }

}

Credits

C39e704dbe0800cbf19d53490d598607
Isaac Koczwara

From USA California. Student.

Contact
Thanks to Cayenne.

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Arduinomated Car Parking with Voice Assistance in Smartphone
Intermediate
  • 122
  • 6

Full instructions

Make an assistant which tells you about how much to drive backwards without any collision through your smartphone by Arduino and 1Sheeld.

Sigfox Forest Fire Detector
Intermediate
  • 2,342
  • 14

Full instructions

How to prevent forest from burning? A small Sigfox signal can prevent natural disasters. We will use an Arduino MKRFOX + a flame detector.

From BT to WiFi: Creating WiFi Controlled Arduino Robot Car
Intermediate
  • 328
  • 5

Protip

NodeMCU ESP8266 in access point mode: the simplest way to make Wi-Fi controlled Robot Car from Bluetooth Arduino Robot Car + Android App.

Magic VR Hat
Intermediate
  • 616
  • 8

Wear the hat, get transported to different 360 VR experience.

LoRaWAN for Raspberry Pi with Worldwide Frequency Support
Intermediate
  • 3,878
  • 18

Full instructions

LoRaWAN LMIC 1.6 for Raspberry Pi with Dragino LoRA/GPS HAT or standalone RFM95W LoRa Module.

Human-Following Robot with Kinect
Intermediate
  • 2,571
  • 24

Full instructions

Instead of using single camera and complicated image recognition algorithms we can take advantage of Kinect libraries.

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog