Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. microcontroller to use ?

microcontroller to use ?

Scheduled Pinned Locked Moved Hardware & Devices
csharphardwaretutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shaikhooo
    wrote on last edited by
    #1

    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.

    L A L 3 Replies Last reply
    0
    • S shaikhooo

      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.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      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


      1 Reply Last reply
      0
      • S shaikhooo

        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.

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        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! ;-)

        L 1 Reply Last reply
        0
        • A Alexander M

          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! ;-)

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          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


          1 Reply Last reply
          0
          • S shaikhooo

            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.

            L Offline
            L Offline
            LittleYellowBird
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups