USB IO PICs for Simple Computer Control: Tips and Advice

  • Thread starter Thread starter Sathhin
  • Start date Start date
  • Tags Tags
    Usb
AI Thread Summary
The discussion focuses on using USB PICs for simple computer control, with an emphasis on finding resources for programming and interfacing. The original poster seeks guidance on materials related to USB PICs, expressing a desire to learn more about programming them, particularly with USB interfacing. Responses suggest exploring specific resources, including links to tutorials and development modules like FTDI's UM232R, which provide a practical solution for USB interfacing. Concerns are raised about using solderless breadboards for high-speed USB applications due to signal integrity issues. Overall, the conversation highlights the importance of proper resources and techniques for successful USB PIC projects.
Sathhin
Messages
1
Reaction score
0
Hey all,
I'd like to apologise in advance if my post/question seems overly ignorant in any way, also this is sort of an "Hello Forum" and questions combined. I've not used a forum before for help with electronic projects :) I've been looking at basic relay/switching control from a computer so that eventually I can build up to using it in conjunction with RC circuits or what not to do all sorts of fun things. However the most material I've come across is C++ interfacing with the old serial ports.

I have a fair working understanding of both C++ & Electronic design but I won't claim to be anywhere near knowledgeable on either, I'm still studying engineering at college...

Anyway, on to my question. Is there any material related to using USB PICs as simple IO devices? I don't really want to seem to be asking for a hand out, just interested if there is any reading material available? As I'll gladly get my head in a book. I have no idea where to begin with regards to programming a PIC, especially with USB interfacing, since it's all ASM as I understand? Just wondered if anyone had any advice on where I should go with this?

Cheers in advance for any info you can provide and also, sorry for the quality of this first post :)
-Sathhing
 
Engineering news on Phys.org
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2651&param=en534491
 
I used to design controller with USB interface. I used micro controllers from Cypress. At the time, they had a whole family of chips based on Intel 8051 micro controller. Go on their website and see what they have today.

BTW, I don't think you can use solderless breadboard for USB like the picture in one of the link. USB II is 400MHz! You have to have balance differential 90ohm lines for that. USB is RF in every sense. Those plug in wire bread board is no good for any significant frequency.
 
You can probably do low speed USB (<1.5 Mbps) on a breadboard without too much difficulty, but anything higher would probably be difficult.

For quick and dirty (and reusable) USB, you can get FTDI's UM232R (about $25 from most vendors):
http://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#UM232R

They're based around the FTDI FT232R family of chips (virtual com port and lower-level drivers are available for Windows, Mac, and Linux), which are the same ones used in most of the good USB-RS232 adapters (which also use the aforementioned drivers). Pretty good throughput (supposedly up to 3+ Mbps) and you can use standard UART handling and programming (on both the PC and micro side).

There's also an emulated (but low-speed, i.e. 1.5 Mbps) USB firmware for the Atmel AVR--V-USB. I don't know much about it, but I believe it's the same one used in more recent variants of some Arduinos (I believe older ones used the aforementioned FTDI).

Not super fast, but good enough for hobbyist use in an era where serial ports are going extinct.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top