Showing all posts tagged raspberrypi:

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...

Connecting A 20x4 HD44780 LCD with YwRobot LCM1602 IIC V1 Piggyback I2C GPIO Expander to my Raspberry Pi

Next up on the Pi Project, connecting an alphanumeric LCD. Almost all alphanumeric LCDs on the market are driven by the Hitachi HD44780 or compatible chipset, regardless of their size. The HD44780 takes care of "drawing" the characters on the LCD display, based on commands it receives from a host microprocessor over a 10-pin I/O bus. The microprocessor is expected to communicate with the HD44780 by setting the individual I/O lines to high or low in the correct combination and sequence. Th...

Adding A Real-Time Clock to the Raspberry Pi

10 Jan 2015 As shipped, the Pi has no real-time clock, and depends on the internet to determine the current time. Since my Pi might run without internet, I added a real-time clock to it. It's an off-the-shelf DS3231 (http://goo.gl/BKyjT9) unit with removable battery that plugs directly into the pi's headers, tapping the i2c bus and 3.3V power and ground. To enable i2c on the Pi, so that it can read data from the RTC, you need to: run "sudo raspi-config"chose item "9 advanced options"choos...