Long story short!

After being quiet for a couple of years I decided to research if something changed in the robotics… wow… amazing…

Every single thing I was stuck on is sorted!!!

So now plan is:

  1. Websockets to communicate (already done)
  2. Nice JS Virtual Joystick for controlling robot and camera (already done)
  3. Lidar laser distance measure
  4. Two cameras with ability to switch between night and day vision
  5. LTE (3G/4G modem) and VPN to have always connected
  6. new Platform with Wheels Suspension
  7. GPS coordinates on the map
  8. Compass and vehicle orientation
  9. Head lights and back lights
  10. Sonar and IR sensors back, sides and etc

And much more are coming soon!!!

Posted in Uncategorized | Leave a comment

Websockets to be used for sensors data and move commands!

So I’ve been playing quite a while with different sensors data, like Sonar, Infra Red, Accelerometer and GPS. As you might saw from previous post I’ve chosen to use I2C protocol to speak to the sensors, because it’s super easy and reliable and also I don’t need any DAC/ADC convertors. But now another task to be solved – all these sensors supply quite a lot of changing data like distance to obstruction, coordinates and angle information.

Pulling this data every second is not a nice solution, simply because it will generate extra load by establishing connection, especially if I’m going to use 3G dongle instead of WiFi. Also 1 second poll is too slow for distance – because it is a few more inches of moving.

So I’ve started to dig and found WebSockets – this technology is supported by mostly all common browsers and very simple – client (http) establish connection and  after server can send updates (push messages) and  accept more messages from a client, so probably I’m going to change even move controls to this protocol!

Stay tuned!

Posted in Uncategorized | Leave a comment

I2C sonar and compass are working!

Yesterday got I2C sonar sensor (proximity) and compas (also provide accelerometer data) – all working perfectly fine! So now robot is stopping if any obstruction in front and also knows the location of north pole… also connected GPS module with real-time clock, so now working on showing Google maps module with location and direction, because I know how robot is oriented!

Next step will be to add some leds as a head-light, they will have special auto-on/dimm function, because sonar sensor has also light level module!

Posted in Progress | 2 Comments

I2C is a key!

Just released today what all the time I spend trying to connect different sensors is actually should be spend connecting sensors with I2C interface! Just found nice sonar (SRF08 it could measure from 3cm to 6m) and magnetic compass (CMPS10 and also will have accelerometer, just not sure if it will be useful somehow)! Can’t wait they will arrive to finish most important part – robot will “see” the wall and other obstructions and will not allow the driver to drive into the wall/obstruction!

Also this sonar has a light sensor, which means I’ll be able to make a headlight of the robot to switch automatically in dark areas!

Posted in Uncategorized | Leave a comment

Webcam pan/tilt streaming to http with web controls

Just a small video made from my phone, sorry it’s a little bit dark out here, but I hope it’s enough quality to see camera moving because of the web-controls and at the same time it’s streaming!

Video | Posted on by | Tagged , , | Leave a comment

Update after a long timeout…

I was away for a while and was not able to continue my work on a robot project.

But for a few days got sick and during this time moved a few things forward:

  • connected all cables and elements properly and permanently using 3M picture frame holders and Sugru rubber for fixing, will post some pictures after it will be all finished 😉
  • connected Sharp IR Distance Sensor using instructions taken from here, so now robot will stop if any obstruction is on it’s way
  • upgraded http controls, now it’s famous WASD controls for moving the robot around

Next step is to assemble it all together, make work, present to my office colleagues…

As a goals to archive – stream audio to the web page from the webcam mic and induction charge battery, so I would not need to connect the battery myself, but simply drive the robot over the special “dock station”

Posted in Progress | Leave a comment

A few minor changes happened and new battery supply

Well it has been a long time since last time I touched my robot, so a few things happened:

1. I’ve switched the power supply to “NAZTECH PB15000”. It’s huge, but it can supply 1 usb for Raspberry and also give 12V at 5amp output for motors

2. I’ve created a nice webcam pan and tilt web control, which require more optimizations in terms of number of the requests it sends to the robot (some should be skipped basically).

Image

3. I’ve fixed web-cam/wifi dongle lag by “avoiding” fuses for USB ports and now wifi and web-cam are working MUCH MUCH better. You can do the same by following instructions here.

Posted in Design, Progress | 2 Comments

Hardware configuration finished!

So, finally! My concept has worked fully!

I can move the robot with python commands, see it’s web-cam transmitted over http and of course I can move the robot forward-backward and rotate both directions… of course with the speed control!

So now I need some time to assemble it together not as I did for prototype (temporary) but permanent with some soldering 😉

For me it’s like remembering my childhood, because in exUSSR it was normal if a kid was trying to create with an iron (old stuff, very heavy and not safe at all) a radio to try to speak to space station 😉

Here is my picture of the results:

Image

Basically my ideas of:

– a single battery for a system (huge capacity – 10000mAh) – success!

– no need to switch robot off during charging – success!

– Raspberry PI as a main brain/heart of the robot – success!

– Just small component to generate PWM control signals – success!

So now Nginx/Python nice web-interface in a couple of days as I did in a past for like 30+ current high-load projects like Svyaznoy.Ru, Mamba.Ru, Begun.Ru, SpyLog.Ru… 😉 See you next week with screenshots of web-interface!

Posted in Progress | Leave a comment

Battery selected to power up motors and Raspberry PI

I always didn’t like Lynxmotion power supplies, because you need to unplug the battery to charge it and plug it back after, also they are quite big and 6V, which is not suitable for Raspberry PI.

I got iCruiser which have 2 usb outputs, so it could power up raspberry and even USB hub to make sure there is enough power for WiFi and WebCam and other future modules, but not the DC motors, so I continued my search and finally found my solution: Anker Astro 3 – 10000mAh and 2 usb ports and 1 switchable 9/12 volts! Perfect sizing as well, making my robot to be powered for a few hours (I suppose maybe even longer) + I would have a special output wich I can plug to the power socket and charge, with no need to open robot, disconnect cables and so on!

Posted in idea, Progress | 2 Comments

PWM Driver module arrived and connected successfully

It took me a while to get the fact I2C is disabled by default at new Raspbian distro, but after enabling it it went perfect, unless I released I don’t have any TIN at home… So final construction day is tomorrow!

Posted in Progress, Schedule | Leave a comment