From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 06:38:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81681065792 for ; Fri, 22 Jun 2012 06:38:43 +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 041EC8FC15 for ; Fri, 22 Jun 2012 06:38:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q5M6ciIb019655; Fri, 22 Jun 2012 16:38:44 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 22 Jun 2012 16:38:44 +1000 (EST) From: Ian Smith To: Modulok In-Reply-To: <20120621083945.E87771065694@hub.freebsd.org> Message-ID: <20120622153224.I46641@sola.nimnet.asn.au> References: <20120621083945.E87771065694@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org 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: Fri, 22 Jun 2012 06:38:43 -0000 In freebsd-questions Digest, Vol 420, Issue 10, Message: 17 On Wed, 20 Jun 2012 19:54:27 -0600 Modulok wrote: > Sorry for the off-topic post. There are a lot of technically adept people on > this list, so I thought I'd try my luck here: On recent volcanic form, this scarcely measures on the OT scale :) > I want to get started programming for hardware. Motors, sensors, actuators, etc. > I have a programming background, (python, PHP, C++) but no experience with code > that drives hardware. (Motors, sensors, etc.) > > I *don't* want closed-source "kit robots" where the point is to build the robot > the book and thats it. I also don't want ladder logic-based PMC's. Some kind of > micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If > that's what I need.) Basically, I want to do stuff like "if input1() is True > then apply_voltage_on_output3()", etc. Build my own traffic light, coffee > maker, mars rover, automatic-plant waterer, whatever. Sure. Fun and potentially profitable stuff. Wish I had a spare life .. > What do you call this? Embedded programming? Generic hardware programming? > Robotics programming? Are there prefabricated, standard embedded boards and > hardware specs that play together like PC parts do? In short, I don't even know > where to start. Try browsing from http://lists.freebsd.org/pipermail/freebsd-embedded/ to see if that's of interest. Getting FreeBSD up on various embedded platforms is the focus there, but I've seen robotics references too. I see also, but haven't explored these (both look moderately busy): http://lists.freebsd.org/pipermail/freebsd-arm/ http://lists.freebsd.org/pipermail/freebsd-mips/ > Even general pointers to books/websites would be great. Once I know what it's > called I can google much more effectively ;) I think once you find a platform you're interested in, you'll google up a perhaps bewildering array of support websites and forums, with books to suit. For me it's about the processor instruction set and hardware functionality, but I gather you're looking for higher level language implementations, so you'll want to sniff and taste a few. 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 :) 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. cheers, Ian