From owner-freebsd-questions@FreeBSD.ORG Mon Jun 25 06:57:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAAAE1065680 for ; Mon, 25 Jun 2012 06:57:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 107AC8FC14 for ; Mon, 25 Jun 2012 06:57:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q5P6vgUw069464; Mon, 25 Jun 2012 16:57:42 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 25 Jun 2012 16:57:42 +1000 (EST) From: Ian Smith To: Warren Block In-Reply-To: Message-ID: <20120625152340.X46641@sola.nimnet.asn.au> References: <20120621083945.E87771065694@hub.freebsd.org> <20120622153224.I46641@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Modulok Subject: Re: OT: Robotics or embedded or hardware programming... what is this called? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 06:57:40 -0000 On Fri, 22 Jun 2012 06:47:48 -0600 (MDT), Warren Block wrote: > On Fri, 22 Jun 2012, Ian Smith wrote: > > > I thought I saw something somewhere (maybe just wishful thinking) about > > FreeBSD on the Arduino, which normally runs a sort of embedded Linux, > > that could be very interesting; the hardware is cheap (kits at Jaycar > > stores in Australia anyway), very modular design, and there are heaps of > > fascinating projects. I want the quadricopter to follow me around the > > room at parties - at my age I need something really impressive :) > > Well, there is devel/arduino. It's not emdedded Linux, but an IDE for > writing and downloading code. The Arduino is a small embedded controller > based on the Atmel AVR microcontrollers. They are quite powerful, easy to > program, and accessible for experimenters. You can skip the Arduino > environment if you like, using the same lower-level tools like avr-gcc > directly. And the Arduino board can be used as a programmer, downloading > code to plain AVR chips and avoiding the need for more Arduino boards. Talk > about the Arduino on FreeBSD is generally on the freebsd-embedded mailing > list. Thanks Warren. I got the wrong idea that Arduino ran an embedded Linux from a friend, a Linux-using Electrical Engineer, but not a programmer. I'd also (too) briefly glanced at www.arduino.cc and noted Windows, Mac and Linux references, and Linux binaries, but had no idea you had ported the GUI. Could you perhaps try pushing the FreeBSD port upstream to Arduino, so people can find out that it exists from there? I hope to explore further once I get 9.x running; this 8.2-R system is chokka, not enough remaining space for a JDK, nor even a JRE :) > The Microchip PIC microcontrollers compete with the AVR. There are some > FreeBSD ports for programming those, but there are many varying chips and the > hardware needed to program some of them differs. I don't know if there is > anything directly comparable to the Arduino IDE. ARM processors have become > so cheap that they are starting to compete in this arena also. I looked at PICs ages ago, but just wasn't enticed by their instruction set; as an old S/3[67]0 bod I've always fallen for the more orthogonal processors like the Signetics 2650 (hands up who's heard of that!), 680[59]/68K and more lately AVRs, Harvard architecture despite little- endianness. Not sure there's room left in my head for MIPS or ARM .. > > On the FreeBSD side there's advanced work, I gather, on ARM and Atmel > > MEGA 32-bit and MIPS platforms at least. Personally I consider these > > 'big iron' and far prefer writing in macro assembler for little Atmel > > Tiny25s and such, but that's strictly "Look Ma, no OS!" programming. > > Another option: the freebsd-wireless list has had some very interesting > traffic about the TP-Link TL-WR1043ND, a $50 MIPS-based wireless router with > Atheros 802.11n chipset, USB, and gigabit Ethernet which can run FreeBSD > directly. Not sure how usable it is at present. Interesting. I'm subs'd to wireless@ and embedded@ (previously small@) but obviously haven't been paying enough attention :) Thanks again. cheers, Ian