Link to home
Start Free TrialLog in
Avatar of lewis_loo
lewis_loo

asked on

Assembly and robotics

How can assembly links to electronic component? so that we can operate the component through the coding? some sort like programming the robotics.

what I mean is that Is there are an assembly code that can link the output port (such as COM or LPT) to the electronic component so that I can control the electronic component and also show the electronic diagram which suit the code.

Is there any web site that discuss this matter on a practical way? (basic one, for eg: controling the led (more than one)on and off through assembly coding.
if you can please list more address that talking about this matter in practical way?
Avatar of SunBow
SunBow
Flag of United States of America image

> How can assembly links to electronic component?
Output;Input

>operate the component through the coding
Today I dunno. Used to be done by passing bits. For movement, a bit would represent some activity of a motor.

> Is there are an assembly code that can link the output port
yes

> (such as COM or LPT)
No.
These communicate streams of bits, assuming the robot it Intelligent. It is not. If it were, then it would have the computer, but it would still npt stream bits via COM or LPT, it would do ports I/O. What it would have is the code, not you.

> the electronic component
yes, typically a bit, a combination of bits, or a byte. SUch components are rather stupid, do not need much info, else they'd be AI or robotic themselves.

But actually, the method is like use of COM and LPT in assessing & communicationg with the 'port', I am omitting the data area of com, the series of streams of bits. You use the 'contol' method of port handling.

> so that I can control the electronic component
-yes, like turning a lamp on or of, making window shape up/down, each is reduced to single function or bit.

> show the electronic diagram
-No, I have no clue what you want. If you prefer you can try boolean, like and/OR gates, that simplification may work ok for you. Kind of depends on what you really want to do

> Is there any web site
-dunno. But there are a few ways you can look, still depends on your need, I'll try to get back to that.

> basic one, for eg: controling the led
-YES, that's the idea, think bits. on/off. Perhaps think on the thingie that makes a digit as well, that's not too far off. You know, two verticla bars on top each other make a one. All (bar) LEDs make up two ~squares, when all seven are turned on you get an angular 'eight' pictogram... Electical design work probably be best if applicable to that.

> please list more address that talking about this matter in practical way
-oops,
I shut up

If you only want links, I can't help list, but (ok, more words) I can help in telling you to refine what it is do you think you are looking for???

Some will offer you boards for PC to output bits. You want? You'd have to do something with those bits yourself.

You want to build a robot from scratch on up? Maybe decide if it should have some intelligence first, so it can you a computer too (now you have two computers to program) - but this may be easiest.  Surf ONLY the .edu's - Universities always seem to come up with competitions , challenges for students to build some better robotics. Some may have info on web of interest to you. But you have to refine interest or surf and read to go through some more choices.

Cheat- You got money$$ there are modules you can get from some electonics stores, one for computer, one for lamp, one for coffee pot, one for alarm ring - you get to program, things go on/off quick, but not much initial robotic capability until you get more into motors and gears.

Does robot need any intelligence?

I dunno, I use too many words, sorry.
Try web search you'll be happier.
Try bookstore. Big ones have good selections like this.
Oh, omitted obvious - search on terms like robot and robotics.
Avatar of Ben_iti
Ben_iti

Hello Lewis Loo

There is no tutorials on the net for the thing you are trying to do

I have been to my local library four days ago and I was searching up Robotics and found some very good documentated books which are now out of date.

But the thing is, that the programming language used to program the robots was in the assembly language.

Cos the industry has changed, their is little support for the assembly
The only place where you'll find loads of support for the assembly language is back in the days when it existed and was documentated.

Go to your local library and ask where the robotics section is
They have old books on robotics from the past which is what you want.

There is a small book called
'How to build your own robot'
its colour blue and black
In there it teaches you how to build the robot illustrated in the book
then it shows how to read the joysticks movement in assembly language (input and output) exactly what your after.

I also have a interest in both Robotics and Assembly
I have been through website searches and nothing has comes up.

I hope I win the points cos I only have 100 so far.

Thanks

Ben Iti
ASKER CERTIFIED SOLUTION
Avatar of Ben_iti
Ben_iti

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> support for the assembly language is back in the days when it existed and was documentated.

IMHO, Assembly is live and well. It is used to make stop lights work on time. It is used to tur sprinklers on and of at a Golf Course that can afford that. It is used to fly the fastest jets. It is used to turn lights on in parking lots after sunset. It is extremely cheap, tight, efficient, and in behind the programs you are not running.

The Language of Assembly changes corespondingly to the exaxt model of CPU chip used, whether in the Computer code directly commanding the robot, or in the robot itself, interpreting the commands. Usually the latter is cheaper but designed to have improved I/O capability.  Cheaper - multiplexors and decoders help with the bandwidth.

I'd still suggest a visit to website of one or more of the schools participating in annual robotic competitions. It would seem that while some is theatric, there should be an associated goal of gaining and sharing knowledge.

Although using your own soldering iron costs down cost sharply, it is very time consuming and does get expensive. Then depending on goal, like artificial intelligence, it could be nigh on impossible in your lifetime. So make it clear to yourself up front just what you want to do. Reading the books, and reviewing other works can help you to decide that.
I could actually really recomend you try using PBASIC and a STAMP for building your own circuit boards for robottics. I often will build a board and use a BASIC STAMP IC to program the low level circuit logic, then have the  STAMP talk to my PC using serial comnunication and my .net apps take over.

try http://www.parallax.com