Skip navigation
1 2 3 Previous Next

Raspberry Pi

339 posts

Go Go Gadet Raspberry Pi Zero W

Posted by clem57 Top Member Mar 14, 2017

Go Go Gadget Raspberry Pi Zero W


                    Happy Birthday from Raspberry Pi Foundation!!!

     March 7 was Raspberry Pi’s fifth birthday: it has been five years since we launched the original Raspberry Pi, selling a hundred thousand units in the first day, and setting us on the road to a lifetime total (so far) of over twelve million units. To celebrate, we’re announcing a new product: meet Raspberry Pi Zero W, a new variant of Raspberry Pi Zero with wireless LAN and Bluetooth, priced at only $10.



20170314_115745 Pi Zero W.jpg


     With this announcement, I was excited to see this as an important upgrade. Finally a way to use the Zero W with WiFi from Cypress using the CYW43438 wireless chip just like the older brother the Raspberry Pi 3. The only problem was how to get one when they sell like hotcakes.Then I got my chance when on Saturday Micro Center announced stock of Zero W as 923029. So bright and early Sunday morning I went down there to get me one. Talking to the sales rep, I found they dropped shipped 200 to this store which was not their normal shipment. And yes they were going fast. BTW, the second one cost 14.99 which is still not bad.

     In addition today is Pi day! Not Raspberry Pi but that other famous Pi 3.14 etc. What more reason to read this little(ish) tutorial. I am sorry for the many steps, but I wanted a complete setup for noobs and experienced users alike. So lets get on with it.


                                        457746_925313_01_front_thumbnail.jpg?1488940459712                457746_925313_02_front_thumbnail.jpg

    The Dilemma


So I get home and start looking at the new small board and ponder how to setup this wonder without a keyboard, mouse, and HDMI monitor. Yes, I could use them and be done, but that is not the way most people would try it. Even though wireless should work, how was the configuration of wireless to get started without keyboard and monitor.

After Googling the net, I came up with an idea! The good folks at Adafruit had this article This seemed the way to go thinking of the choices. But it was not without trials and tribulations. The serial USB seems to be the simplest until I found no logon till the TTY was setup first. A chicken and an egg problem to be sure. So without further ado, here we go.


     Ready Set ...


  1. Find the latest Jessie Rasbian Lite at and download it. I chose this because it can work on a small SD card of 4 GB and does not have a graphical interface to run. This means I load only what I need. For reference I used 3/2/2017 version

  2. Next I mounted the micro SD card on a USB interface on Windows computer. I chose a  need tool called Etcher at, It is smart and simple to use. Also you can flash more than one card at a time. It will verify the image as well.

  3. Even though the tool does an "Eject" on the card for you, remove and reinsert the same card since we have a few hings to do.

  4. Look for boot (E:) on Windows. For Linux or Mac, this would be the first partition FAT32. Later it is mounted at /boot in the tree. Edit config(.txt) file with either Notepad or Wordpad. If you use Wordpad, you must be careful to save as TXT and not anything else. Firstly, save a backup copy as config2.txt to be safe. Now add the following line as the last line in file:



    Now we can do a save as config.txt and reply Yes to overlay it.

  5. Next we edit cmdline.txt same as above. Again save a backup as cmdline2.txt. Now add the following after "rootwait" with just a space before and after. Do not hit the enter key since this file is very particular.


  6. One last edit, edit config.txt in Notepad. Do a save as and in the bottom the name is "ssh." include the period but not the quotes. Make sure all files are selected not just plain text. Then hit the save button. You should see this as a file not a text file. This will allow ssh the first time.

  7. Now properly Eject the card to use in the new Pi Zero W.

  8. Put micro SD card into Pi Zero W. Plug a micro USB into the inside called USB not PWR. I plugged this other end into a Pi 3. Why not Windows? Because of missing RDNIS driver for Windows 10 and Bonjour for Windows 10. For Windows, go to Directory: /static/beaglebone/latest/Drivers/. Select the correct version for Windows checking for 64 bit or not. Follow install procedures. Next go to, and select "Download Bonjour Print Services for Windows Vx.x.x'. Again follow install and now Windows can handle name resolution as well as RNDIS USB driver.

  9. On the Pi 3 they have both included in a full Jessie Rasbian desktop. Later I will locate and add when I find the drivers.

  10. Under the Pi 3, I opened a terminal window. Here I entered:



    Look for                    ID 0525:a4a2 Netchip Technology. Inc Linux-USB Ethernet/RNDIS Gadget

  11. Now we can SSH into the Zero W with: See note 1 below for more information.


    ssh pi@raspberrypi.local
  12. Reply Yes to next message to add ECDSA key and next the default password of "raspberry" (no quotes of course)

  13. Enter config file to change password and optionally host name. Also turn on SSH for future use.


    sudo raspi-config
    Interfacing Options
    P2 SSH
    <NO> to reboot now option
  14. Now to setup wireless settings with your SSID and PSK after any lines already there, paste and change the correct values:


    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  15. Edit the interfaces file to fix up a static USB0 so logins can be done by IP address: Skip this as it did not work as intended/


    sudo nano /etc/network/interfaces
    allow-hotplug usb0
    iface usb0 inet static
  16. Now reboot the Zero W with:


    sudo reboot
  17. Wait a while and try to re-login. Note any changes to the host name will affect the xxx.local name or just use the static IP of



  18. Try a ping test like:


  19. After all this bask in the sunlight and enjoy a cup of Java. Oh that is another topic. Adios amigos.

Raspberry Pi have (today) launched the new Raspberry Pi Zero Wireless.



For more information on the Raspberry Pi Zero range, including where to buy the new Raspberry Pi Zero Wireless please visit the Raspberry Pi Foundation website at


Happy 5th Birthday Raspberry Pi!

Hello Again,

As i said in others post of mine i am working on a house automation system based on raspberry pi and arduino ... I ve moved a lot with this.. I also writing a program for this. I wrote the program in Visual basic has over 1000 lines of code cause it is also like JARVIS from ironman... It can execute a dissent amount of pre installed commands. I also added a feture when the doorbell ring a window pop up in my screen and it show me who is in the front door with face recognition.... I now want to move to the "next level" and make it work also on my there any way to make it synchronise in real time pc software and Android? For example if i dim the lights in one room to see the changed value on my phone and reverse or monitor the temperatures(data comes from arduino to pc software)

One idea that i had is to setup a local server. Or website on the arduino and share the data with pc and android. But i don't know if this is gonna be okay.

So... Any thoughts?

Thanks a lot nicolaoscon96

Almost everyone has heard of RetroPie.



The open source software which has enabled a bunch of Ikea tables with embedded Raspberry Pi.


Unfortunately, they've recently learnt a bitter lesson in trademarks, that unless you get there first, someone else can pull the rug out from under your feet, as the makers behind RetroPie call out for legal help.



Amazingly, someone from India has setup a website selling Raspberry Pi's with the software on the SDCards, something which is already against the license of RetroPie.



Furthermore, they're practically claiming RetroPie as their own, as they have filed a trademark in America (yes, even though they're from India) to lay claim to 'RetroPie' and 'Emulation Station'.



Allegedly the person behind this trademark registration has come out with his side of events and reasoning why they've done this:




So perhaps a word of warning, even if you're creating something open source, even if you're giving it out there and believe the GPL and licensing protect you, ultimately you cannot stop someone unless you've put measures in place to protect it first, and you're able to chase after them with the money necessary to hire lawyers/solicitors. A sour lesson, all the same.

A few months back, I enrolled for a design contest at . Needless to say its one of those contest where hundreds(500) of people join but every few complete. Anyway I did my part and here are a few tit-bits I gathered.


The implementation

I initially though about adding a massive array of features but then remembered that it was a contest sponsored by Cypress. Instead I worked on one part and ended up getting stuck in a loop. I started with the Texas Instruments MSP430 and finally settled on using a RPi 2 instead. The idea took me a month to finalize and 4 days to implement! That was so stupid I though BUT the fact it a lot of the times this happened. I spend an additional week trying to learn PSOC creator and made a small video.


I also did a lot of goofing around and have the footage to prove it. Its still needs a bit of editing but I will post it




when I am done Here are a few pictures




Im pretty OK with the result as everything is clean (thats a first!) and work.


Putting together the enclosure was a tough decision as I did not want to go with the boring box design but due to personal blunders, I had to cave.


Here is a time lapse that was the result of the Cel Robox.





Here is why I am actually writing this blog. I need feedback. Feedback on what is right and what is wrong. Why this is important is ...


(Content to be filled in after collection of feedback)


So what do I solicit feedback on? Here it is...


and this little video I mocked up considering advice from Workshopshed sir, jancumps sir fvan sir


So the question is... "what do you guys think?"

"what is the first thing that comes to you mind when you see this content?"

"Why am I hungry"... OK forget that one.


Thanks in advance.

Live long and prosper.

Not even a near record breaking heatwave can stop BitScope Blade hosted Raspberry Pi servers as we discovered by accident when our trusty old Dells came to an ignominious end but the 32 BitScope Blade Raspberry Pi in the same overheating room survived without skipping a beat!


We had an unexpected demonstration of just how robust Raspberry Pi is as a compute platform this week. If you live downunder where our R&D headquarters are, you will know it's been very hot for quite a while. It just seems like it will never end.


Recently the mercury topped 40℃ (or about 104℉ for our North American friends) here in Sydney. We know it's hard to imagine from the Northern hemisphere right now but if the airconditioning fails it's quite intolerable, and not just for humans.


Unfortunately, that's just what happened over the weekend just past in our lab and inside it got very hot.


File Server Meltdown


We run a range of computers and some them are servers that run 24x7. Or they're supposed to! Two of them are Dell PowerEdge Blade Servers which have been with us for quite a few years, as you can see.


One of them is our office file server and the other is our R&D file server. Both of them are quite important to us.


Unfortunately, the airconditioning failure was just a little bit too much and the R&D server overheated and failed, taking all the data with it, despite our efforts at recovery. The other one also died but (fortunately for us) we managed to relocate the hard disk to another computer and recover the data. Now before you laugh at us for not backing up, we do, and we were able to recover most of the data that would have been lost, but the stuff we'd been working on most recently was, unfortunately, lost.


Raspberry Pi Servers


Meanwhile, on the wall opposite, and in the same overheating conditions, was the pair of Raspberry Pi 2 we threw together up as our redundant office DNS/DHCP server. This little server had been running for 6 months when we wrote about them just after the Raspberry Pi 3 launch last year.


They have been running flawlessly since then with no more than a few reboots to upgrade them the entire time. At the time, we added the small hard disk drive with the intention of migrating our file server across to them too, but we never got around to it. Such a shame!


BitScope Blade Duo and Raspberry Pi.


We run about 32 Raspberry Pi in Blade Racks and wall mounted Blade Servers 24x7 in the same office.


Not one of them failed !


We should have moved our office and R&D file servers across already.


We're going to now!


As we wrote a few days ago, we reckon Blade DuoBlade Duo and pair of Raspberry Pi and WDLabs' PiDrive is perfect combination for replacing our old servers.


We'll write up what we've done when it's all up and running. There's nothing like a little dogfooding to prove a product idea. In fact, we have a quite a few applications in development together with the software to implement them. We'll post details soon and we'll add our new file server to the list. The fact that we've run our office DNS and DHCP and more recently a pair of WiFi AP from one Blade Duo and pair of Raspberry Pi 3 without a single hitch is testament to the reliability of Raspberry Pi when powered by BitScope Blade. They consume a fraction of the power of x86 based servers, are very low cost, and if last weekend proves anything, they don't need airconditioning or special cooling set ups to work reliably.


Post reprinted with permission from the BitScope Blog.

Following the recent launch of BitScope Blade and the case studies about the weather station in Nepal and the interactive Theremin exhibit at MAAS we received a lot of questions about which Blade is best for what purpose. Read on to learn why Blade comes in three editions and how you can best make use of them.


BitScope Blade Reloaded is our computing infrastructure platform for Raspberry Pi.


It is available in three editions; UnoUno, DuoDuo and QuattroQuattro which power and mount one, two or four Raspberry Pi and support the use of Raspberry Pi and BitScope accessories including HATs, displays, cameras and other devices. Blades may be used stand-alone or combined to build large computing platforms.


In this post we'll focus on some stand-alone examples.


GF10G blade uno hat example

So what does Blade do ?

BitScope Blade solves the “power and mounting problem” using Raspberry Pi.

A common problem when using single board computers like Raspberry Pi is how to power it reliably. The other common issue is how to mount it robustly.

These problems become more challenging when peripherals and expansion hardware such as HATs and USB are used and/or when using more than one Raspberry Pi at once.

BitScope Blade solves these problems making it easy to build small stand-alone servers, routers and workstations up to full sized compute clusters, private clouds, industrial IoT, edge and fog computing platforms, industrial data acquisition and control systems. HATs and almost any other peripheral compatible with Raspberry Pi may be used with BitScope Blade.

Blade Uno, the ideal "motherboard" for Raspberry Pi & HAT

The simplest Blade application is a motherboard for Raspberry Pi, a HAT and optionally one or more USB devices.

GF10G uno application example

For example, this BitScope Blade UnoBitScope Blade Uno is configured with Raspberry PiRaspberry Pi, Pimoroni Explorer HAT and BitScope MicroBitScope Micro to build a complete self-contained mixed signal test and measurement system.


Blade Uno provides power and mounts the Raspberry Pi, the HAT and BitScope. It accepts any source of power from 9V to 48V (so long as it’s 10W or more) with power connected via the 2.1mm socket or via the Blade tabs.


