free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
cyberdyne
Sun Sep 21 2008, 12:18AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
hi frndsz,
i am currently doing a project on developing a USB interface between a 8051 microcontroller and a mobile phone,the mobile phone uses a usb data cable .I know there are few chips like FTDI to make things easier.i have few doubts regarding it.
1.Can we send the same AT commands via the serial port(8051) to FTDI chip which will send to the mobile via the data cable?Will the command work correctly?
2.Are the ftdi chips very expensive to buy or better make the interfaces on our own?
3.Does the chip need any special driver to run properly?

i would like to thank Mr.Ajay who initially helped me to make a serial interface which is now working perfectly .

Back to top


sashijoseph
Mon Sep 22 2008, 07:31PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 650
Thanked 140 times in 133 posts
for your project you would need a microcontroller with usb-host capabilities.Then you would need to implement a USB stack on it.Only then will you be able to communicate with other (slave) usb devices.
Simply interfacing with a FTDI won't work.

Check out this thread...
http://www.8051projects.net/lofiversion/t9363/microcontroller---pen-drive-interfacing.html

[ Edited Mon Sep 22 2008, 07:33PM ]

Let there be music........
Back to top


cyberdyne
Tue Sep 23 2008, 04:31AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
thanks sathish for ur reply.Yesterday i downloaded the data sheet of ftdi232r from the website and pls c the circuit.Correct me if it is wrong as i dont have much expertise in this area
Back to top


cyberdyne
Tue Sep 23 2008, 04:35AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
sorry the link is
http://rapidshare.com/files/147675645/untitled.bmp.html
Back to top


ExperimenterUK
Tue Sep 23 2008, 01:55PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 204
Thanked 38 times in 37 posts
@cyberdyne

USB needs a host and a device, that is a master and a slave.

The master does a lot more work than a slave and is more complex.

Your ftdi232r is a mini slave, sending serial data to and from
the 8051, but it has to have a master on other other end of the USB line.

Your phone is another slave, so it will not work.

There are chips that will act as a master and be controlled by a micro,
which would probably work with a 8051.

They tend to be expensive and come in complex surface mount packages.
Google" usb host controllers" [edited to add "host"]

Microchip's 24F and 32F ranges have PICs with built in USB hosts,
these would probably be cheaper, and easier to work with.

It is quite an ambitious project either way

I'd be interested to hear how you get on.











[ Edited Wed Sep 24 2008, 01:53PM ]

Learning all the time
Back to top


Ajay
Wed Sep 24 2008, 07:29AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
there is also 18F ICs with onchip USB interface like 18F4550.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


cyberdyne
Wed Sep 24 2008, 07:57AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
thanks frnds for the reply.which one of the above mentioned is the easiest as i have no prior knowledge about PIC.any option with 8051 will greatly help for programming purpose.
Back to top


cyberdyne
Wed Sep 24 2008, 08:02AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
how abt this option frnds Atmel's AT83C5134.Will this work properly it says it has inbuilt usb controller features.any suggestions !
Back to top


ExperimenterUK
Wed Sep 24 2008, 02:06PM
 User Offline
Registered Member #9602
Joined: Tue Aug 05 2008, 04:15PM

Posts: 204
Thanked 38 times in 37 posts
cyberdyne wrote ...

how abt this option frnds Atmel's AT83C5134.Will this work properly it says it has inbuilt usb controller features.any suggestions !

The AT83C5134 has a USB "device" interface.. IE a slave.. so no good.
The same goes for the Microchip 18F range.

You need to look for the words "Host" or "OTG" (On The Go), these are masters.
The Atmel 90USB647 and 90USB1287 should be OK.


This plug in module should most of the work for you, and there will be others.
http://www.dontronics-shop.com/ftdi-vdip1-mcu-to-usb-host-controller-development-module.html

Meanwhile here are links to chips to consider
http://www.lvr.com/usbchips.htm

Which is the best setup ?
I'd go for a plug in module.
After that a micro with built in Host..
Microchip or Atmel etc.. no idea .. probably very similar.

By the way..it's probably better to edit your last post rather than post again immediately
to add something.


[ Edited Wed Sep 24 2008, 05:14PM ]

Learning all the time
Back to top


cyberdyne
Thu Sep 25 2008, 05:51AM
 User Offline
Registered Member #2622
Joined: Fri Jul 27 2007, 05:56AM

Posts: 29
Thanked 0 times in 0 posts
thanks Experimenter! the Atmel 90USb series are really gud.Do u need a separarte programmer for this or the older ones for 89c51 are ok.I glad to inform that my project was selected for the practical implementation at my college with support from a local hospital.So i will be needing a lot of these similar pieces can u suggest me the most cheapest one as i will be intially spending the amount for the development till their acceptance

thank u
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems