If you didn't already know, the widget FW has been ported to a PIC with USB already. See it here:carsonlittle wrote:Tommy ,Tommy Tyler wrote:(2) a PIC or ATMEL processor that does it all, in which case we could go with the HID driver. Either approach would be cost competitive with using the Delcom chip. This doesn't sound like rocket science to me, but then it never does to those who don't know how to do it. Major issue: Flash uploading is in large packets of data, whereas EEPROM uploading is limited to 8 or 16 bytes per packet, with a pause while that packet is transferred from a receive buffer into the EEPROM. Are there simple handshake signals that would enable the interface to control the data transfer rate to accommodate this, without problematic changes to the IR software?
If anyone reading this with PIC or ATMEL programming experience is looking for a nice little project that will endear him (or her, Vicky) to the JP1 forum, I will volunteer to help with defining objectives, digging up specs, and all hardware chores, including prototypes for development.
I apologize for resurrecting this very old thread, but I would be interested in working on this project.
It would be wonderful if we could speak over the phone to exchange some thoughts but I want it to be a "all-in-one" PIC solution - using those nice USB capable PICs. I also have a PickKit3 and OpenProg that I built myself.
The code will be in C18 but I would like to restrict the source code to people who actively contribute to this project (HEX will be available to everyone). Projects I have worked on in the past have been ripped off before by small time overseas hobby shops that openly sell these projects at a profit without contributing anything back.
I also have a scope at school that I can use.
I am interested in JP1 because the "learning" remote I DIY can only handle RC5 and I am fed up trying to implement NEC and SIRC is so poorly documented that I would rather focus on the JPx project that works.
Since the Microchip HID framework does not have a working demo of implementing all 5 pins of a serial port, I might have to come up with a way to control a GPIO pin to put the remote in programming mode (we can discuss that in details, and how to integrate it with IR)
Looking forward to working with you.
http://dangerousprototypes.com/docs/USB_IR_Toy_v2
The normal FW for that one doesn't do widget, but there is an alternative FW that does. I don't know how full the memory is on that, but there may be sufficient space to add the JP1.x serial port stuff and the JP1.x to JP1 conversion. That would be the holy grail combo does everything device.
I've thought about other ways of doing a combo, but they all require changes to the precious JP1 software and I wouldn't expect to get much support for that. For example; FTDI has USB to serial boards that do I2C comm with eeproms pretty straightforward and that would cover JP1, but it would mean a major change to the JP1 software tools to use the FTDI eeprom capabilities. The same FTDI chip can easily do the JP1.x serial port stuf and there, no changes would be needed in the software. There isn't any easy way to make the FTDI chip behave like a widget, but there are actually better ways to do what the widget does. The FTDI chip can be setup to stream continuous data sampled at 1 MHz and this would be actually better than how the widget does it. Again, no JP1 tool support likely for such a radical change. Still, it could be done from a hardware standpoint. There just isn't much point in doing it, unless someone is willing to step up and make the required software changes to the JP1 tools.
A.A.