|
Written by Evan
|
|
Sunday, 05 November 2006 |
|
I just put up a new article on 'asynchronous' usb interrupt transfers from PIC to PC . The result is that the PIC can send packets to the PC at any time (well, practically) and when a new packet is received an event is fired for the main code to handle. All the real work (polling the receive buffer) is taken care of in a separate execution thread so as not to load down your main program/GUI, and the interface is simplified to the point that adding this functionality to your program takes only a few lines of code. |
|
Last Updated ( Tuesday, 07 November 2006 )
|
|
|
Written by Evan
|
|
Monday, 30 October 2006 |
|
I've been working on building a "proper" etching tank for etching PCB's, with a heater and an air bubbler and all that. One of the biggest challenges is getting a heater for it; aquarium heaters are the cheap, popular choice, but most have a max temperature adjustment range of around 85 degrees F, which is way too low for etching (ideally you'd want more like 115 F). I just received a heater I bought online today, it's a Hagen Thermal Compact A-722, 50W 6" heater, and it's fully submersible (bought mine from petking.net for $9.99). After some adjustment, I left it in a container of water for quite a few hours and it maintained the temperature at 115 F just fine, so I think it's going to work out quite well. When I get my etching tank more complete, I'll put together a short article on it, in case anyone's interested. |
|
Last Updated ( Monday, 30 October 2006 )
|
|
|
Written by Evan
|
|
Sunday, 29 October 2006 |
|
I put some more time in, and have (hopefully) turned the 18F4550 USB Interface article into a useful guide for getting started. I hope to add a new article on using asynchronous PIC-to-PC transfers at some point, including adding an additional endpoint to the PIC firmware, modifying descriptors, and monitoring it in a separate execution thread in C# for more of an interrupt-based approach on the PC side, to get it to the point where from the perspective of the main user program, incoming transmissions from the PIC will simply fire an event. I've gotten it working now, so hopefully soon I'll have the time to jump from there to an actual article. Also, on a side note, I discovered that my bootloader could use some more work. I had issues with programming the config words (which is something I would avoid prefer to not program normally, just to avoid breaking the bootloader if the hex file contained bad values), and I need to make some changes in the fancier version to allow some additional actions (for example - allowing you to program JUST the config words, without affecting anything else) |
|
Last Updated ( Monday, 30 October 2006 )
|
|
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
|
| Results 29 - 32 of 38 |