May 27, 2014 #1 H 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.
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.
May 27, 2014 #2 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 53,226 Helped 14,794 Reputation 29,875 Reaction score 14,318 Trophy points 1,393 Location Bochum, Germany Visit site Activity points 301,551 Wrong code or wrong hardware.
May 27, 2014 #3 B bluelasers Advanced Member level 4 Joined May 20, 2014 Messages 115 Helped 33 Reputation 66 Reaction score 33 Trophy points 28 Visit site Activity points 1,086 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?
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?