Robotics

170

Solutions

473

Contributors

Robotics is the branch of technology that deals with the design, construction, operation, and application of automated machines known as robots. It also involves the computers systems for their control, sensory feedback, and information processing.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,
I recently bought myself a Lego Mindstorm Robotics Kit.  The Kit comes with a unit called the NXT Brick.  This brick can be programmed using virtually any language using either Bluetooth or USB.  

As a project I have decided to try and connect Delphi to the NXT Brick.  As I have only started learning delphi, I am somewhat unfamiliar with how Pascal/Delphi send bytes of data.  So far I can get Delphi to connect to the NXT brick by simulating a COM port, but I am stuck as how to send data to the brick.

I am using the Synaser (Serial Port Synchronous) Library to get the PC to connect to the NXT Brick via bluetooth.

To send data to the NXT Brick using Perl, I would the following:

...
my $data = "\x00\x01\x88";

$data = pack("h2", length($data) ) . "\x00" . $data;

$nxt->write( $data );
...

Open in new window


What the NXT Brick is looking for, if using Bluetooth is:

Byte 0: 0x00 - Length, LSB
Byte 1: 0x00 - Length, MSB
Byte 2: 0x01 - Command Type
Byte 3: 0x88 - Command

Note: All those commands must be prefixed by a 2 bytes header indicating the command length

So, can you please help me work out how to send and receive data to and from the NXT Brick.  Any guidance will be most appreciated.
0
I have been thinking of building external hardware that i could control via usb or some sort of power control device that would be controled by my computer?  any suggestions on a device or program that i could use to work on such things?
0
Im in need of some robot circuit diagrams (which when designed can really work) ....may be some good circuits of remote controled robots moving or controlled by remote,radar or anything (kindly give all the necessary linkz and details ..)....(im trying to find some ...but still no success ...may be some of u ..better find it ....)

the robot circuits may be of any use any type ....or simple construction using ic's,resisters and other electronic and electrical components ...

alll points ....given away ,,,,good answer may recieve more !!
plz reply ...
thankz .......................!!!
by circuit i mean circuit diagrams ...!! .....
0
I want to build a program that can chat with human but I don't know any algorithms to create one. For example, if I say "hello! How are you", the AI chatter will answer: " Very well! You're so kind!". I have experience in java and C#.
So where can I find these algorithms?
0
Hi There,
I wanted to know if there is a tutorial book or anything that can help me get started in artificial intelligence, genetic, and fuzzy logic algorithms and also other fields of this subject? I have searched all the net but have not found any thing that can get me started. All those books are too sophisticated and complicated that make me confused.
Please help me.
Thanx.
0
My current project needs to find relationships to analyze medical charts and connect it to occurence of illnesses.
It should be used for diagnosis, where I can predict risks based on circumstances.

Is there any free implementation for such neural networks in C# or C++, or is there any possiblity to use such components from these languages?
And is there any other form of artificial intelligence library which could help me for medical diagnosis?

Thanks,

Sina Falahati
0
Hi, I want to design a micro-robot, that will be linked with wires to my PC so I can control it.

Let's say I want it to move, so I click a button (or submit a command) in my software and the robot executes the command.

The robot will be made of small (walkman style) electrical motors and other electronics such as leds etc.

The power will either be provided from the PC or from batteries on the robot itself.


My quesiton is:  What equipment do I use to link the robot to PC, ie link my homemade hardware to the software on my PC?


Please be as specific as possible!

Thanks a lot!
0
Hi,
I have searched a lot on this site, but didn't get a satisfied answer. So, hopefully, my problem will be solved as soon as possible :).
I am designing a robot for my project, using a PIC 16f877 chip. I am using two small motors to turn the left and right wheels. So, obviously i need some feedback loop, to make sure tht both wheels are at same speed.
thre may be more design considerations .. but for now i m focussing on the PID control.
if possible ..can i get a  C code for the PID?

if u need more info.. let me know.. !!

my first objective of this project is due in a week's time.. so need it quick!

thx!! :)
0
Hi,
I have searched a lot on this site, but didn't get a satisfied answer. So, hopefully, my problem will be solved as soon as possible :).
I am designing a robot for my project, using a PIC 16f877 chip. I am using two small motors to turn the left and right wheels. So, obviously i need some feedback loop, to make sure tht both wheels are at same speed.
thre may be more design considerations .. but for now i m focussing on the PID control.
if possible ..can i get a  C code for the PID?

