microcontroller to use ?
-
i m planning for usb oscilloscope for pc . Can someone tell me which micro controller i use, and how to get started? decided to use C# on pc side.
Aha, we meet again. If you want to build an oscilloscope that takes analoge inputs through an external peripheral, you will need a lot of technologies, including: - microcontroller software - analog electronics - Windows driver - Windows app Probably the most important decision is on interfacing; how will your scope present itself to Windows? i.e. where in "Device Manager" should your device appear, will it mimic some other device (and piggy-back on its driver), or will you have to develop your own driver (a major undertaking)? And a second decision is how to solve real-time problems; whatever the maximum frequency, resolution, number of channels, your microcontroller will need a lot of memory, since you will not be able to sink all data to USB in real-time. Once you solved these issues, the actual choice of microcontroller is not that important, pick any one you feel comfortable with; make sure you get a built-in USB port and some library support for that. Have you looked at commercially available solutions? They may inspire you. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
-
i m planning for usb oscilloscope for pc . Can someone tell me which micro controller i use, and how to get started? decided to use C# on pc side.
never heard about a micro controller with a .net virtual machine. most micro controllers support assembler and/or c only.
Don't try it, just do it! ;-)
-
never heard about a micro controller with a .net virtual machine. most micro controllers support assembler and/or c only.
Don't try it, just do it! ;-)
To build an oscilloscope, or some other real-time apparatus, the OP will need both a PC (running .NET would be nice), and some dedicated hardware that needs: - to interface to the PC, hence best a microcontroller (yes, with asm or C) - to take care of real-time aspects, hence best a lot of memory The smallest .NET machine would be a PDA, probably too expensive and lacking adequate I/O facilities and real-time capabilities. (It could be nice tho as the GUI part of the scope!) :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
-
i m planning for usb oscilloscope for pc . Can someone tell me which micro controller i use, and how to get started? decided to use C# on pc side.
When choosing a micro the first task is to work out what you want it to do. Many have built in A to D convertors which you will need (the resolution would not be great but it would get you started). Also, you need to consider the interface. You can get micros with a USB interface built in and this would make life a bit easier for you. Alternatively, you can use any micro and add a USB interface chip. FTDI http://www.ftdichip.com do a range of modules which I have tried and got running pretty quickly, you can connect them to your micro using a parallel port or a UART and as well as the chips they sell little modules which get your system up and running very fast. At the PC end I have used both a virtual com port approach and the dll they supply without too much difficulty. Another big consideration is what development kit is available in your price bracket. Personally I have used the Microchip PIC family alot lately and they have masses of devices and cheap tools. I should also mention Zilog Z8 and the Thompsom ST6 family which are good starter devices. Good luck, regards :)
Ali