rushix
Posts: 9
Joined: Sat Jan 20, 2018 7:45 am

raspberry pi for a robot

Sat Jan 20, 2018 7:59 am

Hi there,
I am new to the forum and have some query.

1) I want to use a raspberry pi SOC in a autonomous robot.
2) I am well known in many languages like c/c++, java, python, php, and lot more as being a IT engineer.
3) Suppose i have a program that is running dc motor, connected to raspberry pi SOC.
4) Now can i remove keyboard and monitor...? So that decrease weight and let rest of setup work as "a robot" without keyboard and monitor?

Thanking you,
Rushikant pawar

bobbydurrett
Posts: 3
Joined: Sat Jan 06, 2018 3:37 am
Location: Arizona
Contact: Website

Re: raspberry pi for a robot

Sat Jan 20, 2018 3:24 pm

I'm a beginner too, but here is my opinion. There are robot kits for the RP so you can buy one of them if you want. If you have wifi you can connect your RP to your wifi network and ssh into it even if you have it in a little robotic car. I guess your robotics kit would have to come with some kind of battery to power your vehicle. Anyway, there are a bunch of posts about building a robot with a raspberry pi. Also there are products on Amazon.

Bobby

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: raspberry pi for a robot

Sat Jan 20, 2018 3:33 pm

can i remove keyboard and monitor...? So that decrease weight and let rest of setup work as "a robot" without keyboard and monitor?
Yes, you can do that.

In fact, if you choose to run the RPi with a pre-configured connection to a wireless network, you can access your robot controller 'headless' via a network connection and never require the direct keyboard and display in the first place.

W. H. Heydt
Posts: 12783
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: raspberry pi for a robot

Sat Jan 20, 2018 6:10 pm

rushix wrote:
Sat Jan 20, 2018 7:59 am
Hi there,
I am new to the forum and have some query.
Welcome to the forums.
1) I want to use a raspberry pi SOC in a autonomous robot.
What you'll get a whole SBC, with all the needed support circuits, not a bare SoC.
2) I am well known in many languages like c/c++, java, python, php, and lot more as being a IT engineer.
It looks like you have a comprehensive set of skills for your project.
3) Suppose i have a program that is running dc motor, connected to raspberry pi SOC.
Are you using just the Pi, or is there added hardware, such as a relay board or microcontroller?
[qoute]
4) Now can i remove keyboard and monitor...? So that decrease weight and let rest of setup work as "a robot" without keyboard and monitor[/quote]
That's referred to as "running headless" and is quite common. There are even techniques to do all of the initial set up of a Pi headless.

For general advice on robotics... The common remark is "Pi for teh brains, Arduino for the muscle". This is because the Pi has no AD/DA converters, which are often needed for motor control and sensor feedback. The Arduino lacks the raw computation power and memory to run a full OS and, therefore, will have limited decision making ability. You can connect a Pi to one or more Arduinos so that each is used where it works best and they can pass data back and forth as needed.

rushix
Posts: 9
Joined: Sat Jan 20, 2018 7:45 am

Re: raspberry pi for a robot

Sun Jan 21, 2018 7:39 am

W. H. Heydt wrote:
Sat Jan 20, 2018 6:10 pm
rushix wrote:
Sat Jan 20, 2018 7:59 am
Hi there,
I am new to the forum and have some query.
Welcome to the forums.
1) I want to use a raspberry pi SOC in a autonomous robot.
What you'll get a whole SBC, with all the needed support circuits, not a bare SoC.
2) I am well known in many languages like c/c++, java, python, php, and lot more as being a IT engineer.
It looks like you have a comprehensive set of skills for your project.
3) Suppose i have a program that is running dc motor, connected to raspberry pi SOC.
Are you using just the Pi, or is there added hardware, such as a relay board or microcontroller?
[qoute]
4) Now can i remove keyboard and monitor...? So that decrease weight and let rest of setup work as "a robot" without keyboard and monitor
That's referred to as "running headless" and is quite common. There are even techniques to do all of the initial set up of a Pi headless.

For general advice on robotics... The common remark is "Pi for teh brains, Arduino for the muscle". This is because the Pi has no AD/DA converters, which are often needed for motor control and sensor feedback. The Arduino lacks the raw computation power and memory to run a full OS and, therefore, will have limited decision making ability. You can connect a Pi to one or more Arduinos so that each is used where it works best and they can pass data back and forth as needed.
[/quote]


My interpretation is this that a operating system generally don't boot if there is no keyboard found... Now days USB keyboards are there but the thing is same again..


Idea of an autonomous robot :
It will go to "remote areas" where there are terrains and mountains... mostly it will find a way across using GPS coordinates...
So in this case NO NETWORK / NO INTERNET / NO WIFI / NO RADIO CONNECTION.

Even GPS will be using satellite ( and not internet connection or GSM message ) to transmit its location.

Now in this case i do not want my raspberry pi to go with monitor and keyboard and even without WIFI... Instead it should go with the dc servos, GPS transceiver.

As like in arduino we burns a program on chip using USB cable from our computer and then we detach USB cable... And it ( program on micro controller ) keeps running until the battery power is there...

So Once again the same question... :

Is there a way somehow ... keeping raspberry pi kernel running and obviously our program too... without WIFI / KEYBOARD / DISPLAY .. ?

WIFI -- I don't need this .., I will instruct it via GPS / RADIO
KEYBOARD - I don't need this ... It will be decision making program and controlled via GPS and / RADIO
MONITOR - I don't need this ... I will monitor it from base / home computer .

Or can we change setting of some files of raspberry pi OS .., so that it can boot itself..., even restart itself ( some cases where it will be programatically restarted and start compiling the program again.. )..., on its own .., when there is no need of KEYBOARD...?

I am really thankful to you guys. Everyone is helpful here.. Thank you again.

rushix
Posts: 9
Joined: Sat Jan 20, 2018 7:45 am

Re: raspberry pi for a robot

Sun Jan 21, 2018 7:43 am

bobbydurrett wrote:
Sat Jan 20, 2018 3:24 pm
I'm a beginner too, but here is my opinion. There are robot kits for the RP so you can buy one of them if you want. If you have wifi you can connect your RP to your wifi network and ssh into it even if you have it in a little robotic car. I guess your robotics kit would have to come with some kind of battery to power your vehicle. Anyway, there are a bunch of posts about building a robot with a raspberry pi. Also there are products on Amazon.

Bobby
It will be autonomous robot which will go in deserts, mountains, in remote area where there will be no sign of GPRS / TELECOM / even i will not be there...

Only robot will be there... I can not change limit of WIFI from 50 feet to 100 kilometres.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: raspberry pi for a robot

Sun Jan 21, 2018 7:45 am

The Pi boots and runs fine without keyboard, display ans network connection. Remember that the Pi has no BIOS which would enforce the presence of a keyboard.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: raspberry pi for a robot

Sun Jan 21, 2018 7:49 am

My interpretation is this that a operating system generally don't boot if there is no keyboard found... Now days USB keyboards are there but the thing is same again..
That may be true of the hardware and operating systems you are familiar with, but it does not apply to a Raspberry Pi running the Raspbian Operating System.


Is there a way somehow ... keeping raspberry pi kernel running and obviously our program too... without WIFI / KEYBOARD / DISPLAY .. ?
Yes.

can we change setting of some files of raspberry pi OS .., so that it can boot itself..., even restart itself ( some cases where it will be programatically restarted and start compiling the program again.. )..., on its own .., when there is no need of KEYBOARD...?
Yes.

rushix
Posts: 9
Joined: Sat Jan 20, 2018 7:45 am

Re: raspberry pi for a robot

Sun Jan 21, 2018 11:34 am

ghans wrote:
Sun Jan 21, 2018 7:45 am
The Pi boots and runs fine without keyboard, display ans network connection. Remember that the Pi has no BIOS which would enforce the presence of a keyboard.

ghans
This is the accepted answer. Thank you so much

rushix
Posts: 9
Joined: Sat Jan 20, 2018 7:45 am

Re: raspberry pi for a robot

Sun Jan 21, 2018 11:35 am

B.Goode wrote:
Sun Jan 21, 2018 7:49 am
My interpretation is this that a operating system generally don't boot if there is no keyboard found... Now days USB keyboards are there but the thing is same again..
That may be true of the hardware and operating systems you are familiar with, but it does not apply to a Raspberry Pi running the Raspbian Operating System.


Is there a way somehow ... keeping raspberry pi kernel running and obviously our program too... without WIFI / KEYBOARD / DISPLAY .. ?
Yes.

can we change setting of some files of raspberry pi OS .., so that it can boot itself..., even restart itself ( some cases where it will be programatically restarted and start compiling the program again.. )..., on its own .., when there is no need of KEYBOARD...?
Yes.
This is too a accepted answer.. Thank you so much dear.

Return to “Beginners”