if u need more info.. let me know.. !!

my first objective of this project is due in a week's time.. so need it quick!

thx!! :)
0
how do computers being used in robotics on intelligent agent?
0
This might be a difficult question unless you research the proper university. I did an article about this person in my computer support group last week.

"Who is considered the father of the term "artificial intelligence".

I need his name and the university he works for.
The first expert to give the correct answer gets 500 points and A grade.
Radar0509
0
What up.

I need a new hobby (bad!).

In light of Microsoft's announcement about offering a free development kit for robot builders (or whatever, I didn't really read it)...

I think I'd like to try some amateur robot building/programming.  Not necessarily like Battle Bots, although that would be cool.

In anyone know any good kits for that?  How can I get started...I mean from a hardware perspective.

What about the Lego kits, are those any good?  I'd rather not play with something for kids, and get something a little more "grown up" if you know what I mean.
0
Been struggling with this one for a long long time and its driving me crazy. I'm trying to make a robot jump around the room randomly. It will hold the current co-ordinates until it finds new ones that doesnt have an object on them. While checking random co-ordinates it will be positioned to the side of the square. 0= up, 1=right, 2=down and 3= up.  At the moment its working for UP only and I cant get it to start jumping about randomly. The positioning is on the square before the new co-ordinated one so this position will change depending on which way the robot faces.

Can anyone tell me anything seriously wrong with this code and help me out. Man its like 5am here in UK lol I been up all night with this.  Heres my code...


import SE111aClasses.*;
public class Tut14_1 {
      public static void main(String args[ ]) {
            
            // make the objects
            MyRobot robby = new MyRobot();       // robby of class MyRobot
            Room room = new Room(9);            // Room 9 has some obstacles
            Picture picture = new Picture(room,robby);
            GUI gui = new GUI();                  // gui for main method
            int i=0;
            int j=0;
            int k=0;


            // two for loops to make robby change tile and encounter obstacles
            for(i=1;i<=10;i++)
            {
                  for (j=5;j<15;j++)
                  {
                        // move robby to the tile (i,j) if it is empty
                        robby.goTo(room,i,j);      
                        picture.draw(room,robby);
                  }
            }

      for (k=0; k<10; k++)
            {
                  // teleport robby 10 times around the room
                  robby.teleport(room);
                  picture.draw(room,robby);
                  System.out.println("Teleport …
0
i have to do my ms project for artificial intelligence my area of interest is computer vision and i want idea for new and good topic to explore can anybody help me out in finding my research area and how to further investigate in research topic regards
0
OK 0 = Up, 1 = Right, 2 = Down and 3 = Left

I've done most of the code for my Robot to move in teleport. Atleast I think its most of it but I need help. I need pointing in the right direction and I'm hoping that an expert may think along the same lines as my tutor because I cant get my tutors help until Wednesday.

Heres some of the code I wont post all of it because I dont want it copied but I think this will be all you need.

import SE111aClasses.*;
import java.util.Random;
public class MyRobot extends Robot {

      GUI gui = new GUI();
   
      // method to move robby from current position to position (x,y) if (x,y) is empty
      // if the tile is full (i.e. contains an obstacle) robby should not move
      // message displayed to show if robby is moving to square or unable to move
      public void goTo(Room room, int x, int y)
      {
            int keepx=0; // variables to hold the robot's current position
        int keepy=0;
        int dir=0;

         keepx=get_xpos(); // use the robot methods to get x and y positions
         keepy=get_ypos();
         dir = get_dir();
            
        // setX(x);      // use the robot methods to set the position of the robot
         // setY(y-1);       // to (x,y-1), one y position lower to enable look ahead
         
     if (dir==0)
     {setX(x);
      setY(y-1);}
     
     else if (dir==1)
     {setX(x-1);
     setY(y);}
     
     else if (dir==2)
     {setX(x);
     setY(y+1);}
     
     else
     {setX(x+1);
      setY(y);}
     
     if (obstacle_ahead(room)) // if…
0
I have two motors, one controls the steering and the other the forward/backward motion

I get these imputs from a gps device,

$GPGLL,5102.0974,N,11401.0958,W,165656,A,A*5F
$GPRMB,A,0.00,L,402,401,5102.099,N,11401.111,W,0.010,278.3,,A,A*7E

one for the location and the other for the waypoints..

I need some kind of an algorithm to best suit what i'm trying to achieve..

For example, my robot has 2 wheels in front for steering and 2 wheel at back for forward/back motion, it is able to turn 15 and 30 degrees to the right and left, go forward, backwards, stop (can also go backwards doing a 15/30 degree turns)

Once my robot reaches a waypoint, should it make a 3 point turn or a smooth 15 or 30 degree turn to stay on its path?  3 point turn would keep in closest to its path but may take some time...

and also how could i determine if the robot is facing the right direction?

cheers
0
I know that this may not be the exact place to post this but I figure that some programmer out there may dabble in the language of microcontrollers and be able to answer this question. I am a total newbie to mcirocontrollers , I do not own one, I dont know what to by and well ..

Ok here goes.

I want to be able to control 5-7 prebuilt animated robots that are now running on 3volts of current. Another item is at 4.5 volts and still another item is on regular 120 volts. Can I buy a micorocontroller to turn on, turn off the items in any order i want and keep them running lets say for 1 minute  then rest for 2 minutes, while another is running etc.Then have different sections of the program where they all go on, all go off, one goes on etc. The 'show' would go on continuously as this would be a holilday display.

Can this be done ? What would i need? . I mean you have to be exact I can program a little. I coudl also get acces to an older pc to program the microcontroller.  The 120 volt item is not absoultely necessary as I coudl keep this running all day but it woudl be nice.

Thanks a lot

Tom
0
All of the experts, I have encountered some problems about my double module computing project. Because this project is so important to me, I have struggled very much even after the title is finalized. Without saying much, let me introduce what is my project about.

Part 1
My project title is research of genetic algorithm and development of the warehouse stock goods placement application. This application would generate all the solutions of how to place the certain amount of goods with the least occupation of space and the analysis would take the space for the convenience of import and export of goods into consideration. By the help of genetic algorithm, the application would return the optimization result, which known as the best solution.

Here comes my first question, do you think the genetic algorithm is appropriate in developing the application? Even it is appropriate, is it the best Artificial Intelligence algorithm to develop the application? If it is not, what is the best algorithm you would suggest for development?

After the best algorithm is confirmed, what programming language would you suggest me to use? And there is a question keeps confusing me, is the algorithm just merely a kind of methodology or logical thinking? If it is, does it mean whatever the programming language I use is not really a matter as long as the code is written with the concept of that particular algorithm? How do you think about visual basic.net or C for developing this application? Any …
0
Any suggestion about some robotics for pharmacies we really need to improve our way of organizing our stores. Traditional robotic companies do not have exactly what we need. Its to big, too expensive and sometimes can make things even worse because we have to change too much or unnecesary in very little time.
We can do it --no problem-- but we need to see it is what we need even 40% of our goals is beter than nothing.
Or at least we need to know we are going to be better. But nothing so far.
So here we are in creativity and great expertise land waiting for you experts to help us.
Best regards,
0
The project is to design a robot out of legos which, by using infrared and breakbeam sensors, will follow a path of black tape on a white floor, pick up a block at the end of the tape, turn around, follow the tape back, and stop at the end. The break beam sensor is broken when the block enters two arms, at which point it activates muscle wire which drops a bar, trapping the block. The break beam sensor deals only with the block, not with the tape. The infrared sensors are place near the middle of the bot, facing straight down. They are placed a little closer together than the width of the tape, so that if it hits a straightaway, both sensors are over the tape. My issue is trying to figure out how to get the sensors to recognize that it's at the end of the tape. At the moment, it backs up if it gets off the tape (which it does 15-20 times while actually travelling the track), so when it gets to the end, it just spazzes by going alternatingly forward/backward on and off the tape.
Any help would be appreciated, here's the code.

void main()
{
    int left_motor = 1, right_motor = 3, left_sensor = 5,
      right_sensor = 6, break_sensor = 2, back_count = 0,
      break_count = 0, motor_sensor = 0;
   
    while(1)
      {
        if(analog(break_sensor) > 200 && break_count == 0)  //if break beam sensor is broken, it will do this
          {
            motor(left_motor,100);
            motor(right_motor,100);   //moves bot forward
            msleep(300L);
            …
0
The project is to design a robot out of legos which, by using infrared and breakbeam sensors, will follow a path of black tape on a white floor, pick up a block at the end of the tape, turn around, follow the tape back, and stop at the end. My issue is trying to figure out how to get it to recognize that it's at the end of the tape. At the moment, it backs up if it gets off the tape (which it does 15-20 times while actually travelling the track), so when it gets to the end, it just spazzes by going alternating forward/backward on and off the tape.
Any help would be appreciated, here's the code.

void main()
{
    int left_motor = 1, right_motor = 3, left_sensor = 5,
      right_sensor = 6, break_sensor = 2, back_count = 0,
      break_count = 0, motor_sensor = 0;
   
    while(1)
      {
        if(analog(break_sensor) > 200 && break_count == 0)  //if break beam sensor is broken, it will do this
          {
            motor(left_motor,100);
            motor(right_motor,100);   //moves bot forward
            msleep(300L);
            off(left_motor);
            off(right_motor);
            motor(motor_sensor,100);  //activates muscle wire, traps box
            sleep(5.0);  
            off(motor_sensor); //turns motor_0 motors off
            motor(left_motor, 100);
            msleep(500L);
            motor(right_motor,-100);    //this makes robot pull a 180
            msleep(500L);
            break_count++;   //exits the loop permanently
        }
        else
   …
0
Dear All

I want to write about the robotics in the Milirtary , so any sites which can help me in this topic.

Thanks
0
Hi experts,
 
In college, I made a distributed genetic programming framework in C++.  The code compiles with VC++, though I'm sure I could port it to g++.  

It would be a nice project to try evolve some behavior in a little robot.  But I was more on the computer science side than the engineering side, and I need some advice on what microprocessor to use, and any other tips you might have.  

Now one option would be to take my 20 pound computer, and add a motor and 100 foot extension cord to it...
but that is the option I am trying to avoid.

Maybe my best option is just not to use the cumbersome case, and to find a battery ?!? How can I avoid the extension cord?

It would be nice though to have all the features of a fully fledged motherboard.  I have a USB digital i/o device, for example, which I doubt most microchips interface with.  And I need the chip to be able to run my C++ code, first and foremost.  The interfacing with a motor or sensors I can work out later, but please also take this into account.

Any ideas?
Thanks for any help
Dan
0
I'm attempting to solve a problem involving a robotic arm I'm designing. I have not had the high levels of math I may need but I've had Trig in college so I have some math skills.

The problem is solving what angles to move the joints to get to a specific point given any number of joints. It can't just work for 2 or 3 but 4 or more. I've found some information on the Jacobian Inverse Kinematics techniques but I don't understand them. Can someone walk me through a problem and explain things kinda simple? I would like to set up something like this:

A length = 10
B length = 9
C length = 8
D length = 7

Just to get some different lengths.

To make the angles easy I'll just call them angle A, AB, BC, CD. We can say that it all starts out at 0 degrees. So our current end position is now (34, 0).

        A                      B                   C               D
_____________ ____________ __________ ________

And we want to move to something like this. Make up a point to move to like (12, 10).  And hopefully we can move there but we'll assume the joints have no restrictions to the movements to make it easier maybe.
         
       ___C___
     /             \
B /                 \  D
 /                     \
|
| A
|
|


Hopefully someone can help me out with this!

Thanks,

Walter
0
I have NS Basic 4.1, but may upgrade to 4.4 while waiting for a response here.

Is it possible to capture and store the signal that the camcorder remote sends to the camcoder to tell it to take a picture?  I would then like to take this stored signal and send it out from the Palm pilot every 5 seconds for time-lapse photography.

ANY help is greatly appreciated.  Programming the palm is fairly new to me, so I will definitely not be insulted with details.  I have created an app that controls the movement of a mini-sumo robot with an attached serial cable, but that is all output.  I don't have a clue as to how to "capture" the signal sent from another remote into the palm.

Thanks,
Emory
0

Robotics

170

Solutions

473

Contributors

Robotics is the branch of technology that deals with the design, construction, operation, and application of automated machines known as robots. It also involves the computers systems for their control, sensory feedback, and information processing.