element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STEM Academy
  • Learn
  • Learning Center
  • STEM Academy
  • More
  • Cancel
STEM Academy
Blog Rakshak-1: An attempt to create an open source ROBOTIC system for data gathering in situations hazardous for direct access by humans.
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STEM Academy to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: deepankarmaithani
  • Date Created: 29 Sep 2015 5:48 AM Date Created
  • Views 2024 views
  • Likes 4 likes
  • Comments 16 comments
  • processing
  • robotics
  • robots
  • xbee
  • raspberrypi
  • wireless
  • arduino
  • stem space
Related
Recommended

Rakshak-1: An attempt to create an open source ROBOTIC system for data gathering in situations hazardous for direct access by humans.

deepankarmaithani
deepankarmaithani
29 Sep 2015

Rakshak-1: An attempt to create an open source system for data gathering in situations hazardous for directly accessing by humans.

I thought of creating an open source system for  data gathering in a hazardous situation not fit for directly accessing by a human . I named my robot RAKSHAK-1 which means the saviour

image

Below is a video  demonstration of all its features


You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 


Applications


Suppose there is a major fire outbreak and after the fire outbreak the building is not safe to be entered coz the  iron bars melt and walls become weak so  it has to be checked by the experts so that they can certify it to be safe. Now getting inside the building is not safe for the experts too, why not send a robot that could be controlled from outside,go in and send the video and images so that the team has the idea of the kind of damage and cracks and can further make a decision. Moreover the rover can also sense fumes and other toxic gas levels.As the weight of the rover will be lesser than the human weight it will further reduce the chances of collapsing the building.

Can also be tweaked to gather data from radioactive ,industrial gas leakage situation or for any other situation where there are no sensors already installed.There is a thought process behind creating any new thing a journey and a story of how you face hurdles and how you tackle them. In this post i will share about how i created the rakshak-1 system


A simplistic Block diagram and illustration



image

 

 

HARDWARE INTEGRATION

 

The board numbered 1 is the first board on which i tested  various motors . The IC used is L298 by STmicroelectronics. The board is a paper epoxy board designed on eagle and completely fabricated at home using the laser printer and hot iron method.


image

 

 

 

Once i found it good i went for a more compact design that is numbered as 2 this is a glass epoxy board ,i ran two of my robots using this board.

 

I wanted to make a shield(A shield is an arduino compatible pin configuration) so that the hardware can be neatly stacked on the arduino uno .I came across a motor driver on an online shop and i found the design to be very compact. After running the motors of  Rakshak-1 on it i understood that it is a overuse of resources and space to  go with big power diodes IN5408  for blocking the spikes produced by motors rather a IN4007 would suffice and would make the design compact.

To make the system up and running i needed to have a hardware which can provide different voltages and can give enough power to drive the motors and power the sensors, micro-controller  and other peripherals. Initially the GUI software is tested with the hardware arrangement numbered as 3. The shield was handwired and  i have  used a 11.1 v 1500mAh lithium ion battery to power the system. If you would look closely there are 4 resistors of quarter watt attached in parallel to drop the voltage from 11.1 to 9v This 9v is fed to the motors and 5v regulator provides power to arduino ,IC operations and LM35. Since i couldnot find a single resistor of high wattage adding 4 in parallel solved the wattage problem  but still using resistors to drop voltage when current drawn is high  is an inefficient method. Hence i decided to use a buck configuration in the next design of shield.

A coil is an integral part of a buck circuitry,but soon i realised that finding a coil  of particular value is a uphill task ,i searched on element14 and a few other places but  an exact coil was very hard to find ,moreover the price of coil was almost of the same price as that of a  buck convertor module that include an IC ,some capacitors LED. So i initially though i will buy a module will desolder the coil and use it on the board i will design but there was another thing that was going to put me in a tight spot and that was the board house. The board house that i had easy access to still follows manual processes so i couldn't route the wires too close,too thin, moreover  i have to use the locally available through hole components because the SMD components are harder to find locally and the vender wouldn't make something available to you until you order in bulk. So finally the most practical solution was to buy the buck converter module and use it as a component. So i designed the pads where i can fix the module. The only SMD component that i used are the LM1117 regulators which were not only small in size but can also provide current upto 800mA.

After all this came the design number 4 , i had to add a component externally and it worked but i missed a few design consideration as i designed it in a hurry. In the next design no 5 i fixed those things and finally got something good .

image


imageimage

 

In the picture aboveThe shield inbetween  is an xbee shiel that holds the Xbee and connects it to the arduino board


image

 

SOFTWARE

The software on the onboard micro-controller turns on and turns off the geared DC motors ,headlights and set the position of servo motors depending upon the data received by the GUI. It also samples the temperature sensor and gas sensor data using its 10 bit successive approximation type ADC. It also measures the number of revolutions of motor by using a hardware setup which includes a hall effect sensor by allegro and a magnetic ring, the ring has 8 poles north and south places alternatively the ring is mounted on the output shaft of the motor when one of the two pole passes the output of the sensor turns high and when other one passes the output becomes low. These state changes are counted by the micro controller over a period of time using the interrupts and then are sent to the GUI to use this data to find out the RPM and distance by taking into account the Circumference of wheel. I have tried to keep the manipulation on the GUI side as the microcontroller is a low end  8 bit microcontroller working at just 16Mhz.

The GUI software is written using open source processing development environment. This GUI software can run on  MAC, Windows or Linux.


image

