3 ms·
What about the opposite end of the spectrum? Say I'm comfortable with avr-gcc and I took half of an electrical engineering major in college: what environment
by jrockway 16y ago
What about the opposite end of the spectrum? Say I'm comfortable with avr-gcc and I took half of an electrical engineering major in college: what environment and hardware should I use instead of Arduino?
(I've looked at the AVR stuff on sparkfun before, and it is expensive and crappy compared to Arduino. I've built stuff with the Teensy. But I really want the ability to cheaply "mass produce" if necessary, but don't want to build everything myself.)
- angusgr 16y agoOne environment you might want to try is MHVLib http://www.makehackvoid.com/mhvlib http://www.makehackvoid.com/mhvlib - an efficiency oriented C++ library for AVR microcontrollers with a fair amount of out-of-the-box functionality. (Disclaimer: it was developed by fellow Hackerspace co-founders, however I personally haven't used it for anything yet in my hobby projects. To date I've either used Arduino for its fall-off-a-log simplicity, or plain avr-libc for simple Teensy programs. The one time to date I have been pressed for performance I just included some inline AVR assembly code in my Arduino sketch. But I'm a microcontroller lightweight.) I really want the ability to cheaply "mass produce" if necessary, but don't want to build everything myself If you want to actually mass produce a finished product from a development board prototype (Arduino, Teensy, whatever) then you'll probably want to prototype first, then redesign your own board around an appropriate AVR chip and get the board fabbed (probably through a few iterations.) IMHO this means you can use pretty much any development board in the prototyping stage.
- fleitz 16y agoThere aren't any easy answers with out first knowing the volume you'd potentially want to scale to and the end cost of the hardware. If you want to produce consumer devices there is the whole headache of molding etc. I'd honestly focus on making something cool with arduino (think ruby) and then when you need to mass produce go create custom PCBs. (think C++) The nice thing about the current environment is that kickstarter LOVES hardware projects, so you could quite likely crowdfund the scaling of your design.
- bigiain 16y agoIf you want to use avr-gcc and emacs(or vi) & unix as your "environment", there's nothing to stop you doing that and still using Arduino hardware - it's just a ATmega328 on a board with a bunch of required/useful stuff (clock, power regulator, usb, handy "breakput" pins...), which happens to have a bootloader which you can ignore. If you're interested and capable of writing your own gcc compiled executables into the chip, you can do so, and for some of us, the ease of not having to "set up" the supporting hardware for the microcontroller is a great advantage. There are alternatives if your idea requires more "whatever" than an AT328 (or a Mega2560) there are lots of other (perhaps less well known) options, but consider using the Arduino hardware when it's suitable, even if you don't want the "handholding" of the Arduino IDE. (Or, like me, let the ease of use that "handholding" gives you allow you to significantly lower the bar of entry to trying out random crazy ideas - I'll often grab an arduino and plug in some sensors/leds/servos/whatever, and sit on the couch in the evening seeing is a crazy idea is likely to work, rather than just thinking about it and never trying anything out...)
- bigiain 16y agoHeres a project I read about recently that uses a Parallax Propellor to get high speed multi core computing out of a micro controller project - I'll probably give one of these a whirl if/when I need more cpu horsepower than I can get out of the regular line of Arduino hardware: http://scanlime.org/2011/04/spdif-digital-audio-on-a-microcontroller/ http://scanlime.org/2011/04/spdif-digital-audio-on-a-microco...
- pygy_ 16y agoYet another suggestion: the teensy, which has similar specs, but a smaller form factor, native USB support (last time I checked, Arduino used a USB - RS232 adapter), and more pins (for the teensy++ version). http://www.pjrc.com/teensy/ http://www.pjrc.com/teensy/ A drawback is that the form factor isn't compatible with the Arduino shields (hardware extensions).
- inoop 16y agoI use Eclipse and CDT. Really comfortable although Eclipse has a bit of a steep learning curve. As for hardware, you'll have to be more specific about you want to do with it. edit: now that I come to think of it, have a look at http://code.google.com/p/micropendous/ http://code.google.com/p/micropendous/. I don't know why not more people use USB for microcontroller programming. It's a really easy system to work with and you support more hardware over USB than through Arduino shields and at a fraction of the cost. Bluetooth, Ethernet (CDC), keyboards/mice, and Audio devices can all be picked up from places like dealextreme for mere dollars (including shipping:), and the protocols are all well-documented standards.