Monday, 27 May 2013

Setting up your RPI- Embedded Linux board (A Low Level Guide to RPI-series)


 Raspberry Pi -(a SoC Embedded Linux  Board) powerful enough for your daily Embedded & Robotics projects
Sporting a meager 256MB of RAM and a 700MHz ARM-11 processor, the Pi is a modest piece of kit. Keep in mind this chip's main purpose is to power a cheap computer with a basic level of functionality, mainly geared towards education. The Model B also sports two USB ports, HDMI out and a 10/100 Ethernet port. For your audio needs, you've got a 3.5mm audio jack and that HDMI output, which also supports audio transmission. The Raspberry Pi's GPU boasts 1 Gpixel/s, 1.5 Gtexel/s or 24 GFLOPs of general purpose compute power and is OpenGL 2.0 Compliant. 
In this article we're going to take you through the setup steps to get your Raspberry Pi Model B up and running with Raspbian, the Debian-based Linux distro used here.
You'll also need the following:
▪ One SD card (min 4GB)
▪ An SD card reader so you can write the OS image to your SD card
▪ A means of supplying power to the unit. At the very least, you'll need a 5v micro-USB adapter.
▪ An HDMI cable and HDMI-to-DVI converter if you're using a monitor instead of a high-definition television. If you're just using a TV or a monitor that supports HDMI, you won't need an adapter.
▪ A USB mouse and keyboard
▪ An Ethernet cable
The officially supported Linux version is Raspbian

Raspbian – the Raspberry Pi recommended distribution, best for those that want the 'default standard' - nearly every Pi out there runs Raspbian http://www.raspberrypi.org/downloads
Making an SD Card – Using  Windows 7
There is a very useful utility that we can use to write a SD card available for Windows 7 and Vista.
Step 1.
Step 2.
This will download a zip file that you must extract. The result will be a folder called 'faii-1.0.2-3-x32'. If you keep this outside of the Program Files area then you will be able to run it without changing its priveledges. You can just leave it on your Desktop.
Step 3.
Right click to run the file fedora-arm-installer.exe as an administrator. This will launch the following application
Step 4.
Select the image file and device.
To do this, click the Browse button and navigate to the .img file for the distribution that you want to install and the select the device from the drop-down.
Check that you have the right device, as it will be reformatted, and then click Install.
It will take a few minutes to install, but once the SD card is ready, you will see the following.


BOOTING YOUR PI FOR THE FIRST TIME
The first time you boot the Raspberry Pi you'll see a configuration tool called "raspi-config." (If you ever need to revisit this configuration screen again, you can always call the "raspi-config" command from the terminal of your Pi.) While you're there, you'll need to change a few options.
First off, we need to select "expand_rootfs". What this does is expand the installed image to use the maximum available size of your SD card. If you are using a larger card (16GB, say), you'll definitely want to make sure you can use the full capacity, since the install image is only about 2GB.
Highlight that "expand_rootfs" option and press Enter. You'll then see the confirmation below, at which point pressing Enter will take you back to the main raspi-config screen.
Next up is the overscan option. If you notice, the screen is not taking up the entire real estate afforded by your monitor; it's best to disable overscan so that you can utilize your monitor or television to its entirety. If your screen looks fine, though, you can skip this step. In any case, assuming you do go through with this step, select "overscan" and press Enter.
Here you get the option to disable or enable. If you ever upgrade to a new monitor  you may need to re-enable overscan at a later point.
Back at the main menu, the next step is to set a user password.
Select "change_pass" and press Enter. After a confirmation screen, you'll be prompted to choose a new UNIX user password.
The next dialogue will show you a list of zones within that region. We think you know what to do here.
Back at the main setup, you can safely ignore the remaining options for now and select "Finish." You'll be prompted to reboot to make changes; do so. Once your system is back online, you'll get a login prompt like so:
Your login is "pi" and the password will be what you set it to earlier.

USING YOUR RASPBERRY PI 
Now that you've logged in to your freshly baked Raspberry Pi, the first thing you want to do is type "startx" to get your GUI environment loaded, which from here on out we'll refer to as your Window Manager.
After a quick screen flicker you should end up with this.
Welcome to the LXDE Window Manager. LXDE is a very lightweight, full-featured UI that runs pretty well on the Raspberry Pi. If you've never used LXDE before, it drives very similar to Windows. If you click the lower left icon, you'll see an application list. It works exactly how you'd expect it to.
After you've got your Pi powered and the LXDE WM up and running, you essentially have a full-fledged Linux box running Debian. At this point you can browse the web with Midori, setup a webserver, or do general computing tasks.
What's next?
In my next articles you will be learning about -
- Low Level Interfaces available to RPI
-  writing your first program on the Raspberry Pi 
-  Controlling DC motors from GPIO

