tag:blogger.com,1999:blog-51062992667006537072024-03-13T06:31:04.352-07:00TechnoLabszInto the New TechnologyLentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.comBlogger139125tag:blogger.com,1999:blog-5106299266700653707.post-70718804889815847752017-03-12T03:55:00.000-07:002017-03-12T03:55:07.903-07:00New ROS book for Robotics Projects | Introduction to Robot Operating System | Programming robots using ROS | ROS Tutorials<div dir="ltr" style="text-align: left;" trbidi="on">
Hi Everyone<span class="fullpost"> </span><br />
<div>
<br /></div>
<div>
I would like to announce my 3rd book, which is about Robotics Projects using Robot Operating System (ROS) which can be pre-order from following links</div>
<div>
<br /></div>
<div>
<a href="http://rosrobots.com/" target="_blank">ROS Robotics Projects Website</a></div>
<div>
<br /></div>
<div>
<a href="https://www.packtpub.com/hardware-and-creative/ros-robotic-projects" target="_blank">PACKT Website</a></div>
<div>
<br /></div>
<div>
Here are the cover page and list of main projects included in the book</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-mznI8atBDWI/WMUoW7hQYAI/AAAAAAAAEdk/jLvD-lPyFu8go-9OpwnUNfRYmNqta7lUwCLcB/s1600/17191980_1484855368204886_7995472864733990441_o.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://2.bp.blogspot.com/-mznI8atBDWI/WMUoW7hQYAI/AAAAAAAAEdk/jLvD-lPyFu8go-9OpwnUNfRYmNqta7lUwCLcB/s320/17191980_1484855368204886_7995472864733990441_o.jpg" width="266" /></a></div>
<a href="https://1.bp.blogspot.com/-JBm51a5xR4I/WMUoX5bqoEI/AAAAAAAAEdo/-8IO042OfKQLh028mmO13DQcMpNzcYpzQCLcB/s1600/17191897_1484855268204896_7849383692815104647_o.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://1.bp.blogspot.com/-JBm51a5xR4I/WMUoX5bqoEI/AAAAAAAAEdo/-8IO042OfKQLh028mmO13DQcMpNzcYpzQCLcB/s320/17191897_1484855268204896_7849383692815104647_o.jpg" width="261" /></a><br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Here is a demo video of self-driving car project which is included in the book</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/hi-U_XgA2qU/0.jpg" src="https://www.youtube.com/embed/hi-U_XgA2qU?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-45289368861713695462016-07-03T07:23:00.002-07:002016-07-03T12:09:00.369-07:00PyOverFlow : Automated solution searching for run time errors !!<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
Here is one python package that i made for automating "<i>stackoverflow-ing</i>" when our code encounter run time errors. Using this package, we can retrieve top result from google and displayed on the web browser whenever an error comes. <br />
<br />
We can also mention number of solutions we want, if any exceptions occurred. When an exception occurred, it will automatically search for the solution to fix the exception !!</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-ztQidfSH5RI/V3kdMaH_-QI/AAAAAAAAEBo/wNoQe5KAk6cFZ_IjJt4RosFaeg7QGrDugCLcB/s1600/pyoverflow.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="261" src="https://3.bp.blogspot.com/-ztQidfSH5RI/V3kdMaH_-QI/AAAAAAAAEBo/wNoQe5KAk6cFZ_IjJt4RosFaeg7QGrDugCLcB/s400/pyoverflow.gif" width="400" /></a></div>
<div>
<br /></div>
<h3 style="text-align: left;">
</h3>
<h3 style="text-align: left;">
Installing pyoverflow</h3>
<div>
The source code of the package is on the following link</div>
<div>
<br /></div>
<div>
Latest code is in github<br />
<br />
<a href="https://github.com/qboticslabs/pyoverflow">https://github.com/qboticslabs/pyoverflow</a><br />
<br />
<br />
<a href="https://pypi.python.org/pypi/pyoverflow">https://pypi.python.org/pypi/pyoverflow</a><br />
<br />
<br /></div>
<div>
<br /></div>
<div>
<ol style="text-align: left;">
<li>Extract the source code, and open a terminal in the extracted folder</li>
<li>Use the following command to install this package, Note: Make sure that you have proper internet connection</li>
<li><b>$ sudo python setup.py install</b></li>
<li>Try the example code which is given below</li>
</ol>
<div>
<br /></div>
</div>
<div>
Code 1</div>
<div>
<iframe src="//pastebin.com/embed_iframe/5GsyeMjV" style="border: none; width: 100%;"></iframe>
<br />
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-73920165297175249632015-12-31T02:20:00.001-08:002015-12-31T02:20:28.141-08:00Published my Second Book : "Mastering ROS for Robotics Programming"<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I am very glad to announce that my second book released and it is for teaching Robot Operating System. The title of the book "<i>Mastering ROS for Robotics Programming</i>". This is an advance book in ROS available on the market now.</div>
<div>
<br /></div>
<div>
The cover page of the book is given below</div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><a href="http://mastering-ros.com/" target="_blank"><img alt="Mastering ROS for Robotics Programming" border="0" height="232" src="http://2.bp.blogspot.com/-wp0OfKxgpNM/VoT-GvxUERI/AAAAAAAAD04/LSHu7b_23pw/s400/final_cover-01.png" title="Mastering ROS for Robotics Programming" width="400" /></a></span></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><a href="http://mastering-ros.com/" target="_blank">Mastering ROS for Robotics Programming</a></td></tr>
</tbody></table>
<div>
<br /></div>
<div>
Buy book from Official Website : <a href="https://www.packtpub.com/hardware-and-creative/mastering-ros-robotics-programming">https://www.packtpub.com/hardware-and-creative/mastering-ros-robotics-programming</a></div>
<div>
<br /></div>
<div>
Buy book from Amazon Global : <a href="http://amzn.com/B0198DXFEW">http://amzn.com/B0198DXFEW</a></div>
<div>
<br /></div>
<div>
Buy book from Amazon UK : <a href="http://www.amazon.co.uk/dp/1783551798">http://www.amazon.co.uk/dp/1783551798</a></div>
<div>
<br /></div>
<div>
Buy book from Amazon India : <a href="http://www.amazon.in/dp/B0198DXFEW">http://www.amazon.in/dp/B0198DXFEW</a></div>
<div>
<br /></div>
<div>
Book Website : <a href="http://mastering-ros.com/">http://mastering-ros.com</a></div>
<div>
<br /></div>
<div>
<a name='more'></a><br /></div>
<h3 style="text-align: left;">
<span style="font-size: large;">About This Book</span></h3>
<div>
<div>
<ul style="text-align: left;">
<li>Develop complex robotic applications using ROS for interfacing robot manipulators and mobile robots with the help of high end robotic sensors</li>
</ul>
</div>
</div>
<div>
<div>
<ul style="text-align: left;">
<li>Gain insights into autonomous navigation in mobile robot and motion planning in robot manipulators</li>
</ul>
</div>
</div>
<div>
<div>
<ul style="text-align: left;">
<li>Discover the best practices and troubleshooting solutions everyone needs when working on ROS</li>
</ul>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-wGBzhwUz9Ow/VoUAv6SsTqI/AAAAAAAAD1E/A9QO95E55MM/s1600/cover1%2B-%2BCopy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-wGBzhwUz9Ow/VoUAv6SsTqI/AAAAAAAAD1E/A9QO95E55MM/s320/cover1%2B-%2BCopy.png" width="262" /></a></div>
<div>
<br /></div>
<h3 style="text-align: left;">
<br />Who This Book Is For</h3>
</div>
</div>
<div>
<div>
If you are a robotics enthusiast or researcher who wants to learn more about building robot applications using ROS, this book is for you. In order to learn from this book, you should have a basic knowledge of ROS, GNU/Linux, and C++ programming concepts. The book will also be good for programmers who want to explore the advanced features of ROS.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<h3 style="text-align: left;">
What You Will Learn</h3>
</div>
<div>
<div>
<ul style="text-align: left;">
<li>Create a robot model of a Seven-DOF robotic arm and a differential wheeled mobile robot</li>
<li>Work with motion planning of a Seven-DOF arm using MoveIt!</li>
<li>Implement autonomous navigation in differential drive robots using SLAM and AMCL packages in ROS</li>
<li>Dig deep into the ROS Pluginlib, ROS nodelets, and Gazebo plugins</li>
<li>Interface I/O boards such as Arduino, Robot sensors, and High end actuators with ROS</li>
<li>Simulation and motion planning of ABB and Universal arm using ROS Industrial</li>
<li>Explore the ROS framework using its latest version</li>
</ul>
</div>
</div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-uouYV0Cy_gA/VoUA29y8pkI/AAAAAAAAD1M/sn-ub1gIhCI/s1600/softcover10%2B-%2BCopy.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="282" src="http://1.bp.blogspot.com/-uouYV0Cy_gA/VoUA29y8pkI/AAAAAAAAD1M/sn-ub1gIhCI/s320/softcover10%2B-%2BCopy.jpg" width="320" /></a></div>
<h3 style="text-align: left;">
In Detail</h3>
</div>
<div>
<div>
The area of robotics is gaining huge momentum among corporate people, researchers, hobbyists, and students. The major challenge in robotics is its controlling software. The Robot Operating System (ROS) is a modular software platform to develop generic robotic applications.</div>
<div>
<br /></div>
<div>
This book discusses the advanced concepts in robotics and how to program using ROS. It starts with deep overview of the ROS framework, which will give you a clear idea of how ROS really works. During the course of the book, you will learn how to build models of complex robots, and simulate and interface the robot using the ROS MoveIt motion planning library and ROS navigation stacks.</div>
<div>
<br /></div>
<div>
After discussing robot manipulation and navigation in robots, you will get to grips with the interfacing I/O boards, sensors, and actuators of ROS. One of the essential ingredients of robots are vision sensors, and an entire chapter is dedicated to the vision sensor, its interfacing in ROS, and its programming.</div>
<div>
<br /></div>
<div>
You will discuss the hardware interfacing and simulation of complex robot to ROS and ROS Industrial (Package used for interfacing industrial robots).</div>
<div>
<br /></div>
<div>
Finally, you will get to know the best practices to follow when programming using ROS.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<br /></div>
<h3 style="text-align: left;">
Author<br />Lentin Joseph</h3>
<div>
<br /></div>
<div>
Lentin Joseph is an author, entrepreneur, electronics engineer, robotics enthusiast, machine vision expert, embedded programmer, and the founder and CEO of Qbotics Labs (<a href="http://www.qboticslabs.com/">http://www.qboticslabs.com</a>) from India. He completed his bachelor's degree in electronics and communication engineering at the Federal Institute of Science and Technology (FISAT), Kerala. For his final year engineering project, he made a social robot that can interact with people. The project was a huge success and was mentioned in many forms of visual and print media. The main features of this robot were that it can communicate with people and reply intelligently and has some image processing capabilities such as face, motion, and color detection. The entire project was implemented using the Python programming language. His interest in robotics, image processing, and Python started with that project.</div>
<div>
<br /></div>
<div>
After his graduation, for 3 years he worked in a start-up company focusing on robotics and image processing. In the meantime, he learned famous robotic software platforms such as Robot Operating System (ROS), V-REP, Actin (a robotic simulation tool), and image processing libraries such as OpenCV, OpenNI, and PCL. He also knows robot 3D designing and embedded programming on Arduino and Tiva Launchpad.</div>
<div>
<br /></div>
<div>
After 3 years of work experience, he started a new company called Qbotics Labs, which mainly focuses on research to build up some great products in domains such as robotics and machine vision. He maintains a personal website (<a href="http://www.lentinjoseph.com/">http://www.lentinjoseph.com</a>) and a technology blog called technolabsz (<a href="http://www.technolabsz.com/">http://www.technolabsz.com</a>). He publishes his works on his tech blog. He was also a speaker at PyCon2013, India, on the topic Learning Robotics using Python.</div>
<div>
<br /></div>
<div>
Lentin is the author of the book Learning Robotics Using Python (refer to http://learn-robotics.com to know more) by Packt Publishing. The book was about building an autonomous mobile robot using ROS and OpenCV. The book was launched in ICRA 2015 and was featured in the ROS blog, Robohub, OpenCV, the Python website, and various other such forums.</div>
<div>
<br /></div>
<div>
Lentin was a finalist in the ICRA 2015 challenge, HRATC (<a href="http://www2.isr.uc.pt/~embedded/events/HRATC2015/Welcome.html">http://www2.isr.uc.pt/~embedded/events/HRATC2015/Welcome.html</a>).</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-35299299539641523852015-05-30T00:35:00.002-07:002015-05-30T00:36:47.137-07:00Published a Book : "Learning Robotics using Python"<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
I couldn't blog in technolabz for one and half year, because i was busy with creating my Start up in Robotics called <a href="http://www.qboticslabs.com/" target="_blank">Qbotics Labs</a> and writing my new book called <a href="https://www.packtpub.com/application-development/learning-robotics-using-python" target="_blank">"Learning Robotics using Python"</a>. </div>
<div>
The cover page of the book is given below </div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><a href="https://www.packtpub.com/application-development/learning-robotics-using-python" target="_blank"><img border="0" height="189" src="http://3.bp.blogspot.com/-0qtj11dSc4Q/VWlnDgw6hFI/AAAAAAAADt8/X2bmVTkzuTY/s320/final_cover-01.png" width="320" /></a></span></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><a href="https://www.packtpub.com/application-development/learning-robotics-using-python" target="_blank">Learning Robotics using Python</a></td></tr>
</tbody></table>
<br />
<br />
<div>
<b>About This Book</b></div>
<div>
<br /></div>
<div>
Design, simulate, build and program an interactive autonomous mobile robot</div>
<div>
<br /></div>
<div>
Program Robot Operating System using Python</div>
<div>
<br /></div>
<div>
Get a grip on the hands-on guide to robotics for learning various robotics concepts and build an advanced robot from scratch</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Who This Book Is For</b></div>
<div>
<br /></div>
<div>
If you are an engineer, a researcher, or a hobbyist, and you are interested in robotics and want to build your own robot, this book is for you. Readers are assumed to be new to robotics but should have experience with Python.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>What You Will Learn</b></div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>Understand the core concepts and terminologies of robotics</li>
<li>Create 2D and 3D drawings of robots using freeware such as LibreCAD and Blender</li>
<li>Simulate your robot using ROS and Gazebo</li>
<li>Build robot hardware from the requirements</li>
<li>Explore a diverse range of actuators and its interfacing</li>
<li>Interface various robotic sensors to robots</li>
<li>Set up and program OpenCV, OpenNI, and PCL to process 2D/3D visual data</li>
<li>Learn speech processing and synthesis using Python</li>
<li>Apply artificial intelligence to robots using Python</li>
<li>Build a robot control GUI using Qt and Python</li>
<li>Calibration and testing of robot</li>
</ul>
<div>
<b><br /></b></div>
</div>
</div>
<div>
<div>
<b>In Detail</b></div>
<div>
<br /></div>
<div>
Learning about robotics will become an increasingly essential skill as it becomes a ubiquitous part of life. Even though robotics is a complex subject, several other tools along with Python can help you design a project to create an easy-to-use interface.</div>
<div>
<br /></div>
<div>
Learning Robotics Using Python is an essential guide for creating an autonomous mobile robot using popular robotic software frameworks such as ROS using Python. It also discusses various robot software frameworks and how to go about coding the robot using Python and its framework. It concludes with creating a GUI-based application to control the robot using buttons and slides.</div>
<div>
<br /></div>
<div>
By the end of this tutorial, you'll have a clear idea of how to integrate and assemble all things into a robot and how to bundle the software package.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Authors</b></div>
<div>
<br /></div>
<div>
<b>Lentin Joseph</b></div>
<div>
<br /></div>
<div>
Lentin Joseph is an electronics engineer, robotics enthusiast, machine vision expert, embedded programmer, and the founder and CEO of Qbotics Labs (<a href="http://www.qboticslabs.com/">http://www.qboticslabs.com</a>) in India. He got his bachelor's degree in electronics and communication engineering at the Federal Institute of Science and Technology (FISAT), Kerala. In his final year engineering project, he created a social robot, which can interact with people. The project was a huge success and got mentioned in visual and print media. The main feature of this robot was that it could communicate with people and reply intelligently. It also has some image-processing capabilities, such as face, motion, and color detection. The entire project was implemented using the Python programming language. His interest in robotics, image processing, and Python began this project.</div>
<div>
<br /></div>
<div>
After graduation, he worked at a start-up company based on robotics and image processing for 3 years. In the meantime, he learned famous robotic software platforms—such as Robot Operating system (ROS), V-REP, and Actin (a robotic simulation tool)—and image processing libraries, such as OpenCV, OpenNI, and PCL. He also knows about robot 3D designing, embedded programming on Arduino, and Stellaris Launchpad.</div>
<div>
<br /></div>
<div>
After 3 years of work experience, he started a new company called Qbotics Labs, which is mainly focused on research to build great products in domains such as wearable technology, robotics, machine vision, green technology, and online education. He maintains a personal website (<a href="http://www.lentinjoseph.com/">http://www.lentinjoseph.com</a>) and a technology blog called technolabsz (<a href="http://www.technolabsz.com/">http://www.technolabsz.com</a>). He publishes his works on his tech blog. He was a speaker at PyCon2013 India, and he spoke on the topic of learning robotics using Python.</div>
</div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com7tag:blogger.com,1999:blog-5106299266700653707.post-40077649368741262432013-09-03T06:40:00.005-07:002013-09-03T06:40:56.391-07:00Talk at PyCon2013 India : Slides and Codes<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I have talked at PyCon2013 India about application of python in Robotics. Given below the slides and Sample Codes. I have demonstrated a ball tracking robot working on ROS and OpenCV. </div>
<div>
<br /></div>
<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/25805205" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/lentinjoseph/py-con2013-application-of-python-in-robotics-25805205" target="_blank" title="Pycon2013 : Application of Python in Robotics">Pycon2013 : Application of Python in Robotics</a> </strong> from <strong><a href="http://www.slideshare.net/lentinjoseph" target="_blank">Lentin Joseph</a></strong> <br />
<br />
Codes<br />
<br />
<a href="https://github.com/lentin/Sample_Codes">https://github.com/lentin/Sample_Codes</a><br />
<br />
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-21154626680031678092013-07-10T22:29:00.002-07:002013-07-11T09:30:35.207-07:00C++ Tips : Pointer to a Function<div dir="ltr" style="text-align: left;" trbidi="on">
Program showing the usage of Function Pointer<br />
<div>
<br /></div>
<div>
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> /*
name : main.cpp
Calling a function using function pointer
*/
#include <stdio.h>
int main()
{
int display();
int (*func_ptr)(); ///Declare function Pointer
func_ptr = display; /// Assign address of function
printf("\n Address of function display is %u", func_ptr); ///Printing Address of function
(*func_ptr)(); /// Invokes the function display
getchar(); ///Get char for seeing the output
return 0;
}
int display()
{
puts("\n Hello World !!\n");
return 1;
}
</code></pre>
<br />
<br />
Output<br />
-------------<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-ZhEwpTvWVQM/Ud5CoGSJXxI/AAAAAAAABTI/CU0Fxn6bti4/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="159" src="http://4.bp.blogspot.com/-ZhEwpTvWVQM/Ud5CoGSJXxI/AAAAAAAABTI/CU0Fxn6bti4/s320/Capture.PNG" width="320" /></a></div>
<br />
<br />
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com1tag:blogger.com,1999:blog-5106299266700653707.post-10584802530471614322013-07-08T10:53:00.001-07:002013-07-11T09:30:50.193-07:00Configuring XAMPP and Setting Wordpress , Drupal ,Joomla and sNews<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I am giving the procedure for configuring XAMPP</div>
<div>
<br /></div>
<div>
1. I followed the procedure from the following link</div>
<div>
<br /></div>
<div>
<a href="http://www.apachefriends.org/en/xampp-linux.html" target="_blank">XAMPP on Linux</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
1.<a href="http://www.apachefriends.org/download.php?xampp-linux-1.8.2-0-installer.run" target="_blank">Download XAMPP for 32 bit Linux</a></div>
<div>
or</div>
<div>
<a href="http://www.apachefriends.org/download.php?xampp-linux-x64-1.8.2-0-installer.run" target="_blank">Download XAMPP for 64 bit Linux</a></div>
<div>
<br /></div>
<div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-tmEQDiGZ9r0/UdWmOphSZeI/AAAAAAAABLs/8bjlMqJdz1k/s721/Screenshot+from+2013-07-04+19:46:38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="243" src="http://2.bp.blogspot.com/-tmEQDiGZ9r0/UdWmOphSZeI/AAAAAAAABLs/8bjlMqJdz1k/s320/Screenshot+from+2013-07-04+19:46:38.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-uf5tbBtSJaQ/UdWmOmMmdQI/AAAAAAAABLw/GUsUD8_uEXY/s722/Screenshot+from+2013-07-04+19:47:24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="243" src="http://4.bp.blogspot.com/-uf5tbBtSJaQ/UdWmOmMmdQI/AAAAAAAABLw/GUsUD8_uEXY/s320/Screenshot+from+2013-07-04+19:47:24.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-gYyYNOtrGxA/UdWmPAlwkCI/AAAAAAAABL8/oHgUyoF1ENI/s721/Screenshot+from+2013-07-04+19:52:12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="http://4.bp.blogspot.com/-gYyYNOtrGxA/UdWmPAlwkCI/AAAAAAAABL8/oHgUyoF1ENI/s320/Screenshot+from+2013-07-04+19:52:12.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-lK3ySrTJxz4/UdWmPmg8vUI/AAAAAAAABMA/7IF4lbE-25w/s1319/Screenshot+from+2013-07-04+19:52:56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://2.bp.blogspot.com/-lK3ySrTJxz4/UdWmPmg8vUI/AAAAAAAABMA/7IF4lbE-25w/s320/Screenshot+from+2013-07-04+19:52:56.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-X7qNL93jyvQ/UdWmP2KNe3I/AAAAAAAABMI/J8v_q8YG8Ko/s1319/Screenshot+from+2013-07-04+19:53:06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-X7qNL93jyvQ/UdWmP2KNe3I/AAAAAAAABMI/J8v_q8YG8Ko/s320/Screenshot+from+2013-07-04+19:53:06.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-mWjORyH-4Qs/UdWnLtMW1vI/AAAAAAAABMc/UxUwcYaT1xo/s1303/Screenshot+from+2013-07-04+20:27:39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="155" src="http://4.bp.blogspot.com/-mWjORyH-4Qs/UdWnLtMW1vI/AAAAAAAABMc/UxUwcYaT1xo/s320/Screenshot+from+2013-07-04+20:27:39.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
2. Setting Wordpress</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1.<a href="http://wordpress.org/download/" target="_blank">Download wordpress</a> and extract to some location</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-QqGKUa7q3iA/UdWnXW3qa_I/AAAAAAAABMw/_tocVPjYDsM/s1148/Screenshot+from+2013-07-04+20:34:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="109" src="http://2.bp.blogspot.com/-QqGKUa7q3iA/UdWnXW3qa_I/AAAAAAAABMw/_tocVPjYDsM/s320/Screenshot+from+2013-07-04+20:34:11.png" width="320" /></a></div>
<br />
2. Copy wordpress into <i>/opt/lampp/htdocs</i> path<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-odntRXQJVg8/UdWnXU0Cm0I/AAAAAAAABMk/EhKGi_4CIYQ/s597/Screenshot+from+2013-07-04+20:37:51.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="112" src="http://1.bp.blogspot.com/-odntRXQJVg8/UdWnXU0Cm0I/AAAAAAAABMk/EhKGi_4CIYQ/s320/Screenshot+from+2013-07-04+20:37:51.png" width="320" /></a></div>
<br />
3.Take browser and enter <i>localhost/wordpress. </i>If everything is ok, it will show like this<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-C5FJ94k_5mo/UdWnXgxhp3I/AAAAAAAABMo/gS3m54DIGWk/s907/Screenshot+from+2013-07-04+20:38:38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="154" src="http://4.bp.blogspot.com/-C5FJ94k_5mo/UdWnXgxhp3I/AAAAAAAABMo/gS3m54DIGWk/s320/Screenshot+from+2013-07-04+20:38:38.png" width="320" /></a></div>
<br />
4. Before pressing Let's go button, you have to create a database ,say for eg: wordpress_test.<br />
<br />
For creating database take <i>phpmyadmin </i>from xampp home screen.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-jb63wx2ZJcI/UdWqQ5kpURI/AAAAAAAABQE/ztQrZTWrfuE/s342/Screenshot+from+2013-07-04+20:27:52.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-jb63wx2ZJcI/UdWqQ5kpURI/AAAAAAAABQE/ztQrZTWrfuE/s320/Screenshot+from+2013-07-04+20:27:52.png" width="311" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-audP6_PFGHY/UdWnYXI7UvI/AAAAAAAABM8/P6NTXUYcKtk/s1319/Screenshot+from+2013-07-04+20:39:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-audP6_PFGHY/UdWnYXI7UvI/AAAAAAAABM8/P6NTXUYcKtk/s320/Screenshot+from+2013-07-04+20:39:11.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5. Give the database name,password </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-zXZWavUMxXY/UdWnY9_sNlI/AAAAAAAABNA/OIyhrXJ3-z0/s1319/Screenshot+from+2013-07-04+20:39:35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://2.bp.blogspot.com/-zXZWavUMxXY/UdWnY9_sNlI/AAAAAAAABNA/OIyhrXJ3-z0/s320/Screenshot+from+2013-07-04+20:39:35.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
6. Copy the selected content to htdocs/wordpress as <i>wp-config.php</i></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-o9bwA4_Vp2A/UdWnZKd6HTI/AAAAAAAABNI/MHdzlnfdZaA/s1319/Screenshot+from+2013-07-04+20:39:56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-o9bwA4_Vp2A/UdWnZKd6HTI/AAAAAAAABNI/MHdzlnfdZaA/s320/Screenshot+from+2013-07-04+20:39:56.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-LT61CFxsEsk/UdWnZRpLOQI/AAAAAAAABNQ/Z-dUzWxOT-w/s807/Screenshot+from+2013-07-04+20:42:14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="82" src="http://1.bp.blogspot.com/-LT61CFxsEsk/UdWnZRpLOQI/AAAAAAAABNQ/Z-dUzWxOT-w/s320/Screenshot+from+2013-07-04+20:42:14.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-rOqoN7XepiU/UdWnZ8fkHsI/AAAAAAAABNc/OFsPsHIbrac/s806/Screenshot+from+2013-07-04+20:43:08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="http://2.bp.blogspot.com/-rOqoN7XepiU/UdWnZ8fkHsI/AAAAAAAABNc/OFsPsHIbrac/s320/Screenshot+from+2013-07-04+20:43:08.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
7. Give Blog title and details</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-8KBzHgLQny4/UdWnmZh4uTI/AAAAAAAABNs/laiZ1iI5miw/s1319/Screenshot+from+2013-07-04+21:22:18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-8KBzHgLQny4/UdWnmZh4uTI/AAAAAAAABNs/laiZ1iI5miw/s320/Screenshot+from+2013-07-04+21:22:18.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-YFP42SQh9Po/UdWnmVkfbNI/AAAAAAAABNk/pnGeOGeGoZo/s1319/Screenshot+from+2013-07-04+21:22:34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-YFP42SQh9Po/UdWnmVkfbNI/AAAAAAAABNk/pnGeOGeGoZo/s320/Screenshot+from+2013-07-04+21:22:34.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-WDKn0ZdBsS8/UdWnmfGl6EI/AAAAAAAABNo/nNkUEY8ZMZs/s1319/Screenshot+from+2013-07-04+21:23:03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-WDKn0ZdBsS8/UdWnmfGl6EI/AAAAAAAABNo/nNkUEY8ZMZs/s320/Screenshot+from+2013-07-04+21:23:03.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
8. Give address as <i>localhost/wordpress/wp-admin</i> and give user name and details</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-bKtPbJe20us/UdWn0G7RBfI/AAAAAAAABN8/lJ32XaSePwI/s1319/Screenshot+from+2013-07-04+20:45:32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-bKtPbJe20us/UdWn0G7RBfI/AAAAAAAABN8/lJ32XaSePwI/s320/Screenshot+from+2013-07-04+20:45:32.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/--8AB2yzei00/UdWn0UpBu4I/AAAAAAAABOI/WTcNCvF_ROw/s1319/Screenshot+from+2013-07-04+20:45:58.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/--8AB2yzei00/UdWn0UpBu4I/AAAAAAAABOI/WTcNCvF_ROw/s320/Screenshot+from+2013-07-04+20:45:58.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-xo6dKDO-xQ8/UdWn0WBGjNI/AAAAAAAABOA/6dZCZ8Htkng/s1319/Screenshot+from+2013-07-04+20:46:12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-xo6dKDO-xQ8/UdWn0WBGjNI/AAAAAAAABOA/6dZCZ8Htkng/s320/Screenshot+from+2013-07-04+20:46:12.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Setting Drupal</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1.<a href="https://drupal.org/download" target="_blank"> Download</a> and extract drupal into htdocs</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-LmTJfQ7Rsxg/UdWoIfTHKTI/AAAAAAAABOU/L8KJpUHyQpU/s426/Screenshot+from+2013-07-04+20:52:02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="201" src="http://4.bp.blogspot.com/-LmTJfQ7Rsxg/UdWoIfTHKTI/AAAAAAAABOU/L8KJpUHyQpU/s320/Screenshot+from+2013-07-04+20:52:02.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
2.Goto <i>localhost/drupal(drupal folder)</i></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-pd_M-AVGpy4/UdWoI2tWRBI/AAAAAAAABOg/qJ94gu3F1B0/s1319/Screenshot+from+2013-07-04+20:52:26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-pd_M-AVGpy4/UdWoI2tWRBI/AAAAAAAABOg/qJ94gu3F1B0/s320/Screenshot+from+2013-07-04+20:52:26.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-WWDOgUpG_MM/UdWoIZ8yPVI/AAAAAAAABOY/lUgmdivVnUI/s1319/Screenshot+from+2013-07-04+20:52:36.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/-WWDOgUpG_MM/UdWoIZ8yPVI/AAAAAAAABOY/lUgmdivVnUI/s320/Screenshot+from+2013-07-04+20:52:36.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Change the permission of drupal folder to remove the first error</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-qFwNdE1Iwns/UdWoJSL4nQI/AAAAAAAABOw/ZrFSnz6kTuU/s1319/Screenshot+from+2013-07-04+20:52:44.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://2.bp.blogspot.com/-qFwNdE1Iwns/UdWoJSL4nQI/AAAAAAAABOw/ZrFSnz6kTuU/s320/Screenshot+from+2013-07-04+20:52:44.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-0t6tZcZ7-zw/UdWoJfPYk-I/AAAAAAAABOs/PR3-QPyLbh4/s802/Screenshot+from+2013-07-04+20:53:38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="54" src="http://4.bp.blogspot.com/-0t6tZcZ7-zw/UdWoJfPYk-I/AAAAAAAABOs/PR3-QPyLbh4/s320/Screenshot+from+2013-07-04+20:53:38.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4. Copy and rename default-settings.php to settings.php inside <i>drupal/sites/default</i> folder<i>.</i></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-eK6VfLp9aC0/UdWoJxrad6I/AAAAAAAABO8/KtkACzX5wJc/s1319/Screenshot+from+2013-07-04+20:53:49.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/-eK6VfLp9aC0/UdWoJxrad6I/AAAAAAAABO8/KtkACzX5wJc/s320/Screenshot+from+2013-07-04+20:53:49.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-zI_64sd6z9A/UdWoKAMwZTI/AAAAAAAABPA/mVLQWCn009s/s804/Screenshot+from+2013-07-04+20:55:35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="85" src="http://3.bp.blogspot.com/-zI_64sd6z9A/UdWoKAMwZTI/AAAAAAAABPA/mVLQWCn009s/s320/Screenshot+from+2013-07-04+20:55:35.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5. Create a database, for eg : drupal_test</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-doeJIWZVUn0/UdWpr2fSagI/AAAAAAAABP8/tQEbvCcita8/s341/Screenshot+from+2013-07-04+20:56:16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="292" src="http://3.bp.blogspot.com/-doeJIWZVUn0/UdWpr2fSagI/AAAAAAAABP8/tQEbvCcita8/s320/Screenshot+from+2013-07-04+20:56:16.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
6. Enter the details of database username and password</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-PPD0br1FxsM/UdWoKjiKoGI/AAAAAAAABPE/mdg_oOhPWbg/s1319/Screenshot+from+2013-07-04+20:55:47.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-PPD0br1FxsM/UdWoKjiKoGI/AAAAAAAABPE/mdg_oOhPWbg/s320/Screenshot+from+2013-07-04+20:55:47.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-CcR6HNxlJg0/UdWoLhjDTqI/AAAAAAAABPg/z8R-3m_vxg8/s1319/Screenshot+from+2013-07-04+20:57:02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://2.bp.blogspot.com/-CcR6HNxlJg0/UdWoLhjDTqI/AAAAAAAABPg/z8R-3m_vxg8/s320/Screenshot+from+2013-07-04+20:57:02.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/--NktH0Sms6A/UdWoL26F5dI/AAAAAAAABPo/PlJcmaez_Us/s1319/Screenshot+from+2013-07-04+20:57:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/--NktH0Sms6A/UdWoL26F5dI/AAAAAAAABPo/PlJcmaez_Us/s320/Screenshot+from+2013-07-04+20:57:11.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
4 . Setting Joomla</div>
<div>
<br />
The procedures for setting joomla is almost similar to wordpress and drupal. I am giving the screenshot below</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-lFU1LpiLlBo/UdWqmmUwkpI/AAAAAAAABQQ/XtdlL_tUPtY/s720/Screenshot+from+2013-07-04+20:59:17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="115" src="http://2.bp.blogspot.com/-lFU1LpiLlBo/UdWqmmUwkpI/AAAAAAAABQQ/XtdlL_tUPtY/s320/Screenshot+from+2013-07-04+20:59:17.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-nZvTR55eXCg/UdWrjdmPUsI/AAAAAAAABR8/NOqYfFeX8jY/s363/Screenshot+from+2013-07-04+20:59:54.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="293" src="http://2.bp.blogspot.com/-nZvTR55eXCg/UdWrjdmPUsI/AAAAAAAABR8/NOqYfFeX8jY/s320/Screenshot+from+2013-07-04+20:59:54.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-ePBGufOa76E/UdWqmz77MII/AAAAAAAABQg/onn0wn0yUis/s1319/Screenshot+from+2013-07-04+20%253A59%253A34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://2.bp.blogspot.com/-ePBGufOa76E/UdWqmz77MII/AAAAAAAABQg/onn0wn0yUis/s320/Screenshot+from+2013-07-04+20%253A59%253A34.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-G7697QsqxOY/UdWqnukmPoI/AAAAAAAABQw/SxSjL2LevUs/s1319/Screenshot+from+2013-07-04+21%253A01%253A23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-G7697QsqxOY/UdWqnukmPoI/AAAAAAAABQw/SxSjL2LevUs/s320/Screenshot+from+2013-07-04+21%253A01%253A23.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-jokD9NbldqY/UdWqnzQwkOI/AAAAAAAABQ0/PjgIwbKf8hE/s1319/Screenshot+from+2013-07-04+21%253A01%253A35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-jokD9NbldqY/UdWqnzQwkOI/AAAAAAAABQ0/PjgIwbKf8hE/s320/Screenshot+from+2013-07-04+21%253A01%253A35.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-0OjK60ZBF3Q/UdWqoP26IAI/AAAAAAAABQ4/iAcXkM4ci7k/s1319/Screenshot+from+2013-07-04+21%253A01%253A46.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-0OjK60ZBF3Q/UdWqoP26IAI/AAAAAAAABQ4/iAcXkM4ci7k/s320/Screenshot+from+2013-07-04+21%253A01%253A46.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-CmDnfN7rpSo/UdWqo1pMJzI/AAAAAAAABRE/FPxKCMzUqmQ/s1319/Screenshot+from+2013-07-04+21%253A01%253A53.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-CmDnfN7rpSo/UdWqo1pMJzI/AAAAAAAABRE/FPxKCMzUqmQ/s320/Screenshot+from+2013-07-04+21%253A01%253A53.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-0FgDIDnNQRg/UdWqpNNb4DI/AAAAAAAABRU/Iv_5cBRTm5w/s1319/Screenshot+from+2013-07-04+21%253A02%253A22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/-0FgDIDnNQRg/UdWqpNNb4DI/AAAAAAAABRU/Iv_5cBRTm5w/s320/Screenshot+from+2013-07-04+21%253A02%253A22.png" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-qFr_4GuB2Rk/UdWqpDQVOKI/AAAAAAAABRI/tjk2Qb7dsbM/s1006/Screenshot+from+2013-07-04+21%253A06%253A56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="129" src="http://1.bp.blogspot.com/-qFr_4GuB2Rk/UdWqpDQVOKI/AAAAAAAABRI/tjk2Qb7dsbM/s320/Screenshot+from+2013-07-04+21%253A06%253A56.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-AQg0UTgb4Ek/UdWqpgceRcI/AAAAAAAABRY/7lKsbJMTCAA/s1201/Screenshot+from+2013-07-04+21%253A07%253A14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="153" src="http://1.bp.blogspot.com/-AQg0UTgb4Ek/UdWqpgceRcI/AAAAAAAABRY/7lKsbJMTCAA/s320/Screenshot+from+2013-07-04+21%253A07%253A14.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YBTmMP2STpQ/UdWqqaQzueI/AAAAAAAABRg/Qf8U6KnZcHs/s1319/Screenshot+from+2013-07-04+21%253A10%253A08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/-YBTmMP2STpQ/UdWqqaQzueI/AAAAAAAABRg/Qf8U6KnZcHs/s320/Screenshot+from+2013-07-04+21%253A10%253A08.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-aagvK5f3vFQ/UdWqqkG-CQI/AAAAAAAABRs/qot3O4ij4FM/s1319/Screenshot+from+2013-07-04+21%253A10%253A18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-aagvK5f3vFQ/UdWqqkG-CQI/AAAAAAAABRs/qot3O4ij4FM/s320/Screenshot+from+2013-07-04+21%253A10%253A18.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5. Setting sNews</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
For setting snews, first we need to create a database and import content from a sql database inside the snews SQL folder. If you are using snews17 import snews17.sql as shown in figure<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-DfJtgq48rBM/UdWsymNEelI/AAAAAAAABSk/cZBfbDLAEKI/s342/Screenshot+from+2013-07-04+21:12:35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="306" src="http://4.bp.blogspot.com/-DfJtgq48rBM/UdWsymNEelI/AAAAAAAABSk/cZBfbDLAEKI/s320/Screenshot+from+2013-07-04+21:12:35.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-skZOOOKG4YM/UdWsKC75tXI/AAAAAAAABSM/K1LUlpyRWjE/s863/Screenshot+from+2013-07-04+21%253A15%253A41.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="102" src="http://4.bp.blogspot.com/-skZOOOKG4YM/UdWsKC75tXI/AAAAAAAABSM/K1LUlpyRWjE/s320/Screenshot+from+2013-07-04+21%253A15%253A41.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1.Take browser and goto <i>localhost/snews</i></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-gf_0RL3ZK0M/UdWsKWtBTGI/AAAAAAAABSc/3BnNwtnSaOc/s1319/Screenshot+from+2013-07-04+21%253A16%253A04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-gf_0RL3ZK0M/UdWsKWtBTGI/AAAAAAAABSc/3BnNwtnSaOc/s320/Screenshot+from+2013-07-04+21%253A16%253A04.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-X0CLSoTWJgk/UdWsKbZbgSI/AAAAAAAABSU/hD3cR1dqaXo/s1319/Screenshot+from+2013-07-04+21%253A16%253A26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://4.bp.blogspot.com/-X0CLSoTWJgk/UdWsKbZbgSI/AAAAAAAABSU/hD3cR1dqaXo/s320/Screenshot+from+2013-07-04+21%253A16%253A26.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Issue while configuring !!!!<br />
<br />
<br />
phpmyAdmin issue<br />
----------------------------<br />
<br />
When we take phpmyAdmin, if the window shows this error, then there is some issue with mysql.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-VC2XoMhq3_c/Udr7Ihge2nI/AAAAAAAABS4/AxrnQqEO_yg/s1600/Screenshot+from+2013-07-04+21:31:38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://1.bp.blogspot.com/-VC2XoMhq3_c/Udr7Ihge2nI/AAAAAAAABS4/AxrnQqEO_yg/s1600/Screenshot+from+2013-07-04+21:31:38.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
You can solve this by stopping mysql service as shown below<br />
<br />
<i style="background-color: yellow;">$sudo service mysql stop</i><br />
<i style="background-color: yellow;"><span style="color: white;"><br /></span></i>
<span style="background-color: white;">and start </span><i style="background-color: yellow;">sudo /opt/lampp/lampp start</i><br />
<i style="background-color: yellow;"><br /></i>
<i>Note : It will be good if we remove mysql service from the startup too.</i></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com1tag:blogger.com,1999:blog-5106299266700653707.post-35226228760999272632013-06-30T01:40:00.003-07:002013-07-11T09:31:08.330-07:00How to solve "openni_tracker [ERROR]: Find user generator failed" on ROS<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
When you install OpenNI library on ROS Fuerte/Groovy, you might be get the following error. I am using Ubuntu 12.04 64 bit.</div>
<div>
<br /></div>
<div>
<i style="background-color: lime;">openni_tracker [ERROR]: Find user generator failed</i></div>
<div>
<i style="background-color: white;"><br /></i></div>
<div>
<i style="background-color: white;">Here are some solution in which we can solve this issue</i></div>
<div>
<i style="background-color: white;"><br /></i></div>
<div>
<i style="background-color: white;">Solution 1:</i></div>
<div>
<i style="background-color: white;"><br /></i></div>
<div>
<span style="background-color: white;">1. <a href="http://www.openni.org/openni-sdk/openni-sdk-history-2/#.Uc_oz6DLWb5" target="_blank">Download NITE 1.5.2.21 package from openni</a></span></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-5ifvF38Q1AA/Uc_pbDOUgoI/AAAAAAAABJw/LcAQYaEOpLA/s713/Screenshot+from+2013-06-30+13:45:09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-5ifvF38Q1AA/Uc_pbDOUgoI/AAAAAAAABJw/LcAQYaEOpLA/s713/Screenshot+from+2013-06-30+13:45:09.png" width="289" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
<br />
<div class="separator" style="clear: both; text-align: left;">
2. Unzip the file into some folder and NITE package folder will look like this</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-nEKAnIMUxcg/Uc_p1S_c4_I/AAAAAAAABJ4/atDn828iZHo/s1148/Screenshot+from+2013-06-30+13:48:15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="95" src="http://2.bp.blogspot.com/-nEKAnIMUxcg/Uc_p1S_c4_I/AAAAAAAABJ4/atDn828iZHo/s1148/Screenshot+from+2013-06-30+13:48:15.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3. Open terminal on the following folder and enter the following commands</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<i style="background-color: lime;">$sudo sh uninstall.sh</i></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-bLl3q73KXds/Uc_qW3jigUI/AAAAAAAABKA/UFXgSmtQ5FQ/s1311/Screenshot+from+2013-06-30+13:09:07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="32" src="http://1.bp.blogspot.com/-bLl3q73KXds/Uc_qW3jigUI/AAAAAAAABKA/UFXgSmtQ5FQ/s1311/Screenshot+from+2013-06-30+13:09:07.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<i style="background-color: lime;">$sudo sh install.sh</i></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-IV_PnlFhbzc/Uc_qahDdf3I/AAAAAAAABKI/vcwAMC6aEp8/s1317/Screenshot+from+2013-06-30+13:09:22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="50" src="http://4.bp.blogspot.com/-IV_PnlFhbzc/Uc_qahDdf3I/AAAAAAAABKI/vcwAMC6aEp8/s1317/Screenshot+from+2013-06-30+13:09:22.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4. After installing NITE, execute the following command and output is as follows</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<i style="background-color: lime;">$niReg -l</i></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-pbP2vBQ23Hg/Uc_rHhJhZfI/AAAAAAAABKU/86SNCWES1W8/s1312/Screenshot+from+2013-06-30+13:07:29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="178" src="http://3.bp.blogspot.com/-pbP2vBQ23Hg/Uc_rHhJhZfI/AAAAAAAABKU/86SNCWES1W8/s1312/Screenshot+from+2013-06-30+13:07:29.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-RdqNCKON4Oo/Uc_rHxcQbDI/AAAAAAAABKY/SmJXofpiSig/s1312/Screenshot+from+2013-06-30+13:07:56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="178" src="http://2.bp.blogspot.com/-RdqNCKON4Oo/Uc_rHxcQbDI/AAAAAAAABKY/SmJXofpiSig/s1312/Screenshot+from+2013-06-30+13:07:56.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
5 . If it is showing like this, you might get rid of our issue , othervice you have to do some more steps</div>
<div>
<br /></div>
<div>
6. If some of the dependencies shows <i style="background-color: lime;">" Library couldnot be loaded because of permission "</i></div>
<div>
<i style="background-color: lime;"><br /></i></div>
<div>
<span style="background-color: white;">you have to go to </span><span style="background-color: lime;"><i>/usr/lib</i></span></div>
<div>
<span style="background-color: lime;"><i><br /></i></span></div>
<div>
<span style="background-color: white;">and locate each libraries which showing permission issue</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">for eg if </span><i style="background-color: lime;">/usr/lib/libXnVFeatures_1_3_1.so </i><span style="background-color: white;"> showing permission denied.</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">execute the following command , and do this for all libraries</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-SAyv9yyAhgo/Uc_sq3eYr7I/AAAAAAAABKs/3pAr6wZN-vI/s808/Screenshot+from+2013-06-30+14:00:19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="65" src="http://1.bp.blogspot.com/-SAyv9yyAhgo/Uc_sq3eYr7I/AAAAAAAABKs/3pAr6wZN-vI/s808/Screenshot+from+2013-06-30+14:00:19.png" width="320" /></a></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">7 .After changing the all permission , after executing <i>niReg -l , </i>you will not get any permission error in the command output</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">8. Try to execute </span><i style="background-color: lime;">openni_tracker</i><span style="background-color: white;"> after starting roscore plugging the kinect</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div>
<span style="background-color: white;">If it is working , then you are done ,Othervice if the error is look like the following, then you have to do some more steps to get it working</span></div>
<div>
<span style="background-color: white;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-i10qY7JqUs8/Uc_tkkgGdDI/AAAAAAAABK8/tp3QTyzjNVM/s773/Screenshot+from+2013-06-30+13:11:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="14" src="http://1.bp.blogspot.com/-i10qY7JqUs8/Uc_tkkgGdDI/AAAAAAAABK8/tp3QTyzjNVM/s773/Screenshot+from+2013-06-30+13:11:11.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
If you get this error , locate the following folder first</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-5sq9fyeJCqk/Uc_tzKnnC2I/AAAAAAAABLE/uj6firRdVmg/s906/Screenshot+from+2013-06-30+13:05:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="59" src="http://2.bp.blogspot.com/-5sq9fyeJCqk/Uc_tzKnnC2I/AAAAAAAABLE/uj6firRdVmg/s906/Screenshot+from+2013-06-30+13:05:11.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
and change the permission using the following command</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<i style="background-color: lime;">$chmod 777 -R *</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i style="background-color: lime;"><br /></i></div>
<div class="separator" style="clear: both; text-align: left;">
After this command , this error will disappear.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Hope this fix will work for you too.. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Thanks all ---</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<span style="background-color: white;"><br /></span></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-89037585410099339162013-05-26T03:02:00.000-07:002015-08-30T22:55:53.838-07:00Eye blink detection using OpenCV in Ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
This is a simple project that i did recently. The purpose of this project is to detect the blinking of eyes. The application of this project is to detect whether the driver inside the car is sleeping or not.</div>
<div>
<br /></div>
<div>
Using this program, we can detect the eyes of the user and can track their eyes. Using template matching technique, we will check whether the eyes are closed or not .. If the eyes are closed, it will print a message in terminal also execute a python script to pass control the event into external devices such as arduino or anyother boards</div>
<div>
<br /></div>
<div>
Opencv code :<b>blink_detection.cpp</b><br />
<b><br /></b>
<b><br /></b>
<h2 style="text-align: left;">
<a href="https://bitbucket.org/lentinjoseph/opencv-blink-detection/downloads/detect_eye_bink.zip" target="_blank"><b>Code Download</b></a></h2>
<div>
<br /></div>
<br />
<a name='more'></a><br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> // OpenCV Sample Application: blink_detction.cpp
// Include header files
#include "cv.h"
#include "highgui.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <time.h>
#include <ctype.h>
#include <iostream>
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
// Create memory for calculations
static CvMemStorage* storage = 0;
// Create a new Haar classifier
static CvHaarClassifierCascade* cascade = 0;
// Function prototype for detecting and drawing an object from an image
bool detect_and_draw( IplImage* image ,CvHaarClassifierCascade* cascade);
// Create a string that contains the cascade name
/* "eyes.xml*/
const char *cascade_name[1]={"eyes.xml"};
cv::Mat roiImg;
int threshold_value = 200;
int threshold_type = 3;;
int const max_value = 255;
int const max_type = 4;
int const max_BINARY_value = 255;
int hough_thr = 35;
cv::Mat src_gray, dst;
using namespace cv;
Mat img1; Mat img2; Mat templ; Mat result;
const char* image_window = "Source Image";
const char* result_window = "Result window";
int match_method=0;
int max_Trackbar = 5;
int eye_open=0;
int eye_close=0;
/*
**
* @function MatchingMethod
* @brief Trackbar callback
*/
//Matching with 2 images ,eye closed or open
void MatchingMethod(cv::Mat templ,int id )
{
/// Source image to display
cv::Mat img_display;
roiImg.copyTo( img_display );
/// Create the result matrix
int result_cols = roiImg.cols - templ.cols + 1;
int result_rows = roiImg.rows - templ.rows + 1;
result.create( result_cols, result_rows, CV_32FC1 );
/// Do the Matching and Normalize
cv::matchTemplate( roiImg, templ, result, match_method );
cv::normalize( result, result, 0, 1, NORM_MINMAX, -1, Mat() );
/// Localizing the best match with minMaxLoc
double minVal; double maxVal; Point minLoc; Point maxLoc;
cv::Point matchLoc;
cv::minMaxLoc( result, &minVal, &maxVal, &minLoc, &maxLoc, Mat() );
///Justing checkin the match template value reaching the threashold
if(id == 0 && (minVal < 0))
{
eye_open=eye_open+1;
if(eye_open == 10)
{
std::cout<<"Eye Open"<<std::endl;
eye_open=0;
eye_close=0;
}
}
else if(id == 1 && (minVal < 0))
eye_close=eye_close+1;
if(eye_close == 10)
{
std::cout<<"Eye Closed"<<std::endl;
eye_close=0;
system("python send_arduino.py");
}
/// For SQDIFF and SQDIFF_NORMED, the best matches are lower values. For all the other methods, the higher the better
if( match_method == CV_TM_SQDIFF || match_method == CV_TM_SQDIFF_NORMED )
{ matchLoc = minLoc; }
else
{ matchLoc = maxLoc; }
/// Show me what you got
cv::rectangle( img_display, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 );
cv::rectangle( result, matchLoc, Point( matchLoc.x + templ.cols , matchLoc.y + templ.rows ), Scalar::all(0), 2, 8, 0 );
cv::imshow( image_window, img_display );
cv::imshow( result_window, result );
return;
}
void detect_blink(cv::Mat roi)
{
try
{
MatchingMethod(img1,0);
MatchingMethod(img2,1);
}
catch( cv::Exception& e )
{
std::cout<<"An exception occued"<<std::endl;
}
}
// Main function, defines the entry point for the program.
int main( int argc, char** argv )
{
if(argc <= 1)
{
std::cout<<"\n Help "<<std::endl;
std::cout<<"\n ------------------------------------\n"<<std::endl;
std::cout<<"./blink_detect open_eye.jpg close_eye.jpg\n"<<std::endl;
std::cout<<"Eg :: ./blink_detect 2.jpg 3.jpg\n"<<std::endl;
std::cout<<"\n ------------------------------------\n"<<std::endl;
exit(0);
}
// Structure for getting video from camera or avi
CvCapture* capture = 0;
// Images to capture the frame from video or camera or from file
IplImage *frame, *frame_copy = 0;
// Used for calculations
int optlen = strlen("--cascade=");
// Input file name for avi or image file.
const char* input_name;
img1 = imread( argv[1], 1 );
img2 = imread( argv[2], 1 );
// Load the HaarClassifierCascade
/// Create windows
cv::namedWindow( image_window, CV_WINDOW_AUTOSIZE );
cv::namedWindow( result_window, CV_WINDOW_AUTOSIZE );
// Allocate the memory storage
storage = cvCreateMemStorage(0);
capture = cvCaptureFromCAM( 0);
// Create a new named window with title: result
cvNamedWindow( "original_frame", 1 );
// If loaded succesfully, then:
if( capture )
{
// Capture from the camera.
for(;;)
{
// Capture the frame and load it in IplImage
if( !cvGrabFrame( capture ))
break;
frame = cvRetrieveFrame( capture );
// If the frame does not exist, quit the loop
if( !frame )
break;
// Allocate framecopy as the same size of the frame
if( !frame_copy )
frame_copy = cvCreateImage( cvSize(frame->width,frame->height),
IPL_DEPTH_8U, frame->nChannels );
// Check the origin of image. If top left, copy the image frame to frame_copy.
if( frame->origin == IPL_ORIGIN_TL )
cvCopy( frame, frame_copy, 0 );
// Else flip and copy the image
for(int i=0;i<1;i++)
{
cascade = (CvHaarClassifierCascade*)cvLoad( cascade_name[i], 0, 0, 0 );
// Check whether the cascade has loaded successfully. Else report and error and quit
if( !cascade )
{
fprintf( stderr, "ERROR: Could not load classifier cascade\n" );
return -1;
}
// Call the function to detect and draw the face
if(detect_and_draw(frame_copy,cascade))
{
std::cout<<"Detected"<<std::endl;
}
}
// Wait for a while before proceeding to the next frame
if( cvWaitKey( 1 ) >= 0 )
break;
}
// Release the images, and capture memory
cvReleaseHaarClassifierCascade(&cascade);
cvReleaseImage( &frame_copy );
cvReleaseCapture( &capture );
cvReleaseMemStorage(&storage);
}
return 0;
}
// Function to detect and draw any faces that is present in an image
bool detect_and_draw( IplImage* img,CvHaarClassifierCascade* cascade )
{
int scale = 1;
// Create a new image based on the input image
IplImage* temp = cvCreateImage( cvSize(img->width/scale,img->height/scale), 8, 3 );
// Create two points to represent the face locations
CvPoint pt1, pt2;
int i;
// Clear the memory storage which was used before
cvClearMemStorage( storage );
// Find whether the cascade is loaded, to find the faces. If yes, then:
if( cascade )
{
// There can be more than one face in an image. So create a growable sequence of faces.
// Detect the objects and store them in the sequence
CvSeq* faces = cvHaarDetectObjects( img, cascade, storage,
1.1, 8, CV_HAAR_DO_CANNY_PRUNING,
cvSize(40, 40) );
// Loop the number of faces found.
for( i = 0; i < (faces ? faces->total : 0); i++ )
{
// Create a new rectangle for drawing the face
CvRect* r = (CvRect*)cvGetSeqElem( faces, i );
// Find the dimensions of the face,and scale it if necessary
pt1.x = r->x*scale;
pt2.x = (r->x+r->width)*scale;
pt1.y = r->y*scale;
pt2.y = (r->y+r->height)*scale;
// Draw the rectangle in the input image
cvRectangle( img, pt1, pt2, CV_RGB(255,0,0), 3, 8, 0 );
cv::Mat image(img);
cv::Rect rect;
rect = cv::Rect(pt1.x,pt1.y,(pt2.x-pt1.x),(pt2.y-pt1.y));
roiImg = image(rect);
cv::imshow("roi",roiImg);
///Send to arduino
detect_blink(roiImg);
}
}
// Show the image in the window named "result"
cvShowImage( "original_frame", img );
if(i > 0)
return 1;
else
return 0;
// Release the temp image created.
cvReleaseImage( &temp );
}
</code></pre>
<br />
<br />
Python code : <b>send_arduino.py</b><br />
<br />
<b></b>Which will execute when both eyes are closed<br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> #/usr/bin/python
print "Eyes closed from Python script"
</code></pre>
<br />
<br />
Execution bash script <b>compile.sh</b><br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> g++ blink_detection.cpp `pkg-config opencv --cflags --libs` -o blink_detect
</code></pre>
<br />
<br />
Video<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/vahjs-yeKQ4" width="560"></iframe>
<br />
<br />
<br />
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com68tag:blogger.com,1999:blog-5106299266700653707.post-5376012522496007822013-03-16T10:36:00.000-07:002013-07-11T09:31:44.194-07:00MPI Send and Recieve | MPI Tutorials<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I wrote a code which can sent 10 numbers from first process to another process, then the other process will resent the same data to first process.<br />
<br />
It is an example code for understanding MPI Send and MPI Recieve functions<br />
<br />
<a name='more'></a><br />
<br />
<style type="text/css">
pre.CICodeFormatter{
font-family:arial;
font-size:12px;
border:1px dashed #CCCCCC;
width:99%;
height:auto;
overflow:auto;
background:#f0f0f0;
line-height:20px;
background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);
padding:0px;
color:#000000;
text-align:left;
}
pre.CICodeFormatter code{
color:#000000;
word-wrap:normal;
}
</style>
<br />
<pre class="CICodeFormatter"><code class="CICodeFormatter"> /*
Name : mpi_sent_recieve.c
Function: Sent ten number to one id ,resent the data from the reciver node to sent node
*/
#include <mpi.h>
#include <stdio.h>
int main(int argc,char *argv[])
{
//Input array
int input[10]={1,2,3,4,5,6,7,8,9,10};
int output1[10];
int output2[10];
int numprocs;
int myid;
int i;
MPI_Status stat;
//MPI Init
MPI_Init(&argc,&argv);
//MPI number of process
MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
//Getting ID
MPI_Comm_rank(MPI_COMM_WORLD,&myid);
if(myid == 0)
{
//Sent 10 number to 1
printf("Senting data from ID0 to ID1\n");
MPI_Send(input,10,MPI_INT,1,0,MPI_COMM_WORLD);
MPI_Recv(output2,10,MPI_INT,1,1,MPI_COMM_WORLD,&stat);
printf("%d:: ID0 Recive data from ID1 %d %d %d %d %d %d %d %d %d %d\n",myid,output2[0],output2[1],output2[2],output2[3],output2[4],output2[5],output2[6],output2[7],output2[8],output2[9]);
}
else if(myid ==1)
{
MPI_Recv(output1,10,MPI_INT,0,0,MPI_COMM_WORLD,&stat);
printf("%d:: ID1 Recieve data %d %d %d %d %d %d %d %d %d %d\n",myid,output1[0],output1[1],output1[2],output1[3],output1[4],output1[5],output1[6],output1[7],output1[8],output1[9]);
printf("Resending data back to ID0\n");
MPI_Send(output1,10,MPI_INT,0,1,MPI_COMM_WORLD);
}
MPI_Finalize();
return 0;
}
</code></pre>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-36318364074399895392013-03-03T02:02:00.001-08:002013-03-03T03:03:45.478-08:00How to easily install OpenCV on Raspberry Pi <div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
Building opencv source code in Raspberry Pi will take about 6-7 hours.</div>
<div>
Here is the link to install opencv from source</div>
<div>
<a href="http://mitchtech.net/raspberry-pi-opencv/" target="_blank">Raspberry Pi+ OpenCV</a></div>
<div>
<br /></div>
<div>
Easy method to install opencv</div>
<div>
<br /></div>
<div>
1)Connect to Raspberry Pi using ssh. Fig shows an example of connecting Rpi using ssh</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-_ywXflSM_gY/UTMNuGwYS_I/AAAAAAAABE4/d_G_fYmjy8k/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="93" src="http://2.bp.blogspot.com/-_ywXflSM_gY/UTMNuGwYS_I/AAAAAAAABE4/d_G_fYmjy8k/s400/5.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-E7KGeaEmb-k/UTMNuLbf1gI/AAAAAAAABE8/PpMCnDxS1bE/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="66" src="http://3.bp.blogspot.com/-E7KGeaEmb-k/UTMNuLbf1gI/AAAAAAAABE8/PpMCnDxS1bE/s400/6.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
<br />
<div class="separator" style="clear: both; text-align: left;">
2)Install synaptic package manager from command line of raspberry pi</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-GA5pFnfWask/UTMN_xvzbsI/AAAAAAAABFI/Fixk8jMN7bg/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="82" src="http://3.bp.blogspot.com/-GA5pFnfWask/UTMN_xvzbsI/AAAAAAAABFI/Fixk8jMN7bg/s400/3.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3)Install tight-vnc server from command line</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-4TlEZU4ctk8/UTMQDA0WE4I/AAAAAAAABFY/pIDzu6apv9Q/s1600/28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="68" src="http://3.bp.blogspot.com/-4TlEZU4ctk8/UTMQDA0WE4I/AAAAAAAABFY/pIDzu6apv9Q/s400/28.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4)Start a vnc server in Rpi for viewing the screen and detection window from opencv</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Enter the command to start a vnc-server on Rpi</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both;">
<b>vncserver :1 -geometry 1366x600 -depth 16 -pixelformat rgb565</b></div>
<div class="separator" style="clear: both;">
<b><br /></b></div>
<div class="separator" style="clear: both;">
<b>#New ‘X’ desktop is raspberrypi:1</b></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
5)Start vnc client from PC</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-_vmkupa-F2Y/UTMXAdF1ALI/AAAAAAAABF4/l9e3KvK28IY/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="175" src="http://3.bp.blogspot.com/-_vmkupa-F2Y/UTMXAdF1ALI/AAAAAAAABF4/l9e3KvK28IY/s400/10.png" width="400" /></a></div>
<div>
<br /></div>
<div>
eg: vncviewer 192.168.1.3:5901</div>
<div>
eg:vncviewer rpi_ip:5901</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
6)Start synaptic from root terminal like this </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-gYVVE2syOSY/UTMWQe3d48I/AAAAAAAABFo/FspIrV4DSRM/s1600/13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="181" src="http://2.bp.blogspot.com/-gYVVE2syOSY/UTMWQe3d48I/AAAAAAAABFo/FspIrV4DSRM/s400/13.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
7)Install opencv from synaptic like this</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-f7VGhaHI9x8/UTMWflfRUcI/AAAAAAAABFw/gT_8cg2ItUY/s1600/16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="100" src="http://1.bp.blogspot.com/-f7VGhaHI9x8/UTMWflfRUcI/AAAAAAAABFw/gT_8cg2ItUY/s400/16.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
8)Download the source code from below</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://www.mediafire.com/?ahd677sxyfpf1m7" target="_blank">Download</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
9)Copy files from PC to Rpi using <b>scp</b> command</div>
<div>
<br /></div>
<div>
<b>scp -r facedetect.py face.xml pi@192.168.1.3:"/home/pi"</b></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
10)Run python file using following command</div>
<div>
<b><br /></b></div>
<div>
<b>python facedetect.py --cascade=face.xml 0</b></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Output</div>
<div>
--------</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-3StwPRzn2p8/UTMahdqv9ZI/AAAAAAAABGU/mcURwKxN1gU/s1600/29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="145" src="http://4.bp.blogspot.com/-3StwPRzn2p8/UTMahdqv9ZI/AAAAAAAABGU/mcURwKxN1gU/s320/29.png" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
Video:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/BIXOMmm57gM?feature=player_embedded' frameborder='0'></iframe></div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com77tag:blogger.com,1999:blog-5106299266700653707.post-53572978478422267262013-03-02T23:34:00.001-08:002013-03-03T02:15:01.911-08:00How to install Raspbian on Raspberry Pi<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
Recently i purchased a raspberry pi from Kits and spares. I am giving the link here<br />
<a href="http://shopping.kitsnspares.com/bon1/productdescription.asp?id=482662">http://shopping.kitsnspares.com/bon1/productdescription.asp?id=482662</a></div>
<div>
<br /></div>
<div>
Installation instruction.</div>
<div>
<br /></div>
<div>
1)Select a memory card with 4 GB. Select 8GB or 16GB or 32GB will be good if you plan to do some heavy work on Raspberry Pi. Me selected the following sd card from sandisk. Here is the link</div>
<div>
<br /></div>
<div>
<a href="http://www.flipkart.com/sandisk-ultra-sdhc-32-gb-30mb-s-class-10-memory-card/p/itmdaw7e9zush7g3?pid=ACCDAW7EGRG2HH4Y&ref=f587d917-3a9f-4496-b2e6-8c424c6a57c4&srno=m_2_2&otracker=from-search&query=sandisk%20sdhc%2032gb%20memory%20card" target="_blank">Purchase link from flipkart</a></div>
<div>
Its a 32GB ,class 10 memory card from SanDisk</div>
<div>
<br /></div>
<div>
2)Select a good powersupply: Raspberry Pi requires a charger with a rating 5V 500ma-1A adapter for normal operation. But if you want to interface more device into Rpi, either select a good charger with 5V,2A or puchase a powered usb hub.</div>
<div>
<br /></div>
<div>
<a href="http://www.adafruit.com/products/501">Adapter for normal operation</a></div>
<div>
<b><br /></b></div>
<div>
<b>How to install Raspbian on sdcard from Ubuntu Linux</b></div>
<div>
<br /></div>
<div>
<a name='more'></a><br /></div>
<div>
1)<a href="http://downloads.raspberrypi.org/download.php?file=/images/raspbian/2013-02-09-wheezy-raspbian/2013-02-09-wheezy-raspbian.zip" target="_blank">Download Raspbian image </a></div>
<div>
<br /></div>
<div>
2)Install image write tool from Ubuntu software center</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-1BhUODbsiyo/UTL3W-dQlQI/AAAAAAAABEY/pG5oe6TxzoU/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="50" src="http://1.bp.blogspot.com/-1BhUODbsiyo/UTL3W-dQlQI/AAAAAAAABEY/pG5oe6TxzoU/s400/1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3)Take image write tool and select the image file of raspbian and select device in which memory card is inserted.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-b80ohogA6QA/UTL7z8s2ySI/AAAAAAAABEo/2TtC1jODm3I/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://2.bp.blogspot.com/-b80ohogA6QA/UTL7z8s2ySI/AAAAAAAABEo/2TtC1jODm3I/s400/2.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4)After writing image , plug into Rpi memory card holder. Use RCA connector ,or HDMI or plug some HDMI to VGA convertor for the display</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5)Do some initial configuration and you will directed to a terminal. Enter "startx" command for getting desktop.. Enjoy</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-11352912370681537932013-01-16T01:06:00.005-08:002013-01-16T01:06:50.615-08:00How to send data to a bluetooth module from a Linux machine<div dir="ltr" style="text-align: left;" trbidi="on">
Hi Guys<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
This is a quick tutorial for sending data from a linux pc to a bluetooth module.</div>
<div>
<br /></div>
<div>
I purchased a bluetooth module from <a href="http://www.sunrom.com/bluetooth/serial-bluetooth-module-5v" target="_blank">sunrom</a>. </div>
<div>
<br /></div>
<div>
Connect this bluetooth module to an arduino or any interfacing board.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-J5-8zdlb64Y/UPZrtDvPcDI/AAAAAAAABCw/93uWvbfX7uM/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="237" src="http://2.bp.blogspot.com/-J5-8zdlb64Y/UPZrtDvPcDI/AAAAAAAABCw/93uWvbfX7uM/s320/1.png" width="320" /></a></div>
<div>
<a name='more'></a><br /></div>
<div>
When we power this module, it will start blinking a red led showing its not connected to any device yet.</div>
<div>
<br /></div>
<div>
On PC side:</div>
<div>
<br /></div>
<div>
Install the following packages</div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-zeQHjXQIS50/UPZr0FqnSQI/AAAAAAAABC4/QUIBDhP43LY/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="191" src="http://1.bp.blogspot.com/-zeQHjXQIS50/UPZr0FqnSQI/AAAAAAAABC4/QUIBDhP43LY/s400/2.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Type the following commands</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-ZTflu3F-7yE/UPZs0xPmpnI/AAAAAAAABDE/oTaYrcA7QbI/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="96" src="http://3.bp.blogspot.com/-ZTflu3F-7yE/UPZs0xPmpnI/AAAAAAAABDE/oTaYrcA7QbI/s400/4.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>After this command, if everything goes fine the red led will stop blinking and it will always be ON.</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Open /dev/rfcomm4 using python-serial module</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-il_94jujHI8/UPZtAMXnwwI/AAAAAAAABDs/bmIO4GR-lRs/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="110" src="http://3.bp.blogspot.com/-il_94jujHI8/UPZtAMXnwwI/AAAAAAAABDs/bmIO4GR-lRs/s320/5.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Done !!</div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-58191319002921700102012-11-21T10:01:00.001-08:002012-11-21T10:01:07.389-08:00How to open and close a process from a python script<div dir="ltr" style="text-align: left;" trbidi="on">
Hi guys<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I am giving some idea about how we can start and stop a process using a python script. This will be useful when we need to start a process that is outside the script</div>
<div>
<br /></div>
<div>
I am running two python scripts. One is master script, this script will start the slave script. Slave script will execute continuously upto 5 sec and it will terminated by the master script</div>
<div>
<br /></div>
<div>
Master script<br />
<br />
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> #!/usr/bin/python
import time
import subprocess
#starting process python while.py
proc = subprocess.Popen(["python","while.py"],shell=False)
#5 sec delay
time.sleep(5)
#killing process
subprocess.call(["kill","-9","%d" % proc.pid])
#waiting for killing
proc.wait()
print 'poll = ',proc.poll()
</code></pre>
<br /></div>
<div>
<br /></div>
<div>
Slave script<br />
<br />
<br />
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> #!/usr/bin/python
while 1:
print "hello"
</code></pre>
<br /></div>
<div>
<br />
Output<br />
--------<br />
<br />
It will print hello upto 5 seconds after that it will stop and show this message<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-eeTEOcez9CI/UK0Wh5Q8CeI/AAAAAAAABBc/QZEmXxisRII/s1600/Screenshot+from+2012-11-21+23:28:50.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="170" src="http://3.bp.blogspot.com/-eeTEOcez9CI/UK0Wh5Q8CeI/AAAAAAAABBc/QZEmXxisRII/s320/Screenshot+from+2012-11-21+23:28:50.png" width="320" /></a></div>
<br />
<br />
<br />
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-78327477491762034342012-11-04T07:49:00.000-08:002012-11-04T07:49:05.690-08:00Controlling Android Phones using Python and Linux<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I am giving a brief tutorial on how to control android phone using python over wifi using PC.</div>
<div>
<br /></div>
<div>
<h3 class="r g0" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-overflow: ellipsis; white-space: nowrap;">
</h3>
</div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><b>Prerequisites on android phone</b></em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal; font-weight: bold;"><br /></em></span></div>
<div>
1)<a href="https://play.google.com/store/apps/details?id=bohlool.net.wifiadb&feature=search_result#?t=W251bGwsMSwxLDEsImJvaGxvb2wubmV0LndpZmlhZGIiXQ.." target="_blank">Wifi ADB Application</a>: It is a tool for doing android debugging over wifi. Here is my previous tutorial about <a href="http://www.technolabsz.com/2012/07/wifi-android-debug-bridgeadb.html#more" target="_blank">Wifi ADB</a></div>
<div>
<br /></div>
<div>
2)<a href="http://code.google.com/p/android-scripting/downloads/list" target="_blank">SL4A and Python for android</a></div>
<div>
<br /></div>
<div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><b>Prerequisites on PC</b></em></span></div>
</div>
<div>
<br /></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;">1)Ubuntu 12.04 </em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><br /></em></span></div>
<div>
<br /></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><b>Procedure</b></em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><br /></em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;">1)Start wifi adb using above tutorial</em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;">2)Start a private server using SL4A.</em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"></em></span><br />
<a name='more'></a><span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><br /></em></span></div>
<div>
<span style="padding-bottom: 14px; padding-right: 15px;"><em style="font-style: normal;"><b>Take SL4A->Menu->View->Interpreters->Menu->Start Server->Private</b></em></span></div>
<div>
<br /></div>
<div>
3)A notification will appear on the top ,with a port number. Note the port number from SL4A. Note the IP of device from wifi adb</div>
<div>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-PW9TnNIiLL4/UJaMxjl1yjI/AAAAAAAABAk/M7SB1ethtFc/s1600/screenshot-1352036535843.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-PW9TnNIiLL4/UJaMxjl1yjI/AAAAAAAABAk/M7SB1ethtFc/s320/screenshot-1352036535843.png" width="190" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
SL4A Interpreters</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-M6R9pzgWKa8/UJaMzOeFlQI/AAAAAAAABAs/zZmKLkY4j0I/s1600/screenshot-1352042346801.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-M6R9pzgWKa8/UJaMzOeFlQI/AAAAAAAABAs/zZmKLkY4j0I/s320/screenshot-1352042346801.png" width="190" /></a></div>
Starting a private server<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-QcCVEGHm-WY/UJaM1JekwGI/AAAAAAAABA0/--q-1U9JHyY/s1600/screenshot-1352042399892.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-QcCVEGHm-WY/UJaM1JekwGI/AAAAAAAABA0/--q-1U9JHyY/s320/screenshot-1352042399892.png" width="190" /></a></div>
<br />
Started Wifi ADB .Showing IP and Port<br />
<br />
4)Start python in PC and copy android.py in the same path as mention in this <a href="https://code.google.com/p/android-scripting/wiki/RemoteControl" target="_blank">tutorial</a><br />
<br />
4)Enter the following commands<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-aYZTecdECD0/UJaL0woOWpI/AAAAAAAABAc/YEOr6w76LVA/s1600/Screenshot+from+2012-11-04+20:45:57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="115" src="http://2.bp.blogspot.com/-aYZTecdECD0/UJaL0woOWpI/AAAAAAAABAc/YEOr6w76LVA/s400/Screenshot+from+2012-11-04+20:45:57.png" width="400" /></a></div>
<br /></div>
<div>
<br /></div>
<div>
After entering ttsspeak("Hello World") ,you can hear hello world voice from android phone<br />
<br />
<br />
<a href="https://code.google.com/p/android-scripting/wiki/ApiReference#viewMap" target="_blank">API Reference</a></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-43211337268120689562012-11-01T21:30:00.005-07:002012-11-01T21:30:52.441-07:00New Arduino DUE<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
Hi all</div>
<div>
<br /></div>
<div>
There is a newcomer in the arduino board series. It's arduino due. The main feature of this board is, it comes with an ARM based controller.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-qbsCUm4SfDg/UJNErYjSB-I/AAAAAAAAA_0/F3WQr-a_frw/s1600/Due.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-qbsCUm4SfDg/UJNErYjSB-I/AAAAAAAAA_0/F3WQr-a_frw/s1600/Due.jpg" height="400" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
Technical Specification</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
<b><br /></b></div>
<div class="separator" style="clear: both;">
<b>Microcontroller</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>AT91SAM3X8E</div>
<div class="separator" style="clear: both;">
<b>Operating Voltage</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>3.3V</div>
<div class="separator" style="clear: both;">
<b>Input Voltage (recommended)<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 7-12V</div>
<div class="separator" style="clear: both;">
<b>Input Voltage (limits)</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>6-20V</div>
<div class="separator" style="clear: both;">
<b>Digital I/O Pins<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 54 (of which 12 provide PWM output)</div>
<div class="separator" style="clear: both;">
<b>Analog Input Pins<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 12</div>
<div class="separator" style="clear: both;">
<b>Analog Outputs Pins<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 2 (DAC)</div>
<div class="separator" style="clear: both;">
<b>Total DC Output Current on all I/O lines<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 130 mA</div>
<div class="separator" style="clear: both;">
<b>DC Current for 3.3V Pin<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 800 mA</div>
<div class="separator" style="clear: both;">
<b>DC Current for 5V Pin<span class="Apple-tab-span" style="white-space: pre;"> </span> <span class="Apple-tab-span" style="white-space: pre;"> </span> </b> 800 mA</div>
<div class="separator" style="clear: both;">
<b>Flash Memory</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>512 KB </div>
<div class="separator" style="clear: both;">
<b>SRAM</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>96 KB (two banks: 64KB and 32KB)</div>
<div class="separator" style="clear: both;">
<b>Clock Speed</b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b><span class="Apple-tab-span" style="font-weight: bold; white-space: pre;"> </span><b> </b>84 MHz</div>
<div>
<br /></div>
<br />
<div class="separator" style="clear: both;">
<br /></div>
<span class="fullpost">
</span></div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-61040295239801742662012-09-22T20:14:00.002-07:002012-09-22T20:14:32.437-07:00Speech Recognition on arduino<div dir="ltr" style="text-align: left;" trbidi="on">
Hi <span class="fullpost">
</span><br />
<div>
<br /></div>
<div>
I have seen a library for doing speech recognition on arduino. Check the following link for seeing more information.<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Features</b></div>
<div>
<br /></div>
<div>
<ol style="text-align: left;">
<li>Letter based recognition</li>
<li>Small memory footprint</li>
<li>Arduino Compatible</li>
<li>No training required</li>
<li>Fixed point arithmetic</li>
<li>30% - 40% accuracy if based on phonemes, up to 80% if based on words.</li>
<li><div>
Plugs directly into an analogRead() port</div>
<div>
<br /></div>
</li>
</ol>
</div>
</div>
<div>
<br /></div>
<div>
<a href="http://arjo129.github.com/uSpeech/">http://arjo129.github.com/uSpeech/</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<a href="https://github.com/arjo129/uSpeech" target="_blank">Code on github</a></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com1tag:blogger.com,1999:blog-5106299266700653707.post-7256801575868365582012-09-21T21:07:00.000-07:002014-01-15T05:15:41.676-08:00Working with LinkSprite UART-Wifi Module<div dir="ltr" style="text-align: left;" trbidi="on">
Hi all<span class="fullpost"></span><br />
<div>
<br /></div>
<div>
I purchased an UART-Wifi module from rhydolabsz.<br />
<br />
<a href="http://www.rhydolabz.com/index.php?main_page=product_info&products_id=718" target="_blank">Product link</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Nu97qL1q-Pc/UF0wR-GS-VI/AAAAAAAAA9Q/QQkv4_cpcbQ/s1600/EWLM064-TTL-Wifi.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="214" src="http://2.bp.blogspot.com/-Nu97qL1q-Pc/UF0wR-GS-VI/AAAAAAAAA9Q/QQkv4_cpcbQ/s320/EWLM064-TTL-Wifi.jpg" width="320" /></a></div>
<br />
<br />
Testing Wifi Module using the given PC tool<br />
----------------------------------------------<br />
<br />
<a name='more'></a><br />
<br />
1)Connected Wifi module with arduino. The RX of module -> RX of arduino<br />
TX of module -> TX of arduino<br />
<br />
2)For testing with PC tool we need a USB to RS232 convertor or dedicated serial port. I dont have a serial port so i am using Arduino as a USB To RS232 .You can remove the chip of arduino and connect the above pins to the board. You can also work without removing chip, for that you need to write and empty sketch to arduino, so there willnot be any serial pins activities<br />
<br />
3)After connecting arduino board, you need to change the PORT Number of serial port, it must be in the range of 0->4. Othervice PC tool willnot detect serial port. So change the serial port number in the following configuration.<br />
<br />
Plug arduino->Take device manager<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-JZteMphd274/UF0y3QP-5II/AAAAAAAAA-E/uKHTpySC7dw/s1600/serial.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-JZteMphd274/UF0y3QP-5II/AAAAAAAAA-E/uKHTpySC7dw/s320/serial.PNG" width="300" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Take properties of serial port</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-PRmue8cgBKI/UF0y2aMiZCI/AAAAAAAAA9g/U4eBIqqQXqI/s1600/ser.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="229" src="http://4.bp.blogspot.com/-PRmue8cgBKI/UF0y2aMiZCI/AAAAAAAAA9g/U4eBIqqQXqI/s320/ser.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Take advanced button</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-E55OczCxlLw/UF0y1AQpsjI/AAAAAAAAA9Y/zf_EIZ1Uwug/s1600/s.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="123" src="http://1.bp.blogspot.com/-E55OczCxlLw/UF0y1AQpsjI/AAAAAAAAA9Y/zf_EIZ1Uwug/s320/s.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Change COM Port number</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
4)Take PC Tool for Wifi<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-NFMz7lQ1dic/UF0zbSgHkDI/AAAAAAAAA-Y/qZyz41EY770/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="http://1.bp.blogspot.com/-NFMz7lQ1dic/UF0zbSgHkDI/AAAAAAAAA-Y/qZyz41EY770/s320/Capture.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
If everything is right,it will connect to Wifi module and when we take the tool it will make a RESET.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<a href="http://2.bp.blogspot.com/-b2JzP7x58p0/UF0zd07hqCI/AAAAAAAAA-o/ihsiPgcr_QM/s1600/Capture4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: left;"><img border="0" height="249" src="http://2.bp.blogspot.com/-b2JzP7x58p0/UF0zd07hqCI/AAAAAAAAA-o/ihsiPgcr_QM/s320/Capture4.PNG" width="320" /></a><br />
<div class="" style="clear: both; text-align: left;">
Press button scan,it will show the available networks</div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-pZm7x6mjpNM/UF0zck-VKgI/AAAAAAAAA-g/eV8vCQGGro8/s1600/Capture2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://3.bp.blogspot.com/-pZm7x6mjpNM/UF0zck-VKgI/AAAAAAAAA-g/eV8vCQGGro8/s320/Capture2.PNG" width="301" /></a></div>
<br />
<div class="" style="clear: both; text-align: left;">
For connecting to the specified network you need to set channel number ,SSID,BSSID,gateway for the available device. I am using wifi router . We will get the channel ,SSID,BSSID from the scanning resullt. You can see from the above pics. Set the values like the above pic if you are going to connect it to a wifi router. For router the gateway is 192.168.1.1. I am using Dlink. It can change.</div>
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-SvnsXhinrig/UF0zaWFDDXI/AAAAAAAAA-Q/jCF9ZpxJQKI/s1600/5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="248" src="http://4.bp.blogspot.com/-SvnsXhinrig/UF0zaWFDDXI/AAAAAAAAA-Q/jCF9ZpxJQKI/s320/5.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
If everything is ok,it will connect to that network when we press Joinkey</div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-xOHzvA0OyZk/UF0zfNUT0_I/AAAAAAAAA-w/ldRR2NBFywM/s1600/Capture5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="254" src="http://3.bp.blogspot.com/-xOHzvA0OyZk/UF0zfNUT0_I/AAAAAAAAA-w/ldRR2NBFywM/s320/Capture5.PNG" width="320" /></a><a href="http://4.bp.blogspot.com/-SvnsXhinrig/UF0zaWFDDXI/AAAAAAAAA-Q/jCF9ZpxJQKI/s1600/5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
Next you have to start a server in the pc for testing the connection.Start WLANTest TCP client. Give the local IP and port number of Wifi module.And press connect.If everything is ok, it will display status as CONNECTED.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-J0TpEGruZxs/UF0zghE2SNI/AAAAAAAAA-4/xCD8N0WQCM8/s1600/Capture6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="160" src="http://4.bp.blogspot.com/-J0TpEGruZxs/UF0zghE2SNI/AAAAAAAAA-4/xCD8N0WQCM8/s400/Capture6.PNG" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
Now you can send message from this client to Wifi. Type hello and press send,it will send to wifi module and display on its window<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-vtEz_8eDd-s/UF0zh5QrnEI/AAAAAAAAA_A/QdVv_vq5DI0/s1600/Capture7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="136" src="http://1.bp.blogspot.com/-vtEz_8eDd-s/UF0zh5QrnEI/AAAAAAAAA_A/QdVv_vq5DI0/s320/Capture7.PNG" width="320" /></a></div>
Similarly you can send data from wifi to this client. Even you can send files. That is shown above<br />
<br />
<br />
<a href="http://store.linksprite.com/uart-to-wifi-not-including-antenna/" target="_blank">Product link</a><br />
<br />
<a href="https://dl.dropboxusercontent.com/u/77416307/LinkSprite-UART-WiFi.pdf" target="_blank">Download DataSheet</a><br />
<br />
-------------------------------------------------------------------------------------------------</div>
</div>
Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com2tag:blogger.com,1999:blog-5106299266700653707.post-91320673714353716542012-09-15T07:50:00.000-07:002012-09-15T07:50:24.027-07:00Arduino PID library<div dir="ltr" style="text-align: left;" trbidi="on"><div>PID Library implemented on arduino</div><div><br />
</div><div><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-HGjUuWPzTJY/UFSVlT_n1gI/AAAAAAAAA8o/rroKej2S6nI/s1600/320px-Change_with_Kd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-HGjUuWPzTJY/UFSVlT_n1gI/AAAAAAAAA8o/rroKej2S6nI/s1600/320px-Change_with_Kd.png" /></a></div><br />
</div><div>Check this link</div><a href="http://arduino.cc/playground/Code/PIDLibrary">http://arduino.cc/playground/Code/PIDLibrary</a><span class="fullpost"> </span><br />
<div><br />
<a name='more'></a><br />
</div><div>A basic program</div><div><br />
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> /********************************************************
* PID Basic Example
* Reading analog input 0 to control analog PWM output 3
********************************************************/
#include <PID_v1.h>
//Define Variables we'll be connecting to
double Setpoint, Input, Output;
//Specify the links and initial tuning parameters
PID myPID(&Input, &Output, &Setpoint,2,5,1, DIRECT);
void setup()
{
//initialize the variables we're linked to
Input = analogRead(0);
Setpoint = 100;
//turn the PID on
myPID.SetMode(AUTOMATIC);
}
void loop()
{
Input = analogRead(0);
myPID.Compute();
analogWrite(3,Output);
}
</code></pre></div><div><br />
<a href="https://github.com/br3ttb/Arduino-PID-Library/">Download Library</a></div></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-30579964447021854732012-09-06T08:21:00.000-07:002012-09-06T08:21:34.794-07:00Cubieboard: A threat to Raspberry Pi<div dir="ltr" style="text-align: left;" trbidi="on">Hi Guys<span class="fullpost"> </span><br />
<div><br />
</div><div> I saw a new embedded board that can be a competition for the famous Raspberry Pi. The name of the board is Cubieboard. Specs given below</div><div><b><br />
</b></div><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-eAeiTEVq9Ro/UEi_McTC7YI/AAAAAAAAA8A/M4Hl4rMk9XE/s1600/cubieboard.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="253" src="http://3.bp.blogspot.com/-eAeiTEVq9Ro/UEi_McTC7YI/AAAAAAAAA8A/M4Hl4rMk9XE/s400/cubieboard.jpg" width="400" /></a></div><div><b><br />
</b></div><div><b><a name='more'></a><br />
</b></div><div><b>Specification</b></div><div><b><br />
</b></div><div><b><div>1G ARM cortex-A8 processor, NEON, VFPv3, 512KB L2 cache</div><div>Mali400, OpenGL ES GPU</div><div>1GB DDR3 @480MHz</div><div>HDMI 1080p Output</div><div>100M Ethernet</div><div>4GB Nand Flash</div><div>2 USB Host, 1 MMC slot, 1 SATA, 1 ir</div><div>96 extend pin including i2c, spi, lcd, sensors, ..</div><div>Running Android, Ubuntu and other Linux distributions</div><div><br />
</div><div><br />
</div></b></div></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-68072887130424150822012-09-06T08:11:00.000-07:002012-09-06T08:11:24.140-07:00ROS and Kinect<div dir="ltr" style="text-align: left;" trbidi="on">Hi Guys<span class="fullpost"> </span><br />
<div><br />
</div><div> The following video shows how we can interface kinect and ROS</div><div><br />
</div><div>Video<br />
--------<br />
<br />
<br />
</div><object height="315" width="560"><param name="movie" value="https://www.youtube-nocookie.com/v/sYrncrewttQ?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube-nocookie.com/v/sYrncrewttQ?version=3&hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-50714014084291524202012-09-05T11:20:00.000-07:002012-09-05T11:20:05.059-07:00How to hack your friends password in Ubuntu/Linux<div dir="ltr" style="text-align: left;" trbidi="on">Hi all <span class="fullpost"> </span><br />
<div><br />
</div><div> I got an interesting keylogger working in Linux Its name is Linux Keylogger (lkl).It will capture all keyevents and logging into a file</div><div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-qtxMNL9qHoc/UEeXwuU716I/AAAAAAAAA7Y/Kh36ojXBrk0/s1600/hack+the+keylogger+and+disinfect+yourself.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="262" src="http://2.bp.blogspot.com/-qtxMNL9qHoc/UEeXwuU716I/AAAAAAAAA7Y/Kh36ojXBrk0/s400/hack+the+keylogger+and+disinfect+yourself.jpg" width="400" /></a></div><b><br />
</b><br />
<b><br />
</b></div><div><b>Download</b></div><div><b><br />
</b></div><div><a href="http://sourceforge.net/projects/lkl/">Download Keylogger</a></div><div><a href="https://groups.google.com/forum/?fromgroups=#!topic/udsmprogrammers/vCFtQDoNq5M"><br />
</a></div><div><a href="https://groups.google.com/forum/?fromgroups=#!topic/udsmprogrammers/vCFtQDoNq5M">Download Documentation</a></div><div><b><br />
</b></div><div><b>Installation</b></div><div><b><br />
</b></div><div><b>1)</b>Extract zip file into some location</div><div>2)Open terminal in that location</div><div>3)Type the following commands</div><div>4)<b>./configure</b></div><div>5)<b>make</b></div><div>6)<b>sudo make install</b></div><div><br />
</div><div><br />
<a name='more'></a><br />
</div><div><b>Working</b></div><div><br />
</div><div>Command help</div><div><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-Bf8BPnqAU0g/UEeOlEyYq9I/AAAAAAAAA6Y/vqvb9ng7qSI/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="135" src="http://2.bp.blogspot.com/-Bf8BPnqAU0g/UEeOlEyYq9I/AAAAAAAAA6Y/vqvb9ng7qSI/s320/1.png" width="320" /></a></div><br />
Command for starting keylogger<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-YbRj9PQ1CJg/UEeOmHceCTI/AAAAAAAAA6g/ZrNgxS4N128/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="50" src="http://4.bp.blogspot.com/-YbRj9PQ1CJg/UEeOmHceCTI/AAAAAAAAA6g/ZrNgxS4N128/s320/2.png" width="320" /></a></div><br />
Starting keylogger<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-40a8h5Sj48g/UEeO8NU-xRI/AAAAAAAAA6o/qbgj7u06cZ0/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="40" src="http://3.bp.blogspot.com/-40a8h5Sj48g/UEeO8NU-xRI/AAAAAAAAA6o/qbgj7u06cZ0/s320/3.png" width="320" /></a></div><br />
<br />
Log.txt file<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-tEJtZSRQKl0/UEePflK7wxI/AAAAAAAAA6w/8KVVT1BsWWM/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="194" src="http://1.bp.blogspot.com/-tEJtZSRQKl0/UEePflK7wxI/AAAAAAAAA6w/8KVVT1BsWWM/s320/5.png" width="320" /></a></div><div><br />
</div><div><br />
</div><div><br />
</div><div>Video</div><div>-------</div><div><br />
</div><div><object height="315" width="560"><param name="movie" value="https://www.youtube-nocookie.com/v/y-TjYKuo154?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube-nocookie.com/v/y-TjYKuo154?version=3&hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object></div></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com2tag:blogger.com,1999:blog-5106299266700653707.post-26593125045711651932012-09-04T09:29:00.000-07:002012-09-04T09:29:39.734-07:00Turtlebot Simulation using ROS and Gazebo<div dir="ltr" style="text-align: left;" trbidi="on">Hi <span class="fullpost"> </span><br />
<div><br />
</div><div> I am giving the instruction to simulate and control turtlebot using ROS and Gazebo</div><div><br />
</div><div>1)Install ROS and gazebo packages of Turtlebot from synaptic package manager</div><div><br />
</div><div>Video showing installation of ROS</div><div><object height="315" width="560"><param name="movie" value="https://www.youtube-nocookie.com/v/UtZAxU4bBzA?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube-nocookie.com/v/UtZAxU4bBzA?version=3&hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object></div><div><br />
<a name='more'></a><br />
</div><div>Install Turtlebot-ROS packages<br />
<br />
</div><div><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-6OcQPqJz_YU/UEYqh9vJ_aI/AAAAAAAAA5Q/xYZxrNOAmz4/s1600/12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="114" src="http://4.bp.blogspot.com/-6OcQPqJz_YU/UEYqh9vJ_aI/AAAAAAAAA5Q/xYZxrNOAmz4/s400/12.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">2)Launch turtlebot simulator using following command</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-124-K8h1aCM/UEYrTEwAgYI/AAAAAAAAA5Y/vm0NiR77d_c/s1600/13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="116" src="http://4.bp.blogspot.com/-124-K8h1aCM/UEYrTEwAgYI/AAAAAAAAA5Y/vm0NiR77d_c/s320/13.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div>3)Launch teleoperation node using following command<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-Yg0t-UDPaXM/UEYrarXIx1I/AAAAAAAAA5g/_qX3per811s/s1600/15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="103" src="http://2.bp.blogspot.com/-Yg0t-UDPaXM/UEYrarXIx1I/AAAAAAAAA5g/_qX3per811s/s320/15.png" width="320" /></a></div><br />
<br />
4)Started the simulation<br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-3Ur8451S7gU/UEYr8KnR-GI/AAAAAAAAA5o/fpggF69r0ig/s1600/16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="178" src="http://2.bp.blogspot.com/-3Ur8451S7gU/UEYr8KnR-GI/AAAAAAAAA5o/fpggF69r0ig/s320/16.png" width="320" /></a></div><br />
5)Teleoperation using keyboard<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-OMYZm0a9vTo/UEYsF8EbqCI/AAAAAAAAA5w/4jS6UCPm58E/s1600/19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="160" src="http://3.bp.blogspot.com/-OMYZm0a9vTo/UEYsF8EbqCI/AAAAAAAAA5w/4jS6UCPm58E/s320/19.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><br />
</div>Video of this tutorial<br />
------------------------<br />
<br />
<br />
</div><object height="315" width="560"><param name="movie" value="https://www.youtube-nocookie.com/v/ddxPmC9nZyI?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube-nocookie.com/v/ddxPmC9nZyI?version=3&hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-70109234794809815442012-09-04T08:38:00.000-07:002012-09-04T08:38:44.881-07:00mbed :An embedded board based on ARM<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: left;"></div><div class="" style="clear: both;">Description: The mbed Microcontroller is an ARM processor, a comprehensive set of peripherals and a USB programming and communication interface provided in a small and practical DIP package. The mbed is a super-easy-to-use rapid prototyping tool built on industry standard technology.</div><div class="" style="clear: both;"><br />
</div><div class="" style="clear: both;"><br />
</div><div class="" style="clear: both;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-Ro5AXGl3SD0/UEYgH0CiFVI/AAAAAAAAA4o/TcTasLJEzDc/s1600/zf-mbed-nxp-lpc1768.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="143" src="http://2.bp.blogspot.com/-Ro5AXGl3SD0/UEYgH0CiFVI/AAAAAAAAA4o/TcTasLJEzDc/s320/zf-mbed-nxp-lpc1768.png" width="320" /></a></div><div class="" style="clear: both;"></div><a name='more'></a><br />
<br />
<div class="" style="clear: both;"><br />
</div><div class="" style="clear: both;">The mbed Microcontroller is made for prototyping, and comes in a 40-pin 0.1" pitch DIP form-factor so it's ideal for experimenting on breadboards, stripboards and PCBs. It supports lots of interfaces including USB, SPI, I2C CAN, ethernet, and serial. And downloading programs is as simple as using a USB Flash Drive. Plug it in, drop on your program binary, and you're up and running!</div><div class="separator" style="clear: both;"><br />
</div><div class="" style="clear: both;">The compiler is web-based, so it works on Mac, Windows, and Linux, and it allows you to write programs in C++. You'll also have access to the mbed libraries, which give you an API-driven approach to using the many functions of the microcontroller.</div><div class="" style="clear: both;"><b><br />
</b></div><div class="" style="clear: both;"><b>Specifications:</b></div><div class="" style="clear: both;"><br />
</div><div class="" style="clear: both;">Convenient form-factor: 40-pin DIP, 0.1-inch pitch</div><div class="separator" style="clear: both;">Drag-and-drop programming, with the board represented as a USB drive</div><div class="" style="clear: both;">Best-in-class Cortex-M3 hardware:</div><div class="separator" style="clear: both;">100 MHz ARM with 64 KB of SRAM, 512 KB of Flash</div><div class="" style="clear: both;">Ethernet, USB OTG</div><div class="" style="clear: both;">SPI, I2C, UART, CAN</div><div class="separator" style="clear: both;">GPIO, PWM, ADC, DAC</div><div class="separator" style="clear: both;">Easy-to-use online tools:</div><div class="" style="clear: both;">Web-based C/C++ programming environment</div><div class="separator" style="clear: both;">Uses the ARM RealView compile engine</div><div class="separator" style="clear: both;">API-driven development using libraries with intuitive interfaces</div><div class="" style="clear: both;">Comprehensive help and online community</div><div><br />
</div><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Website:<a href="http://mbed.org/handbook/Homepage">http://mbed.org/handbook/Homepage</a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><a href="http://www.rhydolabz.com/index.php?main_page=product_info&cPath=99&products_id=1010" target="_blank">Buy</a> </div><span class="fullpost"> </span></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0tag:blogger.com,1999:blog-5106299266700653707.post-47678526404478913682012-09-04T08:31:00.000-07:002012-09-04T08:31:21.154-07:00PCB: An opensource circuit designer<div dir="ltr" style="text-align: left;" trbidi="on">PCB is free software for designing printed circuit board layouts. It has many features and is capable of professional-quality output. It is available for UNIX operating systems, e.g., GNU/Linux, Mac OS-X, or Cygwin under Windows. pcb was orignally written by Thomas Nau of the University of Ulm, Germany, and is now maintained by harry eaton of the Johns Hopkins University Applied Physics Laboratory, Laurel, Maryland, USA.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-D7ystco0F94/UEYefCK5NGI/AAAAAAAAA4g/dbmW3abLMa4/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="238" src="http://2.bp.blogspot.com/-D7ystco0F94/UEYefCK5NGI/AAAAAAAAA4g/dbmW3abLMa4/s400/5.png" width="400" /></a></div><br />
<br />
<a name='more'></a><br />
<br />
PCB 3.0 is a branch of the source code modified to operate under the Tcl/Tk interpreter. Most of the coding for PCB 3.0 was done at MultiGiG, Inc., Scotts Valley, California, by Tim Edwards, Paramesh Santanam, and (working from India, courtesy of SynApps, Inc.), Nishit Patel. The code base is a departure from the original PCB in that a complete Tcl command-line API was concocted for PCB, and the GUI re-written as a Tk script. For the first cut (version 3.0), a fair bit of effort went to ensuring that the GUI looks and acts as much like the original Xlib-based version.<br />
<br />
Website :<a href="http://opencircuitdesign.com/pcb/">http://opencircuitdesign.com/pcb/</a><br />
<br />
<span class="fullpost"> </span></div>Lentin Josephhttp://www.blogger.com/profile/13816524077253592773noreply@blogger.com0