Raspberry Pi Gertboard In Action 191
An anonymous reader writes with news from Geek.com on an expansion board for the Raspberry Pi. Quoting: "In the middle of December last year the Raspberry Pi Foundation made a surprising announcement that not only would we see the $25 PC released in 2012, it would also be getting an expansion board ... called the Gertboard, and is being developed by Broadcom employee Gert van Loo in his spare time. When completed, it will allow Raspberry Pi owners to play around with flashing LEDs, electric motors, and a range of different sensors. It effectively takes the $25 Raspberry Pi beyond just being a very cheap PC. There's a video of the Gertboard already working which demonstrates the 12 LEDs being lit up and the board powering an electric motor more than capable of lifting something like your garage door."
Neat! (Score:5, Funny)
Take that, Arduino.
Re:Neat! (Score:5, Insightful)
They have 13$ arduinos... That said, I prefer a Linux machine that can run python, java, apache and everything and then just talk to some IO library or something to take care of moving motors etc.
But that's because I am a software guy....
Re: (Score:2)
Certainly makes it a lot simpler for the script kiddies to help you make use of your Pi/Gert, eh?
I'm much more interested in Arduino for blinkenlights. All sorts of gizmos out there to Wifi your video to whatever, like wallwart PCs. And they are no more or less secure than the distro they got running.
Of course, for $25-50, you can cheaply find out you don't care to code securely after all, unless you are already, in which case this is cheap cycles for ya. Wax on...
Re: (Score:2)
They have 13$ arduinos.
If you're making more than one device you can go even cheaper if you just buy a bare ATMega328 + a couple of cheap components. Granted, you also need a USB to TTL cable which is another $20 or so, but you only need one of those.
Re: (Score:2)
http://www.ebay.com/sch/i.html?_nkw=nokia+ca+42+cable [ebay.com]
Re:Neat! (Score:4, Informative)
Model B owners using networking and high-current USB peripherals will require a supply which can source 700mA (many phone chargers meet this requirement). Model A owners with powered USB devices will be able to get away with a much lower current capacity (300mA feels like a reasonable safety margin).
model-A is damn close to 1 watt Re:Neat! (Score:4, Informative)
While the gp will have to account for the efficiency of their power supply as well, I'm pretty impressed w/the rPi. It looks really cool. Here is a nice nice overview [raspberrypi.org], the power-suppy section links to the parent's "archives/260" reference.
From http://www.raspberrypi.org/archives/260 [raspberrypi.org] Model B owners using networking and high-current USB peripherals will require a supply which can source 700mA (many phone chargers meet this requirement). Model A owners with powered USB devices will be able to get away with a much lower current capacity (300mA feels like a reasonable safety margin).
Re:Neat! (Score:5, Funny)
Yeah, programming under Linux is way easier then programming an Arduino...
Re: (Score:2)
Did you forget to escape your sarcasm tags or something? It's much easier to let someone else handle all the I/O for you and you just pull in libraries to perl or python or what have you.
Re: (Score:3)
Did you forget to escape your sarcasm tags or something? It's much easier to let someone else handle all the I/O for you and you just pull in libraries to perl or python or what have you.
http://qt.gitorious.org/qtonpi [gitorious.org]
Re: (Score:3)
It's much easier to let someone else handle all the I/O for you and you just pull in libraries to perl or python or what have you.
It's much easier to not have to learn an entire operating system, command line, compilers, etc., just to flash a few LEDs.
Re:Neat! (Score:5, Informative)
Arduino programming language (Processing) is very similar to Python or interpreted C.
No, arduino programming is NOT very similar to python at all. Its not even close.
Arduino's native programming languages are C, C++ (with some limitations), and AVR assembler. That's it. The confusion comes from the fact Arduino purposely attempts to obscufate the fact you are using realatively low level languages behind a nice, high level API. None of these are close to python.
When I first started using Arduinos, it took me a week before I figured out the imaginary "script language" everyone talks about, which I could never seem to find, doesn't actually exist. Its completely imaginary. Its 100% marketing and obscufation for C and C++.
Re: (Score:3)
This should be informative. Wiring (that Arduino uses) is just a C++ framework. You can of course use it and pretend you have something "simple", but it's really not, and once you hit a compiler error, you better knew C++.
Alternate AVR Runtime (Score:3, Informative)
Re: (Score:2)
Yep, whenever I try to run something written in Python I always seem to have the "wrong version" installed. Then when I get the "right" version the library I want to use doesn't work with it.
Arduino isn't perfect but I can grab any piece of code off the web and be fairly sure it'll work.
Re: (Score:3)
On the other
Re: (Score:2)
On RPi you will be just able to:
echo "value" > /sys/class/gpio/...
Re: (Score:3, Insightful)
You know, to set the value of a GPIO pin on an Arduino you just make a single call to digitalWrite(). To trigger a stepper motor you have to toggle the pin's value, which requires (gasp!) two calls to digitalWrite. The equivalent under Linux involves opening the GPIO device file and making multiple read and write calls. For anyone who's ever run a stepper motor using an Arduino the overhead involved in all that boggles the mind. Really, ease of access to the GPIO pins is the least of your considerations whe
Re: (Score:3)
Probably not. The CPU in the Pi is much more powerful than the Arduino.
Throw in that the PI has a Keyboard and HDMI out as well and things change a bit. With the Arduino you must have PC to program it. With the Pi you just need the Pi with a keyboard and monitor.
So lets say you wanted to make a video game with some custom controllers, the Pi would be a much better solution.
If you want to make a small weather station that runs on solar power and talks over ZigBee or even a low power HAM radio link with mors
Re: (Score:2)
Probably not. The CPU in the Pi is much more powerful than the Arduino.
So? How much CPU do you need to flash some LEDs, open the garage door, or whatever?
(PS: There's ARM based Arduinos...but that's another price level so I'll leave them out of this)
So lets say you wanted to make a video game with some custom controllers, the Pi would be a much better solution.
OK, I'll give you that one. The Arduino's video output is a weak point.
Re: (Score:3)
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
Or just shut the water off while you're on vacation.
Re: (Score:2)
My neighbors toilet tank cracked while he was on vacation.
The secret is to close the main valve when you lock the house up...
Re: (Score:3)
save more energy than they cost.
Ever pay a contractor to run a wire?
Re:Neat! (Score:5, Interesting)
Suitably motivated geeks, with some major time and pains, and more money than they initially expected to shell out, will indeed hammer out home automation systems. Fundamentally, home automation is a series of really-not-all-that-ghastly problems in AC wiring, switching, sensors, and logic. It will be utterly non-inter-operable with anything else(save perhaps the geek's cellphone of choice, for which he will build a website/app, and possibly an appliance or two into which he will hack directly. Nothing else.)
Joe User, on the other hand, will discover that specific home automation products(eg. cheap programmable thermostats) can be purchased at any hardware store; but more sophisticated systems either pretty much suck, enough that they are really just starting parts for dedicated geeks(eg. X10), or can be purchased, from an installer, in one big, shiny, expensive, bespoke, proprietary package. It'll start at $10,000, be really slick, and interoperate with absolutely nothing that isn't itself.
The various utility companies attempting to deploy "smart meters" for some combination of PR, easier meter reading, and customer behavior metrics will utterly ignore this, since it doesn't comply with their alphabet soup of semi-open-for-interoperability's-sake-but-not-at-all-talked-about-outside-the-industry-or-intended-for-you-to-know-anything-about wireline and wireless protocols(their status seems rather analogous to the state of various 'standards' in the wireless telco wars. Some of them are just totally proprietary, dreamed up by some company large enough that its service area qualifies as a large scale deployment. Others, GSM-like, are standardized cross-industry things; but are really not intended to be fiddled with by end users.
All in all, no difference:
There will still be nothing resembling manufacturer support for appliances that can report and control intelligently(as opposed to just having an external relay cut them on and off, with the exception of a few horrible manufacturer gimmicks that will probably be badly broken and tied to some manufacturer 'portal'. Geeks will continue to homebrew functional, if slightly rough, systems; and it will still be possible to buy very shiny, tightly integrated, totally proprietary widgets for large buildings and custom installs of various sorts.
What dogs 'the automated house' seems not to be a lack of cheap computing power(wireless and fast CPUs certainly helps; but ASM coded PICs communicating over some primitive serial bus through your house's telephone wiring back in the late 80's could have handled it, with some sort of frontend/master-control widget similar to the x86/DOS based CNC machine control systems that persist to this day. Expensive? Yeah. Doable? Yeah.) It seems to be a combination of limited incremental benefit(power just doesn't cost that much, in many locations, doing it manually works OK, for most tasks, setup is currently complex, many locations charge residential customers the same for on and off peak power, so who cares?), complete lack of anything resembling standardization(minimal standardization of even simple things like remote control switches, never mind any sort of direct intelligence built into appliances that can be exposed. PCs have it, in a somewhat clusterfucked way, with ACPI; and some individual devices, like higher end furnaces, might have a manufacturer specific control panel on an HTTP server somewhere; but everything else is largely silent), and some degree of sinister intent by certain entities(the intentions of the power-rationing, 'consumer-metric'-gathering, and similar 'smart-meter' entities are largely not in your interest...)
It's a pity: If it were a primarily technological problem, technology would have curb-stomped it by now. It isn't.
Re: (Score:2)
I'll say it again:
Ever pay a contractor to run a wire?
My last call to a "professional Licensed electrician" got me a fairly reasonable quote of $150 to run a wire from the breaker box through the attic to a new hot-tub installation. Then I asked him to make it 10 gauge instead of 12, and the quote increased to $250, when a box of 10 gauge wire that would make the run only cost about $30 (and the 12 gauge cost about $25).
Now, take these same guys and hand them a drawing that involves more than 3 types of co
Re:Neat! (Score:4, Informative)
I used to be an electrician, but then I took an arrow to the knee. Just kidding, a bone tumor broke off, caused an false aneurism, and doctors played copay ping pong with me for a month. I was left unable to work due to nerve damage.
But before that, I used to work with 14 gauge wire, 12 gauge wire, and 10 gauge wire. It is significantly harder to route 10 gauge wire. Even more so if you already have insulation and drywall up. Perhaps things will be different with the 10 gauge equivalent graphene wire gets mass produced at a reasonable price, but until that day you'll need to accept that electricians will charge you extra for the inconvenience of having to deal with 10 gauge when 12 gauge probably more than met the hot tub's requirements.
Re: (Score:2)
My particular hot tub was right at the limit of current and distance where 12ga was "acceptable," rather than pay the $100 premium, I routed the wire myself, so, I well know how stiff it is. In my particular circumstance (big attic, bathroom wall still open, breaker box pretty reasonable to access), it might have been an extra 15 minutes effort to wrestle with the thicker wire.
If the electrician just didn't want the job because he didn't like working with 10 gauge wire, he picked a good way of getting his
Re: (Score:2)
I concur. Even stranded #10 hook-up wire is at the limit of what I'm designing my power electronics for; #8 is comparatively unwieldy. Pulling a cable with two solid #10 conductors and probably a #12 grounding conductor is a royal pain I'm sure. I'd charge more too, were I an electrician.
Re: (Score:2)
Given that standard Linux is not a realtime system, and that to do anything worthwhile you have to write device drivers because there's no direct access even to gpio, I'd say that comparing it to vxWorks is like apples to trolleys, not even oranges. I looked at realtime linux and it seems to be a mess. There's no single, well supported implementation, it seems, and it looked like it'd be more of a liability, long-term, to depend on it. In the end we went with TwinCat.
Re: (Score:3)
Very few embedded devices actually require realtime. Most have a fairly soft requirement of 'within a reasonable amount of time'.
Flipping a few gpio lines in an embedded device is trivially accomplished in a few lines of C in userspace.
Re: (Score:2)
And that information should be logged so you can sell the information to advertisers. ...er wait.
Re: (Score:2)
Every device in the house should be communicating with a computer.
Yes, a computer connected to the internet. With potential government backdoors and rootkits. Every device in your youse. 1984 here we come. You are the dead.
Re: (Score:2)
I've had a lot of fun tinkering with the Arduino [google.com], but I'm stoked about the Raspberry Pi, too. I've got a few projects in mind where even a netbook would be too big, but an Arduino isn't powerful enough. A BeagleBoard or BeagleBone would work, but since the Raspberry Pi is a third of the price, I'll probably give it a try first.
Quit yer yapping and start producing! (Score:2, Insightful)
I'll tell you what I told those bastards at Tesla Motors: I don't want to see it in action, I want to see it in PRODUCTION.
Re:Quit yer yapping and start producing! (Score:5, Informative)
It IS in production, it just hasn't come out of the production pipeline yet. The working beta boards (with a hand-applied last-minute fix) are being auctioned off, proceeds for the charity recipients for which Raspberry Pi was created: making classroom computing happen.
I will be happy to buy a bunch when they're available too, but let's watch the development. As for Tesla, did you buy the Roadster, seeing as how it's been available in showrooms for some time now?
Re: (Score:2)
Re: (Score:2)
Excellent! (Score:5, Interesting)
I'm very excited about this.
Especially as a learning tool for my kids, I think that by seeing what is happening they'll get very excited about learning to program.
I already have arduino boards, but it's not the same thing. Here we have a completely self-contained computer with great practical I/O interfaces.
Re: (Score:3, Interesting)
counterargument:
Why do you expect this thing will be any better or easier for your kids to program over any other linux on a box?
Re: (Score:3)
Re: (Score:2)
Exactly. And you can carry it around.
Think external applications, like checking soil humidity, motion sensors, etc...
Re: (Score:2)
Actually you make an interesting point.
A board like this but that connected to you PC with a USB interface could be very useful.
With proper libraries and bindings for things like Python, Perl, Ruby, Lua, C, C++, and so on would be very cool tool for people to play with.
Of course one could make such a device from a Pi and even have it be networked. Realtime control would be a challenge but for none realtime control it could be kind of cool.
Through-hole (Score:3, Insightful)
Who are these people who keep on insisting on using through-hole components? That board could easily be the same size as the Raspberry-pi board itself simply by using SOIC packages as opposed to DIP for all of the ICs. Soldering a 1.27mm pitch SMT component is really easy, it takes about the same amount of time as a DIP component, and is much, much, smaller.
I understand from the Raspberry-pi website that it's gonna be supplied as a bare board + components, but like I said, soldering SMT stuff is really easy. Also if the whole point of this Raspberry-pi stuff is to teach people new skills, why not teach them how to solder stuff that the rest of the world is now using.
Re:Through-hole (Score:4, Informative)
Soldering a 1.27mm pitch SMT component is really easy, it takes about the same amount of time as a DIP component, and is much, much, smaller.
No.
Perhaps to a seasoned EE or hobbyist who gets his hands dirty on a daily basis, but otherwise, no.
The best way to turn the Raspberry Pi to shit (apart from its name - "Acorn", the obvious predecessor to this whole project, sounded much better) would be to set the bar at a level which assumes you already know what you're doing before you've even started.
Re:Through-hole (Score:5, Informative)
Who are these people who keep on insisting on using through-hole components? That board could easily be the same size as the Raspberry-pi board itself simply by using SOIC packages as opposed to DIP for all of the ICs. Soldering a 1.27mm pitch SMT component is really easy, it takes about the same amount of time as a DIP component, and is much, much, smaller.
Its a meme that just won't die. As a guy who's been doing SMD at home on and off since the 80s for ham radio microwave gear, it gets tiring hearing for about three decades that what I find easy to do and enjoyable is "impossible" and will be the "death of homebrewing" and all that rot. Its right up there with "PL-259s are impossible to install" and "power poles are impossible to install", you only hear about it over and over from the 0.1% of the population who really can't do it.
I'm willing to bet there are some very young hardware hackers on /. right now emulating their elders by rambling about how impossible it is to do SMD at home, despite my experience doing it for years before they were born.
Re: (Score:2)
Is that the EE's equivalent of "parallel computing will never take off, it's just too hard for developers" that gets my programming goat so much?
Re:Through-hole (Score:4, Insightful)
I've soldered plenty of SM components myself, but you may be overlooking the novice oriented aspects of this system (and the comments you dismiss), especially when it comes to the tools available. Besides, practice only takes you so far; even an experienced plastic surgeon may have a hard time making something look pretty if he's only got leather-working tools available.
If you consider that the computer is marketed as cheap, and this board is an educational add on (presumably also cheap) (well the board is functional, but the article points out the educational advantages, including the population), then it would probably be safe to assume that the soldering iron will also be cheap. A soldering iron allowing comfortable SM work is easily double or triple the cost of the computer - over an order of magnitude for the good ones. So, if one were to use a soldering iron of comparable or less cost than the system (what a novice may choose to start with), SM could be very hard if not impossible.
Re: (Score:2)
Re: (Score:2)
ugh sparkfun china garbage get a xytronic 45 bucks, made in the USA, wont melt in your hand
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
Yes you can. Even I can solder SMD with my 15 year old soldering iron. However, soldering through hole is much easier, less error prone and requires simpler tools.
I've seen someone fix an audio system with just a 12V soldering iron in the middle of a field, on a wobbly table. Try that with SMD. Usually I want my stuff to last and to be easy to fix/modify. From a hackers point of view, trough hole is just better. More expensive, but better.
Re: (Score:2)
Well the problem with PL-259s are most people have undersized soldering irons. Not to mention there are better connectors out there nowadays anyways.
I'm not sure why PL-259 is still used so often. I can't wait for that abomination to die off. Appropriate replacements have been available for over sixty years.
Re: (Score:2)
Well the problem with PL-259s are most people have undersized soldering irons. Not to mention there are better connectors out there nowadays anyways.
The killer with PL-259s is/was two fold:
1) I use ladder line and change is too scary to contemplate so I'll use ladder line until I die. Lets face it most of those old timers have kicked the bucket so thats why we're not subjected to as much "pl-259 sucks" as we used to be.
2) The old ham adage that hams make their own antenna wire by grabbing each side of a penny and pulling really hard remains true. You really can't reuse a PL-259. Yeah you can try, but its agony. If its new and shiny and licks up sold
Re: (Score:3)
soldering SMT stuff is really easy
Speak for yerself, whippersnapper.
I did all my own tech assembly work when through-hole was the only option. As the years wore on, my eyesight got worse and the parts got smaller, rapidly taking me out of the tech arena - which is fine, but I can still do through hole, whereas mounting an 0402 is... unrealistic for me.
Re:Through-hole (Score:5, Informative)
*disclaimer* I work for Broadcom in the team that did 2835, however I am not involved with the Pi, so posted anon to not to be accused of karma-ing
Reasons For through hole:
1) Hobbyists aren't scared of them - some are scared of SMT (and some SMT is used on Gertboard)
2) Requires less skilled soldering - yes a skilled solderer can do smt with ease, but half the point of this project is that it should be unintimidating to everyone.
3) More mechanically sturdy. Useful for many hobby projects
The Pi mainboard got in trouble for being none through-hole, and not available as a kit of parts, now Gertboard is in trouble for being exactly that.
*sigh* this is why we can't have nice things.
Yay through-hole (Score:3)
Yeah, we're all very proud of you, that you can solder teeny tiny little things. I can solder with a gasoline torch, you whippersnapper. Now get off my lawn.
Re: (Score:3)
Re: (Score:2)
Soldering a 1.27mm pitch SMT component is really easy, it takes about the same amount of time as a DIP component, and is much, much, smaller.
The thing I find takes the time with SOIC components is getting them aligned and keeping them aligned while I do the first couple of pins (diagonally opposite of coutse). Once you've done that first pin the rest is pretty easy but i've always found the first pin a PITA.
Re: (Score:2)
Also another BIG advantage of DIL is that it can be socketed. That means it's much easier to replace a part if you fry it. It also means if a board doesn't work you can pull chips out either to let you test the board itself for shorts etc or to allow you to test sections of the circuit in isolation.
I'll use surface mount if i'm space constrained or can't get the part I need in a DIL package but I much preffer DIL.
"Winging a pin" (removing the pin from the board and connecting to a wire) to change the circui
Re: (Score:2)
Pre solder two pads diagonally opposite. Sit the component and align it. The legs on the pre-soldered pads will be sprung up. Touch those two lets with the iron. It will flow the solder and the legs will spring back down into place.
Unsure about the gert... (Score:4, Insightful)
Re:Unsure about the gert... (Score:5, Informative)
Arduino doesn't run Linux.
This is more similar to a BeagleBone prototype cape - except with the Gertboard don't expect to be able to use any features in the chip that aren't put into the kernel by Eben and Gert. Unlike the CPU in the Arduino (ATMegaXX8) and the CPU in the BeagleBone (TI AM335x), the technical reference manual for the Broadcom chip in the Pi is completely unavailable. If support for anything is left out of the kernel, whether intentionally or simply due to lack of time, you will not be able to implement it yourself. If support for anything is broken in the kernel, you will have to live with it due to lack of documentation and the fact that Broadcom never comments their damn kernel code for anything. (Look at the BCM4330 driver for mobile devices as an example - if it misbehaves, you're screwed.)
Re: (Score:2)
Except the Gertboard is just using GPIOs are presented as standard file interfaces. You can toggle them with any programming language, shellscript, or just typing 'echo 1 > /sys/class/gpio/gpio1/value' at the CLI.
The GPU may be locked down and worthless for hacking, but the expansion pins are anything but.
Re: (Score:2)
Good luck using anything like I2C, SPI, etc. then if they aren't implemented in the kernel.
On most CPUs like this, GPIO vs. SPI vs. something else for a pin needs to be configured using a pinmux tool - the pinmux for this device will be fully undocumented.
Re: (Score:3)
I don't get it. I am not a hardware hacker, but why would you need an access to GPU to program input/output?
Re: (Score:2)
When did I ever say GPU?
GPU being undocumented and binary-only is basically a given these days.
However, a CPU being undocumented is a whole different story.
Re: (Score:2)
As I said, I am not a hardware hacker, so I don't really know what I am talking about, but is there a reason why the ARM1176JZF-Sâ Technical Reference Manual from infocenter.arm.com (sorry, I couldn't find a way how to link to documentation for a particular chip in their system) would not be enough?
Re: (Score:3)
http://www.ti.com/product/am3359 [ti.com] - Note the 20MB TRM that is the third PDF linked on this page. This is the sort of documentation TI provides for their products. This is the sort of documentation you need when hardware hacking.
Compare to:
http://www.broadcom.com/products/BCM2835 [broadcom.com] - nothing but a marketing blurb
Kernel source code is not sufficient documentation - especially given Broadcom's tendency to put no useful comments into their code, making it impossible to answer questions such as "why the fuck is m
Re: (Score:3)
And you, sir, are a moron if you think bitbanging 12+ MHz SPI is a good idea.
Re: (Score:2)
You forgot to mention the bandwidth differences between embedded software on a microprocessor and an OS controlled I/O system. There is a (theoretical) huge performance difference in high speed/response between the two.
And to the AC mentioning competition: these are not really in the same product class. There are probably a large number of applications where the end goal could be achieved with either set of hardware, but there are probably more projects which do not overlap (especially if your concerned w
Re: (Score:2)
There is more than one way to skin a cat. And if your particular project has your arduino always connected to a PC, this may be exactly what you want.
Re: (Score:3)
Arduino does not run linux. You can run the editor / compiler / loader on linux, but its just a bare metal controller.
The pi literally runs linux, so you develop on board.
Stereotypically, you'd use something like a gert or a usb connected arduino as the hardware interface. Then you'd simply "apt-get install octave" or whatever on the pi, write a tiny little perl script or whatever to talk to your hardware interface, and write your PID loop or whatever in octave script on the pi. Along with probably runni
Re:Unsure about the gert... (Score:4, Informative)
R pi + Gertboard
or
R pi + Arduino
Both would be developed on the host linux PC, but Arduino is already rather mature and well supported, and connects via USB with no soldering to your shiny new Raspberry pi. What's the gertboard bringing to the table in addition to what the arduino does already?
Re: (Score:3)
R pi + Gertboard
or
R pi + Arduino
I don't have to choose. I'll take both.
Re: (Score:2)
Re: (Score:3)
Arduino is a computer, not in of itself an I/O peripheral, so if you wanted to do I/O from a Raperberry Pi via an Arduino you'd basically be sending software commands from the Pi to the Arduino then have a program running on the Arduino to do the actual I/O... it's way more efficient just to use a Gertboard and do I/O directly from the Pi.
Compare the two:
Pi + Gertboard - runs at Pi speed (>> Arduino speed), and no need for a seperate I/O program
Pi + Arduino - I/O constrained by Arduino speed, amnd req
Re: (Score:2)
I can't think of any situation where Pi + Arduino really makes sense. Other than Gertboard for GPIO, using USB peripherals (e.g. servo driver, etc) with Pi makes more sense.
When it inevitably doesn't work, and I need to do the divide and conquer thing, I can attach the Arduino to my desktop linux box and run the exact same code to prove it's not a CPU power thing, or an obscure Pi USB bug, or an obscure Pi bug in general, and/or the heavy desktop has plenty of power and screen realestate to run dumps etc. Also watching/reverse engineering USB signals is very old and well understood so watching how the Arduino and Pi talk to each other should be childs play.
On the other hand t
Re: (Score:2)
The pi literally runs linux, so you develop on board.
Question is: Will you want to?
Given a choice, would you want your development environment to be running on such a limited machine? I'm not putting the Pi down, it's great for what it is, but at the the end of the day it's a $25 computer. Anybody who thinks it will compare well to the desktop PC they normally use is deluded.
Re: (Score:3)
Re: (Score:2)
Good enough for browsing? Because I could see myslelf with one behind this LCD monitor hooked up to the spare HDMI slot.
Sure ... but the people here are talking about editing and compiling, not browsing.
Re: (Score:2)
Anybody who thinks it will compare well to the desktop PC they normally use is deluded.
Oh, of course it will compare well. Hmm so lets consider the stereotypical educational institution lab task of writing a embedded thermostat. This 10 ohm resistor epoxied to this thermistor will be heated up precisely to happy tropical fish temp... This sounds like a very stereotypical embedded lab, I think I did something like this in school back in '93 using a then new motorola microcontroller. This is a very stereotypical "3 hour lab" type of task.
The traditional microcontroller method would be to ge
Re:Unsure about the gert... (Score:5, Informative)
There are some aspects that are redundant but there is a lot more that is not. Here are some major differences:
Arduinos do not run Linux. Their code is written in Assembly, C or C++ but WITHOUT the STL. There is no OS or kernel. It's pure monolithic code running on a Atmel Atmega328, ATmega2560 or similar processor. They support Analog I/O, Digital I/O, I2C, SPI, 1-wire, EEPROM, Serial communication via digital i/o lines or Serial over USB, typical 16Mhz clock speed and 8k of RAM, 32-256K of program storage. It probably uses slightly less power than the Raspberry Pi.
Raspberry Pi do run Linux. Their code is written in any language supported by an ARM 1176JZF-S CPU with a Linux kernel such as Assembly, C, C++ with STL, Python, Perl, etc. There is a OS such as Debian, Arch with more to follow and a Linux kernel. Code written is traditional Linux code running in a multi-tasking system such as Linux provides. It's run on an ARM 1176JZF-S CPU. They support Digital I/O I2C, SPI, Serial communication via digital i/o (gpio) lines, SD card support, composite video out, HDMI video out, RCA audio out. 700Mhz clock speed, 128-256MB of RAM, 1-32GB of program storage (depending of SD card size).
Unlike the Raspberry Pi, the Arduino cannot be developed on by itself. It requires another computer running Linux, OS X or Windows in order to develop on them.
The Gertboard is more akin to what an Arduino shield is for an Arduino. It's just something you plug into a Raspberry Pi to provide access to more of the GPIO pins of the Raspberry Pi's SOC and it has some convenience functionality like LEDs built-in. Like an Arduino shield, it's optional. You can still use GPIO pins on the Raspberry Pi without it.
A fairly general purpose board, not SPI, not pi (Score:3)
I looked at the pcb pix and saw the SPI interface lines and incorrectly guessed the whole thing runs off one SPI connection, which would be kind of cool, since pretty much every microcontroller made in the past 30 years is either has SPI hardware support or is at least easy to bit bang SPI. So it would not really be a pi board, but a generic board that works with everything that merely has support to directly plug a pi into it.
However I read the comments and the deal is the breakout board brings 18 GPIO ports from the pi, and you wire the GPIO ports however you want to various peripherals at the GPIO level, one of which is a SPI interface port expander, other things you could wire to are the motor drivers, etc.
So its really a mostly GPIO board with exactly one SPI part, not a board run entirely off just one SPI port. For example, if you have an old fashioned parallel port on your PC, plus or minus some level conversions you could wire that up to this board, etc.
The other interesting comment I read was something similar to "if you want arduino shield support on a pi, simply plug an arduino into the USB port and plug the shield into the arduino and talk to the Ardunino using the linux usb drivers", which is brilliantly simple.
Re: (Score:3)
As parallel ports become rarer(if not extinct already), I could see this becoming the best way to control CNC/3d printers once somebody ports a RTOS version of Linux to it.
Re: (Score:2)
They are already using the Arduino to do this . Which gives good results. Controlling a CNC any other way strikes me as stupid. Because you want some very hard real-time timing.
Example: https://github.com/bkubicek/Marlin [github.com]
Re: (Score:2)
As parallel ports become rarer(if not extinct already), I could see this becoming the best way to control CNC/3d printers once somebody ports a RTOS version of Linux to it.
I have a CNC mill in the basement and your theory is pretty much on track for current applied work.
CNC mills are mostly PCI or motherboard printer port controlled right now, no they are not extinct although endangered species is probably appropriate phrase, and semi-intelligent USB attached controllers have been moving into the market for quite a few years.
The problem with the USB controllers is they are generally not too smart and don't handle lookahead/smoothing as well as printer port and real time PC ba
Can't wait! (Score:2)
These things are going to fly off the shelves like hot pies!
Will be interesting to see if the makers at LMR put them to good use.. http://letsmakerobots.com/ [letsmakerobots.com]
I may have to dust off the soldering iron and "electronics for dummies" soon to join the fun.
Please get it through your heads!!! (Score:4, Insightful)
Arduino and Raspberry Pi are not competators in any way. They target two different markets whereby they have very slight overlap for hobbiests. The Pi simply can not compete with Arduino/AVR on the low end and Arduino/AVR can not compete with RPi on the highend. There's only a tiny intersection between the two and that's likely only because you have one or the other whereby a "close enough" solution is satisfactory.
AVR/Arduino has solutions in the $1-$6 range, if you want to use an inexpensive ISP [ebay.com] and break out the coresponding pins on your bare bones [moderndevice.com] or really bare bones [solarbotics.com] controller. Not to mention, the pins are easy to access with a multitude of more pins available. It also has some capabilities which are simply not available without a Gert board, which makes the pi all the more expensive. Furthermore, an RPi is basically as barebones as you're going to see - at least for a while - if ever. Whereas for the AVR/Arduino solution makes it easy to transplant your Arduino project into a barebones $3-$9 project.
Furthermore, these two projects are really far and away much more complimentary technologies than they are competators. Basically, let the RPi do the heavy CPU lifting and the AVR's do the GPIO and bit flipping. Its a combination made in heaven.
Re:Please get it through your heads!!! (Score:5, Informative)
Agree 100%, the overlap is tiny.
The Pi has a keyboard, video output and a lot more CPU power. It will be used for projects where that's important.
The Arduino does hobby electronics much better/easier/cheaper than the Pi.
Re:Raspberry Blob (Score:5, Informative)
Plug it into your tv or ancient flatscreen. Wifi signal your video feed over the air for 25usd and some coding.
I think your imagination is useless.
Re:Raspberry Blob (Score:5, Insightful)
Re: (Score:2, Insightful)
Uuum, I looked at those sites. And all I see is "in the pipeline", "if you have any ideas", "mailing list" and "could potentially be developed as X".
There are no ways to order anything, not even a name to call whatever they are doing. Not even pictures.
Either I overlooked something, or this is the king of vaporware and hasn't passed the "Well, we thought it would be cool to have X. But we haven't anything more to offer." stage.
Can you point me to a link where I can put my money and get a Raspberry-Pi-like b
Re: (Score:2)
By weeks I suppose you mean months or years.
Re:Hardware folk shouldn't write code (Score:4, Informative)
Python makes everything cleaner.
# Make the 17 GPIO file systems & set them to output mode
for g in gpiotbl:
with open('/sys/class/gpio/export', 'w') as fout:
print >> fout, "%d" % g
with open('/sys/class/gpio%d/direction' % g, 'w') as fout:
print >> fout, "out"
# light effect on buffers
for rep in xrange(5):
for g in gpiotbl[:12]:
with open('/sys/class/gpio/gpio%d/value' % g, 'w') as fout:
print >> fout, "1"
sleep(TIME)
for g in gpiotbl[:12]:
with open('/sys/class/gpio/gpio%d/value' % g, 'w') as fout:
print >> fout, "0"
sleep(TIME)
test_motor()
test_motor()
sys.exit(0)
Re: (Score:2)
Speaking as an ignorant hardware engineer, where's the problem with the original (as a method for driving LEDs for a test program)?
Pick your battles and all that...
Re: (Score:2)
You're free to come on the Raspberry Pi forum and help Gert to make the board better - he's open to constructive comments & ideas.