Homemade PCB, no VUSB

USB infrared remote control receiver/transmitter. Get one for $20, including worldwide shipping.

Homemade PCB, no VUSB

Postby LisandroP » Thu May 19, 2011 1:42 am

Hello. I've recently built a single-sided, through-hole version of the USB IR Toy v2, using the schematic posted on the wiki for it without the pin breakout area.

Now, i can program this device just fine through ICSP using the .hex files provided in the package, but the thing is VUSB never raises to 3,3v (floats arround 0,6v) with any of them, so the device never ennumerates. I can confirm the device works flawlessly otherwise (the bootloader alone responds correctly to shorting PGC/PGD after a reset, for example).

Right now my VUSB pin is connected to ground via a .47 uF cap, but i've tried several values without making any difference

¿Could it be possible that some configuration bits need to be set up manually? I've checked the design so many times i'm positive that it is correct. Is either that or a dud 18F2550 with a broken internal regulator, but i've never seen such a thing happen in the past. I've used a JDM-type programmer with both WinPic800 and piklab-prog, with identical results.

Thanks in advance!

PS: If anyone is interested in a single-sided PCB for the IR toy just let me know. Mine is 40x50mm using an USB-A connector and includes a USB pin header, VCC/GND/RX/TX header for serial communications and ICSP - had to dispense with the pin breakout area though.
Last edited by LisandroP on Thu May 19, 2011 7:54 am, edited 1 time in total.
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby schazamp » Thu May 19, 2011 6:46 am

That sounds interesting. Though I'm afraid I can't help much with the issues you're having, I'd like to see your project. Do you have any photos you can post?
schazamp
Full Member
Full Member
 
Posts: 225
Joined: Wed Jan 19, 2011 9:51 am
Location: St. Louis, MO

Re: Homemade PCB, no VUSB

Postby LisandroP » Thu May 19, 2011 7:35 am

schazamp wrote:That sounds interesting. Though I'm afraid I can't help much with the issues you're having, I'd like to see your project. Do you have any photos you can post?


Sure, no problem - i'll snap some pictures as soon as i get home today.

EDIT: Here you go - sorry about the lousy quality :) Notice that there's no QSE159 as i haven't been able to locate that part locally yet.

DSCF1110.JPG
Homemade IRToy v2 - Img 3

DSCF1108.JPG
Homemade IRToy v2 - Img 2

DSCF1105.JPG
Homemade IRToy v2 - Img 1
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Tue May 24, 2011 10:03 pm

I finally broke down an got a new 18F2550, which worked perfectly from the beginning. This must be the first time i ran across a broken PIC...

Anyway, this is a great little device. It's now receiving IR for my HTPC system and works great. Thank you for your hard work guys!
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby ian » Wed May 25, 2011 8:15 am

Awesome build, thanks for posting! I'll blog it up.

Do you plan to publish the PCB files? If it's open source I'll include it in the SVN and release packages.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Wed May 25, 2011 11:35 am

ian wrote:Awesome build, thanks for posting! I'll blog it up.

Do you plan to publish the PCB files? If it's open source I'll include it in the SVN and release packages.


Sure, be my guest! :) I've designed the board using PCB and gSchem. If that's good for you i'll review the designs to clean them up in order to get them ready for publishing.

I also have a PCB design with the pin breakout area, which i didn't quite like because it's more crowded and leaves little copper to connect the "ground plane" areas on the board. It's the same design and schematic though so it should work just fine.
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby ian » Wed May 25, 2011 4:08 pm

Post it up, whatever the format, as long as you're ok with an open license. If it isn't based on our files (cc BY-SA), please specifically state the license you want so I can include a note with the files.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Wed May 25, 2011 6:59 pm

ian wrote:Post it up, whatever the format, as long as you're ok with an open license. If it isn't based on our files (cc BY-SA), please specifically state the license you want so I can include a note with the files.


Creative Commons is fine. Attached is a rar with PCB, schematics, netlist files and images for both the regular design and the one with the breakout area, in case someone finds it interesting.

EDIT: I've found out a typo in the schematics (the emitter resistor for the IR Leds' CCS was incorrectly labeled 6k8 instead or 6R8). The attached files are now corrected. Sorry!
Attachments
usb_ir_toy_v2_-_single_sided.part2.rar
(230.08 KiB) Downloaded 668 times
usb_ir_toy_v2_-_single_sided.part1.rar
(350 KiB) Downloaded 663 times
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby ian » Fri May 27, 2011 3:56 am

Thank you so much. I added it to a contribution folder here: http://code.google.com/p/dangerous-prot ... %2Fcontrib
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade PCB, no VUSB

Postby ian » Fri May 27, 2011 4:01 am

If you PM me your address I'll send the 159 sensor.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Fri May 27, 2011 9:04 am

ian wrote:Thank you so much. I added it to a contribution folder here: http://code.google.com/p/dangerous-prot ... %2Fcontrib


Amazing! Thank you Ian!
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby erdabyz » Mon May 30, 2011 4:40 pm

LisandroP wrote:I finally broke down an got a new 18F2550, which worked perfectly from the beginning. This must be the first time i ran across a broken PIC...

Anyway, this is a great little device. It's now receiving IR for my HTPC system and works great. Thank you for your hard work guys!


I've personally had 18F2550's with the very same issue, that ended up working after... heating!. Yeah, no VUSB, some heating, and off they go. Heating to 150ºC or so..., nothing close to or above reflow temperatures.That happened to me when I started making psgrooves for friends and that, and ordered a bunch of 2550's and like 3 of them had that issue.

I don't know what the hell happens to the 18FX550 series. I myself have broken like 5 4550's in TQFP44 in 3 different proyects in less than three months. With broken I mean that they were working, and suddenly they stopped. After checking the memory contents, the first 8 to 16 (or so) words were erased. It's magic. Some of them re-worked after reprogramming, some never started the oscillator again (literally). I first thought it was a USB ESD issue, but nopes. I also thought it could be something related to the "popcorn effect" while soldering, but nopes, I added some serious ESD protection. A """pre-baked""" chip also broke. I also had one that woudn't properly read the state of a pin, and guess what, worked after reheating. And poofed after a month.

Yeah, for me it also was the first time I saw a broken pic. In my early years I did all sorts of mistreat to those poor first PIC's that came to my hands, and all of them still work. I've only experienced that issues with FX550's, but never with any other PIC model, even with USB.
erdabyz
Full Member
Full Member
 
Posts: 177
Joined: Wed May 25, 2011 8:13 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Mon May 30, 2011 5:51 pm

erdabyz wrote:
LisandroP wrote:I don't know what the hell happens to the 18FX550 series. I myself have broken like 5 4550's in TQFP44 in 3 different proyects in less than three months. With broken I mean that they were working, and suddenly they stopped. After checking the memory contents, the first 8 to 16 (or so) words were erased. It's magic. Some of them re-worked after reprogramming, some never started the oscillator again (literally). I first thought it was a USB ESD issue, but nopes. I also thought it could be something related to the "popcorn effect" while soldering, but nopes, I added some serious ESD protection. A """pre-baked""" chip also broke. I also had one that woudn't properly read the state of a pin, and guess what, worked after reheating. And poofed after a month.

Yeah, for me it also was the first time I saw a broken pic. In my early years I did all sorts of mistreat to those poor first PIC's that came to my hands, and all of them still work. I've only experienced that issues with FX550's, but never with any other PIC model, even with USB.


I keep hearing about all sort of strange issues with the 18F series. For example, i usually program my PICs with an old trusty JDM2 i built a long time ago. This device has programmed every single PIC i used without issues... except for the 18F2550/4550, where it requires a filter adaptor for the PGC/PGD lines (nothing more than 100Ohms and 27pF in series to ground). And this is regardless of the connector length. In fact, i hear people had issues using the PICKit2 with these devices.

In my experience, PICs are way more rugged than they should be. I've had PICs with overvoltage, reverse polarity, sinking several times the maximum rated current or incorrectly wired and they always seem to survive without a hitch. I've recently had a 3,3v receiving 13v on some GPIO pins! So, when something breaks with a PIC design the device itself its usually the last thing i check.

Thanks for the heating tip BTW. I'll try it tomorrow... i've seen stranger stuff happen :)
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Re: Homemade PCB, no VUSB

Postby ian » Tue May 31, 2011 1:35 am

Also remember to use a diode in series on the MCLR line of the JDM2 - it puts 13volts on MCLR and the 18FX550 can take max 12.6 or 12volts or something.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade PCB, no VUSB

Postby LisandroP » Tue May 31, 2011 1:46 am

ian wrote:Also remember to use a diode in series on the MCLR line of the JDM2 - it puts 13volts on MCLR and the 18FX550 can take max 12.6 or 12volts or something.


12.5v max, IIRC. To be honest i never cared about it, as it seems that both the 18Fx series can be programmed at 13v and the 16Fx series can be programmed at 12v in my experience. Still, yes, it's out of spec.
LisandroP
Newbie
Newbie
 
Posts: 19
Joined: Thu May 19, 2011 1:22 am

Next

Return to USB Infrared Toy