Showing all posts tagged raspberrypi:

Fried Some Chips Today!

While soldering a PCB I overlooked a spot where some excess solder had bridged two pins. When I connected the PCB to my raspberry Pi, the Ethernet and activity lights slowly dimmed to off, and the Pi was no longer reachable over the network. I disconnected the Pi and connected the PCB directly to a bench power supply, to test it standalone where I noticed the high current consumption. I flipped the PCB over, and finally found the short, and removed it. On power up, there was no high curren...

DIY Boeing 737 Overhead Panel - Part 6 -Progress Update 31 Dec 2016

I managed to get two panels of my Raspberry Pi powered DIY 737 Overhead Panel project working before year's end ... enough to power on the Auxiliary Power unit (APU), and switch the aircraft to draw power from it, turn on external lights ... and start the engines! This last bit features an engine starter knob that turns itself back to OFF once the engines are running, just like the real thing! It's taken me most of this year to get this far, and I'm still a long way off from completing the ...

DIY Boeing 737 Overhead Panel - Part 5 - Some Thoughts on Interfacing Electronics with X-Plane

Yes I haven't posted much on this for some time ... I've been busy with real work for a change, so there's been less time to devote to this hobby obsession, much less write about it. For those who've just tuned in, this project is about building a 737 Overhead Panel for my X-Plane Flight Simulator. You can read my earlier posts on this here. a 737 Overhead Panel (it's at the top of the flightdeck cockpit, over the pilot's heads) It's now time to give some thought to the electronics behin...

Bypassing USB Power Port on My Raspberry Pi Model B+

My seemingly cursed Raspberry Pi Model B+ has developed a preference for only certain USB power cables. For some reason the 10" ones I ordered over eBay don't seem to work reliably, even though they work fine powering everything else I have. The Pi would go into a boot loop about a second or two into the boot process, reverting to the rainbow boot screen. I tried swapping a few different cables I had around the house and the only ones that seemed to work reliably were the short ones from my ...

Finally Got My Hands on a Raspberry Pi Zero ...

The Pi Zero was released back on late 2015 as a cut down Raspberry Pi model A, for a price of USD5. It lacks Ethernet just like the Model A but goes further and removes the usb hub, composite video jack, and even comes without GPIO connectors soldered. At less than half the size of the Model A, it's a great proof of concept of what you can do for USD5, but at its time of launch I didn't see much use for it ... without ethernet it's not going to be an Internet connected device, and even though...

Fixing A Faulty MicroSD Latch on Raspberry Pi Model B+

So there I was ready to attach my ancient Rasberry Pi onto a mounting plate for a project I've been working on ... only to realize that it had no mounting holes. Fortunately I have almost every model of Raspberry Pi sitting unused on my desk, and so I decided to upgrade the project to a Model B+, which does have mounting holes (Of course, they just happen to be 2.5mm holes whereas all the standoffs I have at home are 3mm, but I managed to make do with some screws and nuts). So with everythin...

Parcels and more Parcels ...

A history of a cockpit sim build beginning in the mid 90s by Hans-Joerg Krohn: http://www.hanskrohn.com/FlightSimStories/History/History.htm "By now, more parcels had arrived, containing different flavors of pushbuttons, toggle switches, rotaries, displays, diodes and of course wire, lots of wire. I just had to put it all together." I am just dabbling but certainly can relate to the above. I must say it is much easier to go about this stuff nowadays with the Internet around. For almost an...

Using I2C From Linux User Space On the Raspberry Pi

I2C is a communications protocol used to connect microprocessors and microcontrollers to onboard peripherals. I've been using it to connect to a number of devices such as a real time clock, Alphanumeric Display and GPIO Expanders on my Raspberry Pi. The processor (or host) can communicate with multiple peripherals on a single i2C bus, by polling with their individual addresses as necessary. Typically, you need to develop a kernel module to communicate with I2C devices, however Linux also m...

Raspberry Pi Software Development with a Cross Compiler

So far I've been editing and compiling my programs on the raspberry pi itself, using a ssh terminal. This is fine for small programs, but for anything large, it's nice to have a full Desktop IDE. So here I describe how I set up Eclipse on my Ubuntu PC to cross compile apps for the Raspberry Pi. PrerequisitesEclipse (I'm using the older Luna release, but it should be the same for other releases) installed in your desktop PC with:C/C++ Development ToolsC/C++ GCC Cross Compiler SupportA Raspb...

Adding the MCP23017 GPIO Expander to the Raspberry Pi

More learning on the Raspberry Pi ... this time I am adding a MCP23017 GPIO Expander. My earliest Pi is the original Model B with only 17-ish GPIO pins, so a GPIO expander is very handy. I chose the MCP23017 (http://ww1.microchip.com/downloads/en/devicedoc/21952b.pdf) GPIO expander as it: adds many (16) I/O channels that can be used as digital inputs or digital outputseasy to interface to as it uses i2c (up to 8 of them can be daisy chained bringing an additional 128 GPIO ports)it is relativ...