Stories
Slash Boxes
Comments

News for nerds, stuff that matters

MiniOn ARM Microcontroller Programming System

Posted by timothy on Saturday May 03, @03:46PM
from the software-you-can-touch dept.
profdc9 writes "For the past six months or so I have been working on the MiniOn, a network enabled microcontroller programming system, similar in idea to the Basic Stamp and Arduino hobbyists are fond of, but it is programmable and accessible through a Web browser and TELNET, requiring no installed development software. It uses the cheap, readily available LPC2000 ARM7TDMI micrcontrollers, and the easy to interface Microchip ENC28J60 for ethernet. The MiniOn firmware is written using only the free WinARM development tools (Linux tools work also) for those who wish to improve the MiniOn. I have already implemented an MP3 streaming server and a web-based graphical oscilloscope in MiniOnBasic. The MiniOn should hopefully lower the barriers and costs to getting started learning about embedded systems, and provide a non-proprietary method of data acquisition."

Related Stories

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Gumstix (Score:4, Interesting)

    by JohnFluxx (413620) on Saturday May 03, @04:04PM (#23286062)
    How is this different from the Gumstix, which are small 600Mhz xscale chips (using ARM also) but also come with ethernet, bluetooth, touchscreen TFT screens, general I/O, flash memory, etc
    • Re: (Score:3, Insightful)

      If I understand correctly, Gumstix is a closed source (hardware and software) platform that costs in the low hundreds-of-dollars range, while MiniOn is open source (hardware and software) system that you are intended to build yourself.

      Your comment seems
      • Re:Gumstix (Score:5, Informative)

        by belphegore (66832) on Saturday May 03, @04:24PM (#23286168) Homepage
        The gumstix is completely open source (though some 3rd party companies sell closed-source software for it for custom applications). Every line of code that ships on the gumstix, and every line of code for every utility used to build gumstix's factory software are completely open, and published. Gumstix even gives users write permission to its source code repository. Almost all of the hardware is fully open-source (all the daughtercards are -- the motherboard's schematic and layouts are closed, but all the interfaces are heavily documented, and gumstix the company is very open about talking about the stuff on the board to assist with any compatibility issues).

        Disclaimer: I used to work at gumstix, and I'm a stock holder.
        • Re:Gumstix (Score:4, Insightful)

          by ciroknight (601098) on Saturday May 03, @06:19PM (#23286784)
          Meanwhile, Chumby [chumby.com] is 100% open source hardware, including both the board and the default daughtercard, under a BSD-like license, along with 90% of its software (I only say 90% because the widget platform runs Adobe Flash, which is the only closed-source component on the entire device).

          Costs about the same as Gumstix, plus you get an LCD, speakers and a microphone.
          • Oh, actually, now that I think about it, I think part of the wifi firware on the gumstix is closed-source. But the driver's open. Stupid wifi vendors are a real PITA.
        • Good to know, but the motherboard is kind of the key factor. The difference is paying a minimum $100 dollars for the lowest end board, or making your own MiniOn at $5 dollars a chip (buying a single chip - http://www.componentsuperstore.com/store/SearchRes [componentsuperstore.com]
  • by kickmyassman (1199237) on Saturday May 03, @04:29PM (#23286186) Homepage
    One of the major barriers getting into embedded programming is finding a cheap programmer that doesn't require RS232 standard 18 Volt serial ports (or similarly high-voltage parallel ports). If you're making something that helps around that? You're certainly going to help people get into the game.
    • Especially if you want people on all platforms to use the thing. There's no LPT or COM ports on Macs, for example. And a lot of new motherboards have also dumped the legacy ports, so it's not a Mac-only problem.

       
    • Re: (Score:2, Informative)

      Futurlec has several (cheap!) boards that program either through a USB port, or a USB-powered JTAG port.

      www.futurlec.com
    • > One of the major barriers getting into embedded programming is finding a cheap
      > programmer that doesn't require RS232 standard 18 Volt serial ports (or
      > similarly high-voltage parallel ports).

      Thankfully a major barrier to becoming an embedded pr
    • The Arduino http://www.arduino.cc/ [arduino.cc] is great for that.
      Plug USB in and start programming in dead simple C.
      • So, what does a via do, what is ground bounce, and how do you measure it? :)
        • Re: (Score:3, Informative)

          A via is a connection from one side of the board to another. They add a complex resistance (or, in other words, impedance) to the trace, and in general, that slows down the edges of traces. It is mostly capacitance, but a via can also add inductance. Po
            • Re: (Score:3, Insightful)

              Please don't take this as insulting (or trying to insult you- I truly, honestly want to help people make good circuits), but this is exactly the sort of ignorance that gets me frustrated! A blanket statement like that can get you in real trouble- while yo
      • Indeed, but that doesn't address the problem of most embedded development being Windows-centric, the Arduino being an exception. I've been goofing around with Basic Stamps, largely because there is a really nice piece of software for programming it from t
      • Re: (Score:2, Informative)

        USB to serial adapters don't work (by and large) because although they deliver the voltages required, they have very little amperage and thus quickly fail to provide enough power. I can attest to this being true as I have two different USB to serial adapt
  • Oscilloscope (Score:3, Informative)

    by evanbd (210358) on Saturday May 03, @04:40PM (#23286246)

    Have you actually implemented an oscilloscope in any meaningful sense, or is this just a low-performance data acquisition system? Nothing wrong with the latter (I'm in the process of designing and building a high-quality, modest performance data acquisition board myself), but it's not the same as a scope.

    A scope needs, at a minimum, a decent sample rate (though for many purposes I'd settle for something as low as a 10MHz sample rate with 1MHz bandwidth, or even a bit less). It needs a properly compensated input (ie 1MOhm / 20pF or similar, and importantly specs on what that is). It needs an input amplifier with selectable gain, so that I can see down to at least 10mV/division (~100mV peak to peak full scale). It needs both an AC coupled and DC coupled mode. If it's implemented digitally, it needs 8 bits of noise-free resolution (10 would be nice, but often isn't required). If it's digital, it needs to specify timing jitter error (ideally specified as "negligible" though worse is fine as long as it's characterized). Ideally it should have multiple channels and some controls about triggers and such, but those aren't particularly required. Accuracy requirements are surprisingly loose: 2% is fine, 5% is usually acceptable for all or almost all parameters.

    What you have looks like a handy first pass at a very simple data acquisition system. I don't mean to disparage that; it's a very useful tool. But, as an occasional analog engineer who would love to be able to recommend an inexpensive oscilloscope, this doesn't look like an oscilloscope at all, much less one worth recommending as such. The part that makes an oscilloscope hard to build is not the microcontroller code, but the analog front end. The 1960s vintage Tektronix tube scope I have does what I describe above, and most of that wasn't even state of the art at the time. The available tools have gotten better, but the fundamental requirements haven't changed. A data acquisition system is nice, but it's not really a tool for circuit analysis like a scope is.

    Anyway, I'm done with my cranky analog engineer rant now. This looks like a very cool toy! I'll probably stick with my PICs out of habit, but I'll definitely take a look at this.

    • Re: (Score:3, Informative)

      The 1960s vintage Tektronix tube scope I have does what I describe above, and most of that wasn't even state of the art at the time.
      You obviously don't have a proper 1960s vintage Tektronix tube scope. I've got a 310A that's pretty low on the performance range, but my 547 was definitely black-lab-grade at the time. Available for under $50 at your more esoteric garage sales (I paid
      • I got my 561A for free, and I love it dearly. I don't mean to disparage it; lots of its features were state of the art at the time. Unless I'm mistaken, it introduced the ceramic strip construction techniques, producing much lower noise than its predeces

  • LPC2000? (Score:4, Interesting)

    by serviscope_minor (664417) on Saturday May 03, @11:10PM (#23288478)
    I've never used the LPC2000, but I have used the LPC3180, and it is a fantastic chip. Clocked at 200MHz, it just outpaces the 415MHz XScale and uses 1/8 of the power. Oh, and it can do hardware floating point, and for that it outpaces the XScale by a factor of about 8.

  • by profdc9 (1283662) on Saturday May 03, @11:28PM (#23288582)
    The MiniOn is not intended to replace your oscilloscope or Gumstix. It is intended to basically turn an ARM7TDMI system on chip micrcontroller into a Basic-programmable webserver. There is only 32K of RAM on an LPC2148, which is not even enough to load GRUB, much less the Linux kernel. In this space I have used open-source libraries to place a functional TCP/IP stack, FAT filesystem for SD cards, a full-screen text editor, and a Basic language with a decent number of features. The LPC2148 is typically less than $10 and the ENC28J60 less than $4. Therefore the MiniOn can provide quite a bit of functionality with very few resources and with little money. And no, it was not solely my intention to plug Olimex or Futurlec boards, but they happen to be some of the cheaper alternatives out there that can run the MiniOn firmware. I hope to have my own board made at some point. The advantage of the MiniOn is that it allows you prototype your project easily, log data to a flash memory card, and control it remotely through the web.
    • Re:Hmm (Score:5, Informative)

      by RattFink (93631) on Saturday May 03, @04:44PM (#23286270)
      It is quite similar to a PIC. The metric of it being a processor or a micro is the level of integration of memory and peripherals on the device. I can't think of a single ARM7 on the market that doesn't have some program accessible memory and at least a few serial ports and GPIO pins.
        • American cars ARE like Indian cars. Ford, GM, and Chrysler all have plants in India, as do Toyota, Nissan, Renault, and many others... or are you thinking of this [wikipedia.org]?