The current position of various elements on the GUI have come up after a number of iterations and after looking at the ease of user experience i found this placement to be most suitable.One challenge in creating the software was to manage the sending of commands and receiving of data. Xbee series 2 modules are used for transmitting and receiving the data and xbee are half duplex .Receiving the data and  transmitting the commands in real time would require a full duplex  system. So an approach is used where just for the short time while command is sent the channel is occupied ,rest of the time the time the channel is free to receive the incoming data. The microcontroller is set to send the sensor data once every second . This way while we have slight delay of 1  sec while receiving the data the rover can be controlled instantaneously,so it is not that you will have to stop the rover to receive the sensor value ,the usercan keep on moving it and make it go wherever he wants  and he will keep on receiving the data too. It is kind of parallel approach,may be in  future versions things can be improved even more.

 

 

3D PRINTING

3D printing is a great technology for makers In order to make place for my electronics i needed a housing and  below is a video where i have described my thought process.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

 

Free hand sketch and pictures of 3D printed parts

image

 

image

 

image



I made this project because i feel that there is so much of technology available but still there are many parts of the world here there is either not an awareness or lack of resources to make use of technology that can be helpful to people. And disasters cab happen anywhere. The application for this robot that i shared above is something that i have seen happening in front of me. So i thought of creating a solution. A cheap solution for everyone.

MY INSPIRATIONS

This  system is inspired by the robots by bostan dynamics ,particularly  the videos of their robots named Rhex and sandflea inspires me to own one such system . Some other robots that i find inspiring to me are shrimp rover by Auckland massey university .I have also been inspired by the great talks and community centric,innovative and futuristic ideas of many people that deliver a talk at TED. I have also been benefited  by reading people like  Rob faludi, and  Jeremy.

Futher Upgrades

 

  • Using a more powerful on board computing platform like arduino zero.
  • Using raspberrypi 2 to make a handheld control and data gathering station
  • Precise motor control for better performance in different terrains.
  • A good  range Wireless camera and GPS( The only thing wired in ths project is the Camera, working on ways to make wireless)
  • More hardware integration.

3D parts Parts can be found at My parts Stay tuned for more detailed info like the schematics,source codes. Finally i leave you with a fun video with this rover

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Will update more soon. stay connected.

  • Sign in to reply

Top Comments

  • deepankarmaithani
    deepankarmaithani over 10 years ago in reply to balearicdynamics +2
    I donot need to incorporate any additional circuit the L298(which is the motor driver i am using) have two current sense pins that can do the job. It is just that you are more of avid programmer and i…
  • DAB
    DAB over 10 years ago +2
    Very cool project. I had seen some designs like this for stair climbing robots and they work quite well. One thing I would add to your display is battery usage/remaining charge value. You could just use…
  • ipv1
    ipv1 over 10 years ago +2
    Nicely done. I like how you have iterated the design as it comes together. It was nice to see it zip around too like a caffeine driven bunny It might interest you to look into "trapizoidal profiles" -…
  • deepankarmaithani
    deepankarmaithani over 10 years ago in reply to balearicdynamics

    I donot need to incorporate any additional circuit the L298(which is the motor driver i am using) have two current sense pins that can do the job. It is just that you are more of avid programmer  and i am more of electrical engineer image , this is the fun of this place, i could learn from ur perspectives,but still can't figure out. lets say the robot is tilted 45 degree  towards the left tyre now what next to do with that data to change orientation.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • deepankarmaithani
    deepankarmaithani over 10 years ago in reply to kitfud

    Yes sure i will, let me document it, for quite a time i was busy in other stuff so i need to find out the most updated  bug free version  from the various versions i createdimage . For now i can tell you that i have done    import processing.video.*; and have used a video library here is the link https://processing.org/reference/libraries/video/index.html

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to deepankarmaithani

    Got it Deepankar!

     

    But... ( image )

    I think that the accelerometer should send inclination and spot speed data to the controlling unit (i.e. the PC). Then what is simple to reach, I think can be split in two concepts; the first is a speed variation based on the PWM as you already do. But what if you make a local feedback, ignoring the complex current drain sensor system and replacing it with a simple rotary encoder? You send a nominal "theoretical" speed to the robot and the motor control section will apply taking in account of the rotary encoders feedback. I think that this method is relatively simple and can read a very reliable result, avoiding the different speed. Also because in some conditions (again retrieved by the accelerometer) different speeds should be applied just to keep the global speed constant.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kitfud
    kitfud over 10 years ago in reply to deepankarmaithani

    Thanks for the reply. And I do use Processing for my own Arduino projects and also for classes. I'm curious how you embedded video in your Processing code as this is something I haven't figured out how to do. If you don't mind can you share your Processing code with me?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • deepankarmaithani
    deepankarmaithani over 10 years ago in reply to balearicdynamics

    I think it is a nice solution. It remembers me (maybe that this has inspired you?) the small robots used to discover and manage remotely risky places, e.g. when there is a suspect of explosion.

    I am really fond of robots well i just started as line followers during my engineering , just for fun because all my class wud gather to see them. Then i have seen a lot of them right from the PETMAN,SPACEJUSTIN, GEEKO, VIPER, MORPHEX and many others they all fascinate me.They all inspire me.

    The accelerometer seems to be good thing to consider.

    Mechatronics is always complex in nature. What i have shown so far is a POC(Proof of concept) and it need a lot of refinement. About the movement, one thing that i wud like to share is that what i think is very necessary to make this system a robust system is incorporation of current sensing. Cause no two motors draw the same amount of current the one which will draw more will tend to be slightly faster than the other one. So if we wud dig deeper no robot moves in a straight path until and unless it has a a mechanise to sense the current draw and adjust the speed of the motors. Once we have this we can have precise movements and we can avoid lurching at low speeds.

    So far the speed change is through PWM signal and is a open loop control .

    So it wud be a complex riddle to solve adding accelerometer  and current sense.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube