Hi, i have a AVR robotics kit,...and a usb programmer for programming it..i need to control the robot using matlab....ca u please help ????thanx in advance...

2 Ansichten (letzte 30 Tage)
Control of the robot using AVR atymega8 kit...and also i want to have a serial communication using USB....and my kit does nt have manufacturer id or model no or anything ....how to communicate it????

Antworten (1)

David Sanchez
David Sanchez am 20 Mai 2013
When you connect your kit to USB port, it'll be assign a COM number ( COM2, COM12...whatever, check it out). Create a serial object with
serial()
You can read/write to your port with
freadf
fwritef
  1 Kommentar
yeshwanth manhcuri
yeshwanth manhcuri am 20 Mai 2013
yeah i connected it and used the command instrhwinfo and then it displayed a data type struct.... of size {1x0} and i dont knw how to fing the com port it just shown a hub address....in devices and printers area....

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Robotics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by