Xavi Rigau
Published © GPL3+

Smart Dog Bed

This dog bed is able to track the sleeping habits of your dog, as well as analyzing the sleep quality of your best friend.

IntermediateFull instructions provided8 hours2,239
Smart Dog Bed

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
Raspberry Pi 3 running Android Things Developer Preview 5.1
×1
Adafruit ADS1015 12-Bit ADC - 4 Channel with Programmable Gain Amplifier
I would recommend at least a 12-bit converter, but a 24-bit converter would give higher precision readings
×1
General Purpose Quad Op-Amp
Texas Instruments General Purpose Quad Op-Amp
I used an LM2902N OpAmp but pretty much any OpAmp will do
×1
SparkFun Load Sensor - 50Kg
I took them from the bathroom scale I disassembled, I couldn't find the exact same models but they look very similar to this one,
×4
Resistor 500k ohm
The values of these resistors will define the gain the OpAmp generates
×1
Resistor 330 ohm
Resistor 330 ohm
The values of these resistors will define the gain the OpAmp generates
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Bathroom Scale
For this project I'll use the bathroom scale frame and weight sensors and will get rid of the rest of the circuit board to replace it with my own
×1
Dog bed
This will depend on the size of your dog, of course!
×1

Software apps and online services

Android Things
Google Android Things
I used the IoT developer console to flash the latest Android Things image (version 5.1)
Firebase
Google Firebase
Store the data we read from the weight sensor

Hand tools and fabrication machines

Mastech MS8217 Autorange Digital Multimeter
Digilent Mastech MS8217 Autorange Digital Multimeter
Screwdriver kit
Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Fritzing Schematics & Diagram

This is the file containing the Breadboard diagram and the circuit schematics that I used

Breadboard

In case you can't use Fritzing

Code

Smart Dog Bed IoT & mobile app

Hosted in Github, both the mobile (regular android) and IoT (android things) apps can be ran using standard gradle tasks or from Android Studio directly

Credits

Xavi Rigau

Xavi Rigau

1 project • 6 followers
Android with a person outfit. Android Software Craftsman @Novoda

Comments