18F4550 USB interfacing.

Status
Not open for further replies.

hemnath

Advanced Member level 3
Joined
Jun 24, 2012
Messages
702
Helped
61
Reputation
120
Reaction score
57
Trophy points
1,308
Location
Chennai
Visit site
Activity points
6,589
I have interfaced DHT11 humidity and Temp sensor with PIC18F4550 and to display their values on PC(app developed on Visual C#).

Connections:
uC PC
+5V---->+5V
D+-----> D+
D- -----> D-
Gnd----> Gnd

When i connect +5V to DHT11, it displays USB not recognized in PC. Why is it so?
Please help.
 

Are you using the Microchip USB library? You may need to setup BUS power. The USB spec only gives a small amount of power by default. (I think 100mA.) You may be over the limit. Therefore you need to configure your device to ask for the full 500mA.

Do you have a hardware schematic?
 
Reactions: Chebbi

    Chebbi

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…