Skip to content
A robot for danbri
Python C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
arduino_continuous_servos.ino
cat-detect-start.service
classify_image_cat.py
serial-server.service
server.py

README.md

cat_loving_robot

A robot for danbri, using Raspberry Pi, arduino and continuous rotation servos. It races towards cats when it sees them.

Details: https://planb.nicecupoftea.org/2018/12/01/cat-detector-with-tensorflow-on-a-raspberry-pi-3b/

The arduino part is for a couple of continuous rotation servos. I assume the serial is connected via the GPIO:

5v on Pi to 5v on the arduino (e.g. GPIO physical numbering 2 or 4) ground on the Pi to ground on the Arduino (e.g. GPIO physical numbering 6, 9 etc) Pi's TDX (GPIO physical numbering pin 8) to Arduino's RX

Normally you'd need a voltage divider to do this serial communication, but because we're only going one way - from the Pi to the Arduino - we get away with it.

install

More details for the Pi here: https://planb.nicecupoftea.org/2018/12/01/cat-detector-with-tensorflow-on-a-raspberry-pi-3b/

sudo apt install python3-dev python3-pip sudo apt install libatlas-base-dev pip3 install --user --upgrade tensorflow

pip3 install pyserial pip3 install bottle

You can’t perform that action at this time.