- Raspberry Pi robot that you can also build easily at home


and much more.. stay tuned
Summer Training Programs at Waayoo Noida and Lucknow -

Servo motor and DC motor control using IC 555


Here we will understand how to control speed and direction of DC motor and how to control Servo motor.
         It is easy to connect the DC motor to battery and rotate it in a particular direction. But it is tough work to control the speed of motor controlling and rotation of servo motor. But now no problem because I am giving u some controlling circuit to control the dc motor speed and Servo motor .
DC motor :- This DC motor is connected 555 Ic directly .If we use other motor then there are required a 2N2222 transistor between ic and motor.      IC 555:- 555 timer  is very famous  ic to generate PWM signal in Astable mode . On time an Off  time of PWM is decided by the  given formula
Ton = 0.693 x (R1+R2) x C
Toff = 0.693 x R2 x C
On and off time decide the duty cycle of PWM which decide power given to the motor and power sets the motor speed.
%duty cycle =Ton / (Ton + Toff) x 100
Power calculation:-
If V(t) is the output voltage of 555 IC then
DC motor speed control circuit diagram:- Astable multivibrator is used to generate the PWM and it is control by varying pot resistor R2. 
  DC motor direction control circuit diagram:- you must onnect 9v or 12v supply.
Servo motor:-This motor has three wire
1) Vcc
2) Signal
3) GND

PWM(Pulse width modulation ) signal is give it to the signal pin. According to the PWM direction of servo motor given bellow
Servo motor circuit diagram:- Most of the time there are problem occur in  controlling servo then 1A charger must be used across servo supply.
Other link:-

Most Advanced Robotics Training Programs in Noida(India) by Waayoo.com


Waayoo.com(an Educational Div. of Vaskoe Technologies Private Limited) India's First Machine Learning based Robotics Company, is offering Robotics Training Programs since 2009 in several cities in India.
Candidates from different part of India come to join Waayoo's Robotics Training Programs.
Last Summer Trainings also met candidates from neighboring countries including NepalBangladeshPakistan and Bhutan, who enjoyed their training at Waayoo.com Noida, Lucknow, Chandigarh and Summer Camps.

This year Waayoo is again back with some exciting and unique Robotics Training Programs.












 Humanoid Robotics  - drew attention from all kind of people due to its design, flexibility and complexity
involved in builiding and more specifically in programming the humanoid for solving complex equations of mechanics involved. 
It's always a fun to make humanoid bots which can do a range of  motions - Running, Walking, Flipping, Dancing and Acrobatics.
Waayoo is offering Humanoid Robotics Training Programs in Summer Training, Winter Training and Industrial Training Sessions.

 Quadrocopter UAV Robotics  - Why do we call Quadrotor a Robot? It's  simply due to its Artificial Intelligence capabilities. Waayoo provides training in Quadrocopter UAV development which emphasis on
selecting the right combination of parts like bldc, esc, propellers, lipo, microcontroller for your quadrotor and
development of efficient algorithms for balancing your quad in air.

Quadrotor design brings Robotics, Embedded design, Aerodynamics and Control System concepts into a single platform, which makes it a highly sophisticated roboics task.
Quadrotor training is available during Summer Training & Internship Program.

 Vision Robotics  Vision Robotics Training Program by Waayoo.com takes you one step further in the field of Robotics. Vision Robotics brings real time image processing task to robots for motion control, automatic navigation and artificial intelligence.


 GPS-GSM Robotics  Global Positioning System has become widely accepted technology for finding the 
position of devices in terms of geo-coordinates. Outdoor localization of Robots is a challenging task in the field of robotics. Waayoo offers training program in GPS based Systems to create a Robot which can follow a map based on input from a remote station. GPS-GSM Robotics is also being used in advanced localization of our quadrotor which can return back to home after completing the assign task.

======================================================================For More information on latest available programs by Waayoo.com visit page www.stp.waayoo.com
or drop email to contact@waayoo.com
Websites owned by Waayoo.com
www.waayoo.com