ESP8266 WiFi controlled Hamster

chiprobot
Posts: 3
Joined: Sat Jan 30, 2016 7:48 pm

ESP8266 WiFi controlled Hamster

Postby chiprobot » Sat Mar 05, 2016 11:17 pm

Grafting an ESP8266 WiFi module into a $10 3D printed robotic Hamster.
This is just a glimpse of a project I am working on right now.
Video :- https://www.youtube.com/watch?v=FJkhSLg7_FE
Image
It uses a single ESP8266 series 12 WiFi module to control 2 generic 28BYJ48 stepper motors.
Also note the Maxbotics sonar distance sensor (circa 5 metres detect) which is linked into the esp's analogue port
Image
The hamster creates its own server with a tiny control panel web-page.
Image
Its part of a mapping control system , with the idea of using multiple hamsters
(Maybe even scaled up mega hamsters with Nema17 motors)

Run through of the system.... and operation and first glimpse of its accuracy.

Image
Starting with the On/Off switch, it is a split Swiss cheese magnet which operates a reed switch behind its sharp teeth.

The Hamster body parts were designed in Blender using Meta-Balls.
Image
links to the 3D STL files can be found here :- http://www.thingiverse.com/thing:1051931

......and cured in Cura....

... notice the middle circular cavities which house 2x 3000mAhr 18650 lipo cells (mumpf-mumpf)
Image

I printed it in Glow PLA ....so it will creep you out if caught un-awares,,,,,

Image
The hamster is short sighted , so I crafted a pair of rose coloured spectacles for it.

Design time :-
Image

Real time :-
Image

The wheels troubled me .... as I wanted paws...... so a compromise was made with a spoke effect with rubber o-rings for wheely good traction.
Image
At the heart of the Hamster sits an ESP8266 WiFi module series 12 which controls two stepper motors.

The red/orange glow you see are the stepper drivers (neat that each phase has a LED, great for debug)
Image
Image
The ESP8266 is programmed using the Arduino IDE (please refer to my walk-through on how todo this)

The program enables the Hamster to host its own standalone server which which you can access from another WiFi enabled device.
I am using my net-book to access the Hamster software , when linked the hamster transmits its web gui (a bunch of click-able buttons) back to my net book where it can be controlled.
Image

Code (provisional) can be found here <ESP8266 Hamster Code> https://github.com/MyRobotLab/pyrobotlab/blob/master/home/Gareth/ESP8266%20Hamster%20code

Who is online

Users browsing this forum: No registered users and 3 guests