Skip to main content
Topic: IR Toy v3 BOM (Read 8381 times) previous topic - next topic

IR Toy v3 BOM

Quote
   Hey all, I got a USB IR Toy v3 from the free PCB cart a couple weeks back and I finally found time to start the build process with locating parts. I couldn't find a nice neat Mouser BOM like the ones that exist for the v2 and other projects, so I made one. BUT there are a couple of questions I couldn't answer myself about part selection that will need to be sorted out before the cart is verified functional. See the link to the cart and my notes on it at: http://www.alexwhittemore.com/?p=543
Got a question? Please ask in the forum for the fastest answers.

Re: IR Toy v3 BOM

Reply #1
I was also here searching for info to assemble my free PCB!

I'm pretty sure the uC is the 18F25J50, based on other discussion around the forums, but that's as far as I've gotten. However, I was checking my soldering, and there seemed to be a couple of small inconsistencies against the layout files in the source r1434.v21 - notably pins 13 and 24 seem to be switched, L1 is in a different place, and there may be more....


The question I came here with is: is there any source available for a working version of this board? Is there working (or at least somewhat working) firmware? I wish I could volunteer to help port it, but I'm not exactly sure how useful I can be.

Re: IR Toy v3 BOM

Reply #2
I'm sorry, that is an untested prototype. I stuck with the 18F2550 (no J) for the v2 because I didn't want to do all the porting work required for the 18F25J50 chip.
Got a question? Please ask in the forum for the fastest answers.

Re: IR Toy v3 BOM

Reply #3
Well, that's cool. I wanted to learn more about these new devices anyway, and I mostly knew what I was getting myself into, although I thought it was slightly more developed than it is.

I'm sorry to be a pain, but does anyone know if the layout version on the SVN is the latest, and the board that I have is slightly older, or vice versa? If I have an old version (no parts on back is the biggest difference), is the layout right? Is there a firmware port that has been started somewhere on the SVN?

Thanks, and I'm looking forward to getting started on this!

Re: IR Toy v3 BOM

Reply #4
The latest firmware should compile and run on the 18F255J50 with few issues (besides not having IR I/O). If you decide to take this project on, the primary work will be assigning the times/PWM/other hardware modules to the correct pins with PPS. PPS is documented in the IO section of the datasheet, but can still be super confusing for a beginner. If you have any questions please don't hesitate to give me a shout here.
Got a question? Please ask in the forum for the fastest answers.

Re: IR Toy v3 BOM

Reply #5
If I stuff the board with the v2's 18F2550, and the same IR components, is there anything substantially different that the software won't work?

Re: IR Toy v3 BOM

Reply #6
I think at the very least you're going to have to do some software changes. The 18F2550 doesn't have the same remapable peripheral pin feature that the 25j50 does, so pinouts of the boards are not necessarily compatible. The pinouts don't look like they're the same on the two boards, but at first glace, it seems like the swaps were done so that it is still backwards compatible - pins 13 and 24, for example, are both PWM output pins.

Are you sure you don't want to suffer through porting to the new chip with me? ;)

My PICKit 2 should be arriving tomorrow! I'm excited!

Re: IR Toy v3 BOM

Reply #7
I know nothing about PIC programming whatsoever, and don't have a programmer, so that's out :). Let me know if you get anywhere, though, so I can build my board :)

Re: IR Toy v3 BOM

Reply #8
The pins are substantially different. The new board uses the reprogrammable pins at the top that are 5volt tolerant (it is a 3.3volt pic) to measure frequency. On the v2 we have to connect the IR detector to 3 different pins to get all the measurement features, in v3 we just assign them to one pin.

Also, the big hang up, is that there is no SSOP 18F2550 :)

It sounds like your serious about the port. I'll find the old proto (or build one up) so I can be involved.
Got a question? Please ask in the forum for the fastest answers.

Re: IR Toy v3 BOM

Reply #9
Hi Ian!

After getting distracted with other projects, I just found this board still on my workbench, and ordered the last few parts that I needed to finish it up. I currently have the TV-B-Gone firmware working (not 100% sure the timing is exact, but it turns off my TV), and am going to get started on the USB soon. Are you still interested in developing this? If you want to give me SVN access, you can use hithisishal at gee mail.

I just have a few notes relevant to this thread:

1) Most (all?) Rs and Cs which are speced as 0805 here (http://dangerousprototypes.com/docs/Van ... _IR_Toy_v3) and on Alex Whitemore's page are actually 0603 pads on the board.

2) I used the 20 mhz oscillator listed on Alex Whitemore's page. It works, but according to the datasheet, 8 or 16 should be more stable or otherwise preferable for the HSPLL mode.

3) All the schematics I can find are wrong. So far I traced:

IND      ->   RC2
IRTX       ->   RB3/RP6
IRRX      ->   RB4/RP7
IRD      ->   RB5/RP8

Re: IR Toy v3 BOM

Reply #10
I got the USB communications working, and think I'm close with pretty much everything else on the main irtoy firmware, but may be having some trouble with IRTX. The self test fails with error 2. After running self test for the first time, IRTX seems to idle with an 18 khz square wave. I'm not sure if anything is modulated inside this, or if it's a simple square wave. When I run the self test, it looks like IRTX just goes low for a few ms, but that's hard to capture. I can set up another trigger if necessary. I'm also not sure how to test the raw receiver with this firmware version.

Any ideas? Is it just that my clock is too slow by a factor of 2?

Let me know if you want my code, but it's still a bit messy at this point.

Thanks!

Re: IR Toy v3 BOM

Reply #11
Surprisingly, I have over half of the BOM on hand already—really, almost everything except the IR parts. (Even some 18F2550s I bought back in 2007!).

BOM updates: Were there any actual part changes between v2 and v3? Is the indicator LED still 0805, or was it changed to 0603 like with the BPv3.8?

Diodes: TL;DR: All three of the diodes are the same, correct?

Detail: That BOM has 3 BAS16J diodes, but D1 is listed with a different package than (and a varied footprint from) D2 and D3: "SOD2514X100N" vs "DO323". The data for BAS16J says it uses SOD-323F/SC-90 (similar body to SOT-323, but with two leads). It's no stretch to imagine DO323 being compatible with SOD-323F, but I'm having trouble finding information on "SOD2514*". If they're the same part, I can stop looking for a cross reference. So, is it?