Additional accessories such as Raspberry Pi Display and one HUB Expansion Card or other SPI, I2C Serial or GPIO connected devices can also be used. The entire assembly can be mounted via the Blade's M3 mounting tabs or simply sat on a flat surface using the stand-offs.


The Raspberry Pi network port is available for network connections and/or a monitor (via HDMI), keyboard and mouse (via USB) and audio (via the 3.5mm). Full access to all the Raspberry Pi I/O is avaiable via the Explorer HAT. A "hat tip" to Pimoroni for the exceptionally handy Explorer HAT! We use this setup to help teach new users about logic protocols with BitScope Logic for BitScope Micro


Blade Duo, the ideal platform for tiny redundant "micro-servers".

For example, this Blade Duo mounts a pair of Raspberry Pi 3 and WDLabs’ PiDrive mounted on the back.

GF10G duo application example

The PiDrive is perfect for this (see our earlier post about building servers with Raspberry Pi). The PiDrive is powered via a Raspberry Pi and Blade Duo ensures there is plenty of power to drive it.


Blade Duo has the same HUB Expansion and I/O as Blade Uno and it offers auxiliary power connectors for external devices underneath each Raspberry Pi.


Using the Raspberry Pi 3 built-in WiFi the pair of Raspberry Pi can be networked to each other and/or a connected network switch or WiFi access point to configure them as a pair of servers or a router and server pair. The range of applications is huge, essentially anything you can think of using a pair of Raspberry Pi, e.g. UTM gateways, WiFi access points, VPN IPSec routers etc.


Blade Quattro, the industrial cluster platform for Raspberry Pi

A more sophisticated application for BitScope Blade, using Quattro, is a four node compute cluster.

GF10G quattro application example

Blade Quattro extends Blade Duo to power and mount up to four Raspberry Pi. Compute cluster applications such as a small private clouds, a build or render farms, web CMS any many other multi- node applications compatible with Raspberry Pi can be used.


Multiple Blades (of any edition) can be used to build very large compute clusters and a range of rack mount solutions are available to enable to physical construction, commissioning and deployment of large cluster computing systems of up to hundreds of nodes. For one excellent example of a small cluster built with Blade Quattro, check out Andy Clark's recent series about his Blender Render Farm.


In future posts we'll describe cluster computing examples ranging from 2 nodes to 200 that can be built with BitScope Blade Quattro, Duo and Uno. We'll also publish details of some software solutions such as Docker and explain some of our own tools designed to make Raspberry Pi programming and cluster management with Blade easy.


We designed BitScope Blade to unlock the huge potential of Raspberry Pi for use in industrial applications because nothing beats Raspberry Pi on price/performance, availability and viable software solutions.


We look forward to seeing what applications you decide to build with Blade!


There's more information across the element14 Community about Blade.


Post reprinted with permission from the BitScope Blog.



I want to introduce a new small project of me. It's a OLED display shield for Arduino and Raspberry Pi. The shield includes 3 buttons and leds to realize simple menues etc. The communication with the Arduino or RPi works via I2c. You will need only 4 wires to connect the shield.


Pls check this link for sample code and more information


The pcb fits perfect in our DIN rail enclosure sets for Raspberry Pi and Arduino.


Arduino OLED


Raspberry Pi

Shield front view



Interfacing 16x2 LCD by using  MCp23017 16 Bit input/output Port Expander IC with Raspberry Pi by using I2C Interface. To interact with the IC here we have used Pi4J and JAVA.



MCP23017 Features:

  16-bit input/output port expander with interrupt output

  Cascadable for up to 8 devices on one bus

  25mA sink/source capability per I/O

  Supports 100kHz, 400kHz and 1.7MHz I2C™Compatible compatible    modes


Intro visual Source:

MCP23017 Details :


Links :

I2C Communication on Pi :

16x2 LCD with Pi :

Java Application on Pi Playlist:

Schematic :

Pi4J GPIO Numbering :

Download Pi4J Library :

Code :



Subscribe YouTube :


Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.


Website :


Connecting MCp23017 16 Bit input/output Port Expander IC with Raspberry Pi by using I2C Interface. To interact with the IC here we have used Pi4J and JAVA.


MCP23017 Features:

  16-bit input/output port expander with interrupt output

  Cascadable for up to 8 devices on one bus

  25mA sink/source capability per I/O

  Supports 100kHz, 400kHz and 1.7MHz I2C™Compatible compatible    modes


Intro visual Source:

MCP23017 Details :


Links :

Java Application on Pi Playlist:

Schematic :

Pi4J GPIO Numbering :

Download Pi4J Library :

Code :



Subscribe YouTube :


Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.


Website :

Twitter :

YouTube :

Instagram :



Dear: Element 14 Community


I am letting you guys know I am building a raspberry pi cluster based off of a laser cut frame I designed and cut on a laser cutter and designed with librecad.


Let me just explain first of all my experiences as an engineer. Here are a list of accomplishments I have made within the past few years.


  • Built a video game for xbox 360 from XNA C#.
  • Built a 3D printer.
  • Built several robots with Arduino.
  • 3D printed a  ton of junk in my basement.
  • Working on a new 3D printer.
  • Did first robotics and learned netbeans ide.
  • and more...

I also have used a raspberry pi before. I recently got a raspberry working with an lcd display and raspbian. Here are a list of parts I need to continue the project.

  • 60 * m2.5 X 15mm bolts.
  • 15 * RPi3
  • A ton of Ethernet cables
  • A 15 usb port usb bus
  • A 15 Ethernet port Ethernet bus
  • usb micro cables.

I would also need to accomplish the following.


  • Powering 15 raspberry pis.
  • Getting 15 raspberry pi's in a  cluster.
  • Mounting and keeping things organized in the cluster.
  • Program a code breaking algorithm.


Wish me good luck!!! Thanks!!!

This's a pretty clever design, and I thought to myself "it wouldn't take much to make these into actual cartridges, if the Pi Compute was used as an edge connector".


Still, the images speak for themselves, and the creator used Berryboot to allow the OSs to be changed easily.


{gallery} Raspberry SUPER PI


Super Pi: Switch OS by switching cartridges


Super Pi: Looks almost like a SNES


Super Pi: Especially when next to a controller


Source: Imgur Gallery / blog




How would you design this differently? I think this makes it very accessible for people of all ages, and microSD cards are so small these days they're easy to lose...


Showing messages on 16X2 LCD display by interfacing with Raspberry Pi using JAVA and Pi4J library.

Intro visual Source:


Links :

Java Application on Pi Playlist:

Schematic :

Pi4J GPIO Numbering :

Download Pi4J Library :

Code :


Subscribe YouTube :



Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.



Website :

Twitter :

YouTube :

Instagram :




Raspberry Pi 3 Block Diagram

Posted by shabaz Top Member Jan 16, 2017

This is just a High Level Diagram approximation of what the Pi 3 consists of.

It is based on various bits of information on the Internet, and could be incorrect in places.

If you have any corrections, or additional bits of information/suggested tweaks, please let me know and I'll get the diagram updated.




Diagram revision: 4

So, I don't know if you've seen, but there's a brand new Raspberry Pi Compute module launching today!


As you guys know, having been around the Raspberry Pi block quite a few times, the Compute module isn't really aimed at the makers among us -- this is more for a commercial, or industrial market, where the brains of a Pi need to be embedded inside a prototype, platform, or some other manner of professionally-built project.


But we'd still be interested in hearing your thoughts on this new iteration of the device, which offers a very different form factor from the Raspberry Pi SBC (this being a SOM, instead (System on Module)) along with a significantly extended GPIO interface.


The Raspberry Pi Compute Module 3 & Compute Module 3 Lite

The original Compute module was built around the BCM2835 processor, which was also found on the RPi B+. Although the Raspberry Pi SBC has seen a couple of iterations since then, this is the first update to the Compute platform that's been released (nope, there's no Compute Module 2 -- you didn't miss something!).


It contains the BCM2837 process, the same as the Raspberry Pi 3, and its RAM has been doubled to 1GB. The Compute Module 3, just like its predecessor, has 4GB of eMMC flash memory in lieu of needing an SD card for the OS and storage. Though if you're wanting to slim things down, the Compute Module 3 Lite dispenses with the eMMC flash memory, and exposes the pins via the edge connector instead.

Compute Module 3 Breakout V2.png

Raspberry Pi Compute Module 3 Development Kit

As with the original Compute Module, there's an IO breakout board available that's very similar to its older brother. One of the primary purposes of the Compute Module itself is for prototyping, and this board allows you to prepare your Compute Module 3 for that function.


It offers easy pin access to all those many, many, lovely GPIOs, and now includes a microSD port for the Compute Module 3 Lite (on account of it not having the built-in eMMC flash memory).

Compute Module 3 Dev Kit Breakout.png


So, there's your brief overview of the Compute Module 3, with a more in-depth look at the three boards over here, and we'd love to hear your thoughts on this latest addition to the Raspberry Pi family in the comments below!

Filter Blog

By date: By tag: