Slashdot Mirror


MiniOn ARM Microcontroller Programming System

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."

75 comments

  1. Gumstix by JohnFluxx · · Score: 3, Interesting

    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

    1. Re:Gumstix by nog_lorp · · Score: 2, 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 alot like replying to the "Slackware 12.1 Released" topic saying "How is this different from Windows Vista, which has..."

    2. Re:Gumstix by belphegore · · Score: 4, Informative

      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.

    3. Re:Gumstix by ciroknight · · Score: 3, Insightful

      Meanwhile, Chumby 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.

      --
      "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
    4. Re:Gumstix by nog_lorp · · Score: 1

      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/SearchResult.aspx?PartNumber=LPC2141FBD64-S&SearchType=ByID&ManufacturerName=NXP) and a bunch of very standard components that should be cheap as hell.

    5. Re:Gumstix by JohnFluxx · · Score: 1

      Out of interest, what would the 'bunch of very standard' components be?

    6. Re:Gumstix by belphegore · · Score: 1

      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.

    7. Re:Gumstix by Anonymous Coward · · Score: 0

      The chip you have linked comes in a 64 pin qfp. So I assume you're gonna lay out a board, too- even if sweat equity is free this is a significant cost. Or you can do what it says on the txt file on the minion web page, and get yourself an Olimex dev board for $199. Nice piece of hardware, but the $5 chip argument isn't really the whole story.

    8. Re:Gumstix by hobbesmaster · · Score: 1

      I can barely solder surface mount resistors, let alone a 64 pin QFP! I think this would go for most people interested in this project.

    9. Re:Gumstix by Anonymous Coward · · Score: 0

      Oh come on, arm7 and arm9(and xscale) are way different beasts. Same goes for comparing pics and basic stamps with arm7.
      I personally prefer Atmel sam7 series over LPC as they have usb.
      See http://www.atmel.com/dyn/products/Product_card.asp?part_id=3524 for a good example.

    10. Re:Gumstix by nurb432 · · Score: 1

      "talking about the stuff on the board", while commendable isn't the same as open-sourced hardware.

      --
      ---- Booth was a patriot ----
    11. Re:Gumstix by Anonymous Coward · · Score: 0

      The overall LPC line includes many devices, many of which have USB.

      http://www.standardics.nxp.com/literature/other/microcontrollers/pdf/line.card.pdf

    12. Re:Gumstix by nog_lorp · · Score: 1

      Resistors, transistors, capacitors, etc. and the varietal female connectors you need.

  2. Hmm by Anonymous Coward · · Score: 0

    Why does one call a CPU "microcontroller"? The author speaks of the ARM7 as if it was something similar to a PIC...

    1. Re:Hmm by RattFink · · Score: 4, Informative

      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.

      --
      "I don't necessarily agree with everything I say." - Marshall McLuhan
    2. Re:Hmm by Anonymous Coward · · Score: 0

      That's like saying that an American Car is like an Indian car.

    3. Re:Hmm by camperdave · · Score: 1

      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?

      --
      When our name is on the back of your car, we're behind you all the way!
  3. This sounds like it might help by kickmyassman · · Score: 3, Informative

    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.

    1. Re:This sounds like it might help by Yvan256 · · Score: 1

      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.

    2. Re:This sounds like it might help by Scud · · Score: 2, Informative

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

      www.futurlec.com

      --
      I dream in binary.
    3. Re:This sounds like it might help by Televiper2000 · · Score: 1

      I would have to disagree. USB to Serial adaptors are fairly cheap and readily available on the market now. The voltages themselves aren't a problem since the vast majority of the level shifters available run on 5V or less and boost the voltage internally. I've also seen many Semiconductor companies providing USB and Ethernet solutions for their development kits. I have a development kit from Freescale that cost me about $100 and plugs directly into the USB port. I'd say my biggest barrier to developing embedded systems at home is the lack of an oscilloscope. Switching LEDs on and off doesn't excite me.

      --
      New! Device Legs: These legs will help your poor OEM installed product escape any hamfistedness it may encounter. Ava
    4. Re:This sounds like it might help by Rac3r5 · · Score: 1

      thanks for the link. their components are very decently priced.

    5. Re:This sounds like it might help by JohnFluxx · · Score: 1

      So, what does a via do, what is ground bounce, and how do you measure it? :)

    6. Re:This sounds like it might help by LordMyren · · Score: 1

      > 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 programmer is people who dont realize USB RS232 adapters are $8.

    7. Re:This sounds like it might help by Concerned+Onlooker · · Score: 1

      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 the Mac through USB, made by Murat Konar. The MiniOn system looks like a welcome addition with the ability to program through a web browser and using inexpensive microcontrollers.

      --
      http://www.rootstrikers.org/
    8. Re:This sounds like it might help by Anonymous Coward · · Score: 0

      Most modern embedded processors can be programmed without JTAG. LP2xxx ships with a bootloader in embedded flash, at91sam7 (ARM7) and EP93xx (ARM9) have a masked ROM.
      But, after all, a JTAG programmer with LPT interface can be built from one logic IC (1-2$) and handful of resistors and capacitors ( http://www.xilinx.com/support/programr/files/0380507.pdf )

    9. Re:This sounds like it might help by cbart387 · · Score: 1

      Indeed, but that doesn't address the problem of most embedded development being Windows-centric, the Arduino being an exception. I find that most curious. I found that Linux distros (Fedora in my case) makes serial connection absurdly easy with udev in comparison to Windows. I assume the other UNIX-like systems (like Mac) have something similar?

      I've been goofing around with Basic Stamps, largely because there is a really nice piece of software for programming it from the Mac through USB, made by Murat Konar. I've had good experiences (brief though) with working with the AVR micro-controllers from Atmel.
      --
      Lack of planning on your part does not constitute an emergency on mine.
    10. Re:This sounds like it might help by kickmyassman · · 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 adapters and neither of them can power my JDM programmer. And while certainly there are such solutions (http://www.sparkfun.com/commerce/product_info.php?products_id=460) you need to know where to find them, which is hard when you're getting started.

      When I say cheap programmers I mean ones in the $20 range. A $100 programmer that works via USB is a pretty huge investment for someone like myself a year ago (when I got started in embedded programming work) and had no idea if I was going to be successful. What will measure the success of MiniOn is to provide a cross-platform, cheap ($75 or under) solution to the problem.

      And yes, oscilloscopes are wonderful, and I'd really love to have one, but if you can't develop without one you're probably in the wrong field.

    11. Re:This sounds like it might help by cheater512 · · Score: 1

      The Arduino http://www.arduino.cc/ is great for that.
      Plug USB in and start programming in dead simple C.

    12. Re:This sounds like it might help by Televiper2000 · · Score: 1

      I can't develop without an oscilloscope because I design HARDWARE for embedded systems, not SOFTWARE for tiny PC like things. The microchip is just an interface for me.

      --
      New! Device Legs: These legs will help your poor OEM installed product escape any hamfistedness it may encounter. Ava
    13. Re:This sounds like it might help by Matt_Bennett · · Score: 2, 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. Poor design causes excess ground bounce, which is a real problem for high speed/ (which ends up being) high current design. Ground bounce happens because anytime you have current flowing across a resistance (impedance), you get a voltage (Ohm's law).

      If there is a resistance on your ground pin, that causes a voltage on the trace leading to the ground- if the resistance/impedance there is large enough, it is like adding a transient voltage in your ground line- which screws up the ground reference for your whole chip.

      In summary, what this means, at high speeds, the traces on a board are no longer 0 ohm, 0 length wires- they are transmission lines, and have to be treated as such. Many people designing with the parts that go at these real high speeds do so in ignorance of high frequency design, and end up with really screwed up circuits and then they probe it with a 20MHz scope and don't see a problem- and then blame the parts that they put down, when it is their own really poor design and ignorant use of their own tools... ok, maybe I'm putting out some of my own frustrations, but design with high MIPS parts is definitely not trivial, and when you get a 'low cost' product, you can often get what you pay for- and quality is often seen in electronics by the lack of problems- and people don't laud the high quality of a product nearly as loud as they complain about the lack of quality.

    14. Re:This sounds like it might help by Televiper2000 · · Score: 2, Insightful

      Ground bounce is also a problem in lower frequency designs with large asynchronous buses and mixed-signal systems. I've had a few experiences designing amplifiers (for driving motors) and with buses operating below 100MHz. I guess the point of sig is that it's a significant consideration in any hardware design, that is by contrast unknown, or taken for granted by those outside the field. At the moment my main aggravation with vias is real-estate. It's amazing how much space those little buggers take up.

      The classic is still the guy who thinks he's smart when he connects 4-feet of wire between his power supply ground and the scope ground. Then they think they're problem is all the over shoots and signal noise they're seeing on the scope.

      --
      New! Device Legs: These legs will help your poor OEM installed product escape any hamfistedness it may encounter. Ava
    15. Re:This sounds like it might help by JohnFluxx · · Score: 1

      So... basically you end up waiting ages for a bus and then two come along at the same time?

    16. Re:This sounds like it might help by Alioth · · Score: 1

      Atmel's AVR micro is very easy to program. I used an old printer lead, cut the end off, and four 1K resistors to make my AVR programmer - essentially free. It would be very easy to make an AVR programmer using a USB chip such as the FTDI FT245R.

    17. Re:This sounds like it might help by Alioth · · Score: 1

      If you're developing software, yes, you don't need a scope.

      But if you're developing hardware (i.e. not taking someone else's pre-made modules, but making your own PCBs, designing your own circuits etc.) an oscilloscope is an essential piece of hardware.

    18. Re:This sounds like it might help by kipman725 · · Score: 1

      20MHz TTL level signals don't require anything special as I have built projects on breadboards with connections spanning the legnth of multiple boards carying 20Mhz clock signals and 10MHz clocked delta sigma modulated bitstream. I would aggree though that I would probobly use a PCB for anything faster than that.

    19. Re:This sounds like it might help by Matt_Bennett · · Score: 2, 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 your signal may just be "20MHz", since you're talking about a clock signal, you've got harmonics and lots of them. It is those harmonics that get you into trouble- you can take that bitstream and look at it with a 20MHz scope and it will look *great*, but check it out with a 1GHz scope and it will look like an ungodly mess. Yes- it may work- but if it does, chalk that up to a good design from the Silicon manufacturer.

      There is no magic frequency for which a PCB is good enough and a breadboard is overkill, unfortunately. It depends on what you're trying to do, the parts you're using, and the environment you are doing the design for.

      There is a ton of cool stuff you can do, but when things don't work, have a back-up plan- and for me, that back-up plan is additional knowledge from sources I can trust, people I know, books, and then, way down the line, is slashdot...

    20. Re:This sounds like it might help by kickmyassman · · Score: 1

      Yes, I understand that you're developing for hardware, as I do as well (albeit as a hobbyist, not professionally). I guess I haven't developed a circuit that I haven't been able to debug without the use of a multimeter, blinking LEDs, and the occasional use of a Serial connection on a PIC to report back to a computer what the heck is being transmitted where.

      Though I guess that's a lot more time and effort to debug than it would be with an oscilloscope, but if you're not developing something really huge than it's feasible to do so.

    21. Re:This sounds like it might help by kickmyassman · · Score: 1

      I understand that this is for people who are developing their own hardware (I don't quite like how you insinuate that I don't know what developing hardware means, I'm not an idiot), but I still think that it's really only useful, not always necessary. The kind of circuits people will be building at entry levels are going to be circuits that can be debugged with blinking LEDs and serial connections. Yeah, it takes more effort, but if you're motivated, you can do it.

  4. Re:forum by Anonymous Coward · · Score: 0

    You could get a job writing comedy for the BBC.

  5. Oscilloscope by evanbd · · Score: 2, Informative

    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.

    1. Re:Oscilloscope by Doctor+Memory · · Score: 2, 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 $25 for mine, with a half-dozen or so plug-ins).
      --
      Just junk food for thought...
    2. Re:Oscilloscope by evanbd · · Score: 1

      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 predecessors. The dual-trace alternating mode (3A72 amplifier) was certainly a selling point. But the features I mentioned -- properly compensated input, gain-selectable input amp, modest bandwidth -- were hardly new, unless I'm mistaken. The amplifier I have is actually only 650kHz, but I believe there were a variety of faster plugins available if you needed bandwidth.

      I believe all the tubes are original. I've replaced some of the electrolytics and a couple pots. There are a couple switches that need replacing, along with something in the square wave generator -- or maybe the switch contacts just need cleaning; I haven't taken the time to debug it thoroughly yet. My favorite feature? The note, right next to the high voltage warning, cautioning the user to only use appropriate silver-bearing solder on the terminals, with accompanying roll of silver-bearing solder. Now *that* is a feature you won't find on any modern scope, no matter the price.

    3. Re:Oscilloscope by Doctor+Memory · · Score: 1

      561A...introduced the ceramic strip construction techniques Hmmm, I was under the impression that all of the early Tek scopes used ceramic strip construction (the 310 used PCBs, but Tek returned to ceramic strips for the A revision). The 561 is a pretty early scope, though, so it wouldn't surprise me if it was indeed the first.

      But the features I mentioned -- properly compensated input, gain-selectable input amp, modest bandwidth -- were hardly new, unless I'm mistaken Those features weren't new, but scopes that properly implemented them were rare. Tek was far and away the premier scope maker for many years. Their contemporaries (Dumont, et. al.) provided scopes that gave a picture of what was happening in a circuit, but Tek scopes were actual instruments that could be used to obtain measurements. It really wasn't until HP started making test equipment that Tek really had any competition.

      I believe there were a variety of faster plugins available if you needed bandwidth. Yeah, one of the best features — if you need something specialized, there's probably a plug-in for it. I've got a Type O that has two (tube!) op amps with their input and feedback impedances selectable from either the front panel or an external source. You can implement integrators or differentiators and display the results. That's what the manual says, anyway, I've never had a need to use it.

      Now *that* is a feature you won't find on any modern scope, no matter the price. I love the manuals. Even something as complicated as the 547 has complete schematics in the back. I think I've learned more "real world" engineering by reviewing those circuits than I have from books. Of course, I don't have any formal engineering training, so I have more to learn than a real EE...
      --
      Just junk food for thought...
    4. Re:Oscilloscope by kipman725 · · Score: 1

      I second your comments about scope I ended up buying a 35year old analog one instead of a new digitial one because the analog one had 1mV/Div twin channels. 4 coupling modes and lots of different trigers. I also ended up spending about the same in two probes as for the actual scope which is something people often mistakenly skimp on.

    5. Re:Oscilloscope by evanbd · · Score: 1

      What model? So far, for the majority of the work I do, 1mV/div is one of the few features I'd pay for. More bandwidth would also be nice, but I've been continually amazed at how much I can do on 650kHz. Of course, when you actually need the more bandwidth, you simply can't fake it -- but there are ways to deal with not enough sensitivity.

    6. Re:Oscilloscope by kipman725 · · Score: 1

      Philips PM3232 not to sound like some outdate product venodr of some kind but the trace is ultra stable and sharp aswell.

  6. Well done, dude by Ethan+Allison · · Score: 1

    Seriously, that's some pretty awesome stuff. :D

  7. This is a product placement Advertisement! by SlashWombat · · Score: 1

    Wow ... Great ... But this sort of thing has been available for ages from several vendors! And at reasonable prices as well!
    See http://www.olimex.com/dev/index.html for a list of various processors supported!
    I have used Olimex boards in the past. Not a bad way (and cheap!) to jump start a project!

    A quick Google search will find many other vendors of cheap prototyping kits from many different companies. (Although ... many are reselling the OLIMEX stuff.)

    Mind you, the source is from a country that may scare your average paranoid homeland security guy.

  8. Awesome!!! by Panaflex · · Score: 1

    I've been looking for something I could teach my kids with. I want them to have a real understanding of computers, but don't want to shell out 1000 bucks.

    It would be nice to have a tv our or lcd out... perhaps that would be a good side-project?

    Thanks!!

    --
    I said no... but I missed and it came out yes.
    1. Re:Awesome!!! by profdc9 · · Score: 1

      I think that controlling a simple LCD display like the HD44780-based LCDs would be very simple from MiniOnBasic. More complicated displays are also doable, but the transfer of data might be a bit slow bit-banging from MiniOnBasic and therefore might be better suited to adding extra Basic commands in C. One reason I used WinARM is to make it so that the tools are readily available to do this. One motivation for using the web interface is that the web interface itself can somewhat replace the need for an LCD as long as a computer is available. Certainly LCDs are nice but having a built-in simple interface such as the web is a convenient starting point.

  9. LPC2000? by serviscope_minor · · Score: 3, Interesting

    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.

    --
    SJW n. One who posts facts.
    1. Re:LPC2000? by profdc9 · · Score: 1

      The LPC2000 series is an ARM7TDMI-based processor with some on-board memory (8k to 64k), many parts with a low pin count, and many on-board peripherals include D/A, A/D, PWM, etc. The LPC3180 is a much meatier processor with ARM9, an external memory interface, and also lots of peripherals. The development kits of this seem to be quite a bit more expensive, and probably more than the average hobbyist needs. Even the ARM7TDMI seems to be a bit overkill given the prevalence of the PIC, but the ARM7TDMI processors are becoming cheap enough to be good alternatives to the PIC and AVR. I am sure that in some point in the future microcontrollers that can run Linux, especially without any support chips such as external flash or SRAM, will become sufficiently cheap as to make a solution like the MiniOn obsolete. Until then, something that can run in 32K of RAM is helpful I think.

  10. The intention of the MiniOn by profdc9 · · Score: 4, Informative

    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.

    1. Re:The intention of the MiniOn by ahfoo · · Score: 1

      Hey thanks for posting on the prices. I tried to ask about that yesterday and this machine died but here's the answer anyway. Thanks. That's cheap enough for the chip, but by comparing it to the Arduino then board specs become a big deal because that's one nice thing about that project is they have a lot of board info and that QFP packaging is kind of a drag. In some ways a BGA would be more friendly but either way it's a relatively large obstacle for a hobbyist. The nice thing about AVRs is you can get a DIP and just stick it straight into a breadboard. Now that's beginner level and the price is right.

      I've been looking at a DAQ design from a few years ago featured on the Atmel web site. It requires a few external chips, but the uC is an 8051 which I can buy at the store for six bucks and comes in a through-hold DIP package.

      I'm curious about the CAN bus on this thing though. Are you planning any projects that use it?

    2. Re:The intention of the MiniOn by profdc9 · · Score: 1
      Regrettably, one big disadvantage of the ARM processors for hobbyists is that they are not available in a convenient DIP package. Though they are inexpensive, they are obviously oriented toward consumer electronics and not hobbyists. This said, NXP seems to offer excellent documentation making it relative easy for someone like me to figure out how to use it, especially when one reads over old posts on the Yahoo LPC2000 newsgroup.

      Certainly Microchip and Atmel/AVR are very hobbyist friendly and it shows because many hobbyist designs choose to use them. It would be ideal if NXP came out with a DIP40 version of LPC2106, for example, but I am not holding my breath.

      If one can buy prefabricated electronics, FBD64 is really not a problem at all. I hope that at some point I can have a board fabbed for this purpose. Having a FBD64 package is only a problem if one is trying to use hobbyist-level tools to assemble a board.

      I do not have any current plans to use the CAN bus, but the LPC2119 has CAN peripherals (and the ARM Stamp from Futurlec is less than $30 and has CAN). This has quite a bit more horsepower than a typical 8051, but not everyone needs ARM-level performance for their projects.

    3. Re:The intention of the MiniOn by ncc74656 · · Score: 1

      QFP packaging is kind of a drag. In some ways a BGA would be more friendly

      How do you figure that's the case? With a sufficiently small soldering iron and some flux, a QFP isn't that difficult to hand-solder. To work with BGAs, you have to either send them (and your boards) out to someone with a reflow oven or try to rig a reflow oven of your own (supposedly you can convert a toaster oven for this purpose, but its performance can be hit-or-miss). To rework a board with QFPs, you can get by with some ChipQuik. With BGAs...?

      That's not saying that BGAs don't have their place, but they're not exactly the easiest components to deal with on a hobbyist scale.

      --
      20 January 2017: the End of an Error.
    4. Re:The intention of the MiniOn by ahfoo · · Score: 1

      Yeah well neither one is anything close to a through-hole dip in terms of hobby level use. The thing with the BGA is that while it's a pain in the butt to set up an oven, once you do that you have a a lot better chance of getting clear success or failure and if you get a failure you can try again. With spider legs it's like who knows which one of those dudes is the culprit when something goes wrong. If you're good at it then be all means stick with what works but with BGA you get the magic of surface tension and you can basically see when it's working and get a good guess if it was successful.

      I personally have never mounted a BGA on my own at home so far and I wouldn't bother with QFP. If I can't get a through-hole piece then basically it's not for me but I have a friend who does BGA regularly and I've watched him mount a few. It's cool when they slide into place and it's a nice clean looking mount. I'd like to set up my own oven at home but it does seem like a lot of hassle.

    5. Re:The intention of the MiniOn by Anonymous Coward · · Score: 0

      To profdc9:
      MiniOn is just what I am looking for. I am in the process of doing some pcbs, one with a LPC2148 and ENC26J60 just to get started, but eventually hope to port it to one of the Lumunary parts with the embedded ethernet controller. While finishing the pcb design I have been attempting to make Minion compile and run with Borland C 5.5 on a PC so I would be able to try it before my boards get done. I have basicly replaced all hardware specific calls with printfs, getch or dummys. It compiles without error but I am still working on figuring out how to replace the flash read and writes of the tokens with file I/O. Have you done anything in this area? I also would like to offer a free pcb to you when they are finished to reward you for all of the work you have already done.
      evers012@yahoo.com

  11. Re:forum by Starky · · Score: 0, Offtopic
    Would someone who has the ability to do so be so kind as to remove this comment. It is entirely off-topic and puerile in the most unflattering sense of the word.


    Whoever posted this needs to get out of their darkened basement, acquire an additional 10 years or so of maturity, and look into what is commonly known as a life. It's just so sad.


    --
    -- My choice of computing platform is a symbol of my individuality and belief in personal freedom.
  12. Re:forum by thetartanavenger · · Score: 1
    --
    Who need's speling and grammar?
  13. A better ethernet interface by Alioth · · Score: 1

    I would not have chosen the ENC29J60 for this project, rather the Wiznet W5100 (or perhaps the W5300). The W5100 provides a built in TCP/IP offload engine (although you aren't forced to use it, it allows access at the MAC level) as well as the choice of SPI or a parallel bus (so if you need performance you can use the parallel bus rather than SPI). It also has a pretty decent amount of buffer memory (and you don't have to use up space in your microcontroller's flash memory for a TCP/IP stack).

    http://www.wiznet.co.kr/pro_iin_W5100.htm

    1. Re:A better ethernet interface by profdc9 · · Score: 1

      For a processor like the LPC2000 handling an IP stack (especially uIP which is very tiny) is no problem and is not much of a consideration when choosing a MAC/PHY chip for this purpose. The SPI interface can transfer up to 20 megabits/sec, which is sufficient for 10base-T ethernet. If I was building a router or a network attached server, I would certainly not choose an ENC28J60 or a Wiznet. But for low speed applications the ENC28J60 is fine. In the future, processors such as the LPC2388 and the Luminary Micro Cortex-M3 have built-in ethernet and therefore would be the best choice because the integration favors a lower cost as well as better performance.

  14. Data collection by eap · · Score: 1

    I know nothing about embedded systems. Would it be possible to interface this with a 1-wire bus to monitor environment sensors?

    1. Re:Data collection by profdc9 · · Score: 1

      Currently I do not have commands in the MiniOnBasic language to implement the one wire protocol, though you might be able to bit-bang this if speed is not an issue. In the future, I would like to get I2C working as well as the match/capture features of the chip. And of course, the source code is available for WinARM is you would like to take a go at it yourself.

    2. Re:Data collection by ncc74656 · · Score: 1

      Currently I do not have commands in the MiniOnBasic language to implement the one wire protocol, though you might be able to bit-bang this if speed is not an issue.

      Bit-banging 1-Wire works for me on an Apple II, and the code (a mix of C and 6502 assembly) doesn't take up much space. If bit-banging works on a 1-MHz 6502, it ought to work on nearly anything.

      --
      20 January 2017: the End of an Error.
  15. Aw. BASIC? by sp1nm0nkey · · Score: 1

    I really hate to say it, but basic on micro controllers has been done way way way too much. I think it would be far more appealing if you could write a small JVM for it (pretty easy), or have the user write their programs in C where the firmware serves as kind of a network bootloader, and you release the tcp stack and web server stuff as a library.

  16. Yes, but how much does it cost? by tyler_larson · · Score: 1
    The nice thing about the arduino environment is that once I come up with a design for some device, the core system only costs about $4 to replicate, plus any additional application-specific hardware. Plus, all the tools (even the vendor-supplied developer environment) are free. As far as barriers to entry are concerned, it doesn't get much lower.

    Obviously more complexity means more expensive, but how does this system compare, as far as what you get for what you pay, to the best of what's already out there?

    --
    "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
    RFC 1925
  17. Re:forum by nodonn · · Score: 1

    ... and while it doesn't, the quality of the site will remain a victim to internet marketers who are building up their page rank. Follow the links and you will find it's a trail, offsite.

  18. Lego Mindstorms too by EmbeddedJanitor · · Score: 1

    The Lego NXT is very open. Accessable scematics, and firmware as well as an independent open source firmware (see http://lejos.sourceforge.net/ ). In true OSS fashion, the Lejos firmware has also served as a springboard for other alternative firmware too.

    --
    Engineering is the art of compromise.
  19. Re: by clint999 · · Score: 0

    Would someone who has the ability to do so be so kind as to remove this comment. It is entirely off-topic and puerile in the most unflattering sense of the word. Whoever posted this needs to get out of their darkened basement, acquire an additional 10 year