6 ms·
Gertboard expands the Raspberry Pi’s GPIO pins
- option_greek 14y agoI was really looking forward for something like this. I hoped the price would be a bit low though.
- wiradikusuma 14y agoProbably this link can help http://elinux.org/RPi_Expansion_Boards http://elinux.org/RPi_Expansion_Boards What I'm looking for is a step-by-step field guide for "interacting with real world" for programmers with zero experience in electrical engineering.
- franzus 14y agoYeah, I know what you mean. There's not much information about "electronics for software guys". Every resource I could find was "the other way around": Programming for electronics guys. There were some promising videos on youtube but it all boiled down to: "Here's this simple circuit. <no explanation about the circuit> Now to the hard part: FOR loops. <30 minutes about for loops and basics of C syntax>". I guess this would be a great topic for the pragprog-guys. If they'd commission such a book I'd buy a dozen copies ;)
- k2enemy 14y agoCheck out NerdKits (http://www.nerdkits.com/ http://www.nerdkits.com/) It includes all the hardware to build a simple microcontroller kit, along with step by step assembly instructions. The best part is that the instructions also explain why you are doing what you are doing.
- wiradikusuma 14y agothis is great, but now that we have Raspberry Pi, i'm more interested with using it as starting point. simply because, well, it's a computer (something programmers familiar with). EDIT: bonus point if the book/tutorial can relate with concepts in software development, e.g. "this is equal to a compiler, and this is how you put breakpoints and run debugger"
- pmelendez 14y agoI found that for very beginners Arduino is easier though. It's also cheaper than the RPi/Gertboard combo. In any case both are a good way to start. :)
- veemjeem 14y agoMaybe you could have the best of both worlds with something like the alamode: http://baldwisdom.com/category/raspberry-pi/alamode/ http://baldwisdom.com/category/raspberry-pi/alamode/
- alinajaf 14y ago> There's not much information about "electronics for software guys". Interesting you mention this, I've been getting into microcontroller programming for the past year or so and I've also found this to be the case. I'm thinking of putting together some tutorials that focus more on the electronics side of things. Additionally the programming would be a bit less offensive to us (i.e. where possible tidied up into libraries instead of splat out into one big sketch file). Do you think there might be a lot of interest in something like this? For arduino, getting set up in vim and working with ino (instead of the arduino IDE, which is extremely useful but fugly as hell) was the first big hurdle.
- wiradikusuma 14y agoplease do, but please approach from software programmer perspective (please read my other comment in this thread). i think it's like OOP programmers trying to learn functional programming, you need to bridge with similar concepts so it's easier to grasp.
- franzus 14y ago> Do you think there might be a lot of interest in something like this? I can only tell from what I know from my peers (mostly CS educated guys). Many of them are interested into hooking up stuff to their computers but can't get their head around the most simple electronic circuits. (Pull up/down resistors are pretty much irritating for example). So yeah, there's definitely some interest. I guess hardware hacking is something many programmers are interested in (Software only gets boring after 2 decades of programming) but can't find some easy intro.
- orangethirty 14y agoNot being pedantic here, but what do you think is hard about electronics? Could you share it with me?
- alinajaf 14y agoCan't speak for the OP but here are a few differences between learning electronics vs. programming: 1. With programming you can download open source code that does whatever it is you want near enough instantaneously. Electronics projects come to a halt if you don't have the right parts on hand (which btw makes electronics a good hobby for just dipping in whatever free time you can steal). 2. There's a great deal more learning material available for free online for learning programming than there is for electronics. 3. With enough reading you can put together a web application or software 'in production'. Designing + printing PCBs and soldering on surface mount components with a reflow oven is obviously not a requirement for hobby electronics, but something I'd like to be able to do eventually. Getting the knowledge/skill/equipment together to do this will probably take at least a year (whereas you can go to any web host you like and have a website up and running in about 30 minutes). 4. If you mess something up while programming, you just kill the process and try again. If you make an error when putting together electronic components, you run the risk of letting the blowing them up and letting the magic smoke out. Aside from the safety issue, this is a real PITA if you're short on parts! 5. Debugging is relatively hard. While with programming you can output parts of the state of your program, analysing the state of a circuit requires working a multimetre and possibly an oscilloscope. This difficulty could be more due to my inexperience with electronics though. EDIT: added... 6. Getting together the right equipment (soldering iron, breadboards, safety glasses, pliers etc) takes time if you're not sure what you're going to need up front. Sames goes for building up a stock of often used parts.
- orangethirty 14y agoAs a side project, I will be hacking a little hardware for a friends business. If you are interested in how it turns out, just shoot me an email and Ill give you the details.
- medinism 14y agoThey did.there is a paraprog guide to raspberry pi. Came out this week
- DanBC 14y agoSomething like "The art of electronics" and "the art of electronics lab book", coupled with virtual or real equipment will teach smart people pretty thoroughly. The books are old, and so there have been a number of advances, but that's okay because people like you need a solid grounding in the basics (the simple circuit you mention) and the rest will be easy enough for you to work out. But it'd be great to see a modern electronics course for programmers.
- mmetzger 14y agoThis isn't exactly what you've requested, but it's still a very good basic electronics guide - Make: Electronics http://www.amazon.com/Make-Electronics-Discovery-Charles-Platt/dp/0596153740/ http://www.amazon.com/Make-Electronics-Discovery-Charles-Pla... Part of the book is breaking things to see how they work which is much cooler than thinking of things as a black box.
- jiggy2011 14y agoWhat you need is "electronics engineering" not "electrical engineering". Electrical engineering means building things that can handle huge currents, not something you want to do with "zero experience". :)
- alan_cx 14y agoBoth actually. Electronics for control signals, often electrical for what you are controlling. Home automation for example. CNC can easily be both if you are laser cutting for example.
- HeyLaughingBoy 14y agoUnless things have changed very recently, the correct term is "Electrical Engineering." In the West, Electronics Engineering is not an often used term, although I've heard it's frequently used in India. Electrical engineering encompasses everything from very low level digital and signal processing electronics to designing power plants.
- wl 14y agoMy degree is in electrical engineering and I never dealt with high power stuff in school. Analog and digital electronics. Signal processing. Control systems. Semiconductors. I could have taken power classes if I wanted.
- willyt 14y agomicrochipc.com was a great resource when I was learning to use pic microcontrollers.
- FrojoS 14y ago> Gertboard is packaged as a kit. It doesn’t come preassembled; you will have to solder it together yourself. I hope it won't take to long until there will be pre-assembled ones, too. For an open source design, all you need is someone who invests some money to get the board assembled in China and then sells it in a web store. Here is an example, to show how affordable assembling low quantities of boards in China has become. For one of our designs, buying all the parts online in the US or Switzerland, was about $150. If you buy about a dozen of them in China, they are about the same price point. But then, they are already assembled according to our design! Once you buy around one hundred, you save considerable money. In our case, the offer we got is about $100 per board (33% savings!). The lower the transaction cost, the better. If you think soldering has minimal transaction cost, compare the price of a soldering station with a Raspberry Pi.
- LiveTheDream 14y agoThat is quite a savings. The Chinese-assembled boards can have a defect rate of up to 50% and still be competitive with the original price (ignoring time lost and extra shipping charges).
- jberryman 14y agoNot to contradict your point, but this board should be easy to assemble as a first project with an investment in <$20 of soldering equipment and supplies. So I'd encourage anyone who's interested in this but new to electronics to head over to sparkfun and just dive in and see how you like it.
- veemjeem 14y agoEasy? Not so... this is not a beginner's kit, there are surface mount components, and if this is your first time soldering, it's gonna be a rough day. Sparkfun does a really good job of making their kits easy. If you look closely at them, the boards that require diodes and electrolytic capacitors have a picture printed on the pcb that make it really obvious what the polarity is. The gertboard pcb doesn't have any of these. If you solder a led backwards, you're SOL. So if you haven't seen a diode or led before, you probably shouldn't pick the gertboard as a first project. You can buy the arduino as a kit, but most people who are just starting out with electronics will get one prebuilt so they don't accidentally stick their atmega chip in backwards.
- georgeecollins 14y agoWhile I think this is cool, I am not really sure what the advantage is of this over a bunch of micro controller cards that you can connect with a USB. There are a lot of different ones available and you can get them per-assembled or as kits. If you are waiting for this to control things with your Raspberry PI, I think some choices already exist. For example: http://www.societyofrobots.com/axon_select.shtml http://www.societyofrobots.com/axon_select.shtml http://adafruit.com/products/849 http://adafruit.com/products/849 http://www.parallax.com/Store/Microcontrollers/PropellerDevelopmentBoards/tabid/514/CategoryID/73/List/0/SortField/0/Level/a/ProductID/748/Default.aspx http://www.parallax.com/Store/Microcontrollers/PropellerDeve... http://www.parallax.com/Store/Accessories/MotorServoControllers/tabid/160/ProductID/595/List/0/Default.aspx?SortField=ProductName,ProductName http://www.parallax.com/Store/Accessories/MotorServoControll... http://www.parallax.com/Store/Microcontrollers/PropellerDevelopmentBoards/tabid/514/CategoryID/73/List/0/SortField/0/Level/a/ProductID/817/Default.aspx http://www.parallax.com/Store/Microcontrollers/PropellerDeve... That's just a fraction of what is out there. And to repeat, I think the gertboard is cool. But if you are waiting on it to control things, you don't have to.
- sean-duffy 14y agoTo be honest, I think if you're a programmer/developer looking at the Raspberry Pi as a gateway to basic electronics, you'd barking up the wrong tree and would be better off with one of the Arduino boards. With the Arduino you have plenty of resources, and the convenience of only needing the Arduino IDE and a USB cable to upload your program to the micro-controller. The Arduino platform can do a lot in terms of reading sensors and controlling circuits, and if that's all you want to do then a Raspberry Pi is far more than you actually need, and much more expensive than an Arduino too.
- veemjeem 14y agoIf you were a programmer, it seems like the RPi would be a better choice than the arduino -- you can code in the language of your choice instead of processing or C, and you can still control interface pins to the outside world. Also, you'd probably do more with the Pi as a programmer beyond turning pins on/off -- for example, you could hook up a camera and run opencv, then write a small app to control a water gun that shoots squirrels off your bird feeding post. When you start doing more with arduino, you typically want network connectivity, and most of the wifi/ethernet shields for the arduino are the cost of the entire RPi computer. I think the RPi does fill a good niche in the hardware world.
- ricardobeat 14y agoJust get a teensy[1] board, and hook it up to the Rasperry Pi. I'd like to know what kind of stuff you can do with the GPIO pins directly on the Pi, via /sys/class/gpio. Are they just digital (0,1) or they can read voltage levels too? (electronics newbie here) [1] www.pjrc.com/teensy/
- veemjeem 14y agothey are just digital (0,1). you need a A/D converter if you want to read analog signals. Here's a tutorial on hooking the raspberry pi with one of those chips to give you analog input: http://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/overview http://learn.adafruit.com/reading-a-analog-in-and-controllin...
- 14y ago
- medinismo 14y agohas anyone bought/read/use the paraprog guide for raspberry py at pragprog.com/book/msraspi/raspberry-pi? I would like to get started and this book seems to be the only viable starting guide
- veemjeem 14y agoI don't think you need a book to learn how to use a computer. You just plug it in and go.
- alexchamberlain 14y agoHave you seen some of the questions we are getting at http://raspberrypi.stackexchange.com/ http://raspberrypi.stackexchange.com/?
- medinismo 14y agoprecisely!
- StavrosK 14y agoThis is semi-offtopic, but has anyone found a good powered USB hub on dx.com, that can power the RPi and peripherals? I'm tired if it not having enough power to run wifi, or mobile internet, or anything else I put on there. I'm in Greece, so dx is pretty much the only site that will ship cheap stuff to me, but if anyone has another recommendation for a good hub, I'm thankful.