We have vision!

I bought a Raspberry Pi camera to go with the RPi 3 for the school project. The eventual intention is to put it on our tank robot so we can see what it is seeing.

Following on from the previous tutorial IoT: Raspberry Pi Robot with Video Streamer and Pan/Tilt camera remote control over internet I installed streaming software, plugged in the camera and crossed my fingers. Loading the page showed some promise except I’d turned the lights off in the server room when I went away, so I had a square of black. Back to the server room, then back to my computer to find I was looking at the roof of the server room.

It works!

First view from the pi camera. The server room ceiling, not the most exciting view.
First view from the pi camera. The server room ceiling, not the most exciting view.

Science Talent Search – Robot Buggy

My son entered Science Talent Search with this Arduino-powered buggy. We used IR with a TV remote to issue codes for motor control and combinations of colours for the RGB LEDs.

Programming was fairly simple, but we found issues with power. It seems that motors are very noisy and when they run it can reset the Arduino. We solved this by running the motor off 4 x AA batteries, whilst the Arduino is powered by a phone battery booster. The Arduino in question is actually a Freetronics Leostick, which is a nice small board, and has a USB plug which we just plugged straight into the phone battery.

New Raspberry Pi 3 setup

This is the second Raspberry Pi I’ve bought, this one is for school projects. The really neat feature is that it has built-in WiFi.

  1. Download NOOBS and copy onto a MicroSD card
  2. Put in the MicroSD card and boot the RPi, then run the installer
  3. After a while, it restarts and you get the desktop. At this point it was easy just to join the home network and we’re done to this point
  4. At school, we set up a fixed IP address on a hidden wireless network, and used the MAC address to secure access to the network
  5. Proxy settings needed to be added
  6. Now, to run some updates. First apt-get update, then apt-upgrade
  7. Install vncserver so we can connect remotely using Chicken of the VNC

Now it’s time to tackle some specific jobs we need for projects.

  1. I used this article IoT: Raspberry Pi Robot with Video Streamer and Pan/Tilt camera remote control over internet to install lighttpd so now we have a simple web server running on the Pi . I wrote a simple page in Nano to test that it works