Getting started with my tiny computer "Raspberry Pi Zero W"

­­­­­

This should be one of many posts about Raspberry Pi Zero W - At least this is what I intend to do-

Since along period I wanna get this tiny chip and start playing with it, I googled alot and checked amazon and I was always in doubt about which tiny chip/computer I should get Raspberry Pi or Arduino what was making it not an easy decision was that I wanted to play most probably with robotics so some would recommend Arduino for this kind of projects that deals with electronics but also I liked the capabilities/possibility that Raspberry Pi is offering to have a tiny computer that you can carry in your smallest pocket and at any time you could connect it to a screen with mouse and keyboard and now you are good to go with your PC (tiny one) but at that time you would need to buy some set of things to have this done

  1. Wifi USB dongle

  2. USB hub to be able to connect different peripherals (keyboard, mouse and the Wifi USB dongle)
  3. some other electronics stuff (for robotics projects) such as GPIO, GPIO to Breadboard Interface Board, Ribbon Cable, Jumper Wires and Resistor ...

and off-course the more you need the more doubts you will get. for example which wifi dongle I should get and which usb hub, ... etc

This is why when I have heard about what Raspberry Pi Zero I decided to get it immediately as it removes some questions (Wifi dongle and USB hub ones)

 

And as this is my first time to play with Raspberry Pi so I got a complete "Starter Kit Pi Zero W" so that I can get it working easily as I'm a newbie.

 "Starter Kit Pi Zero W" which includes all of the following:­

­

 # Item­
Image
 1 ­Raspberry Pi Zero W

­­­­

2 Mini-HDMI to HDMI Adapter

­
 3 Micro-USB to USB Adapter

The small piece in the picture above

 4 Power supply 5V 2.5A

You could use any mobile charger.

­
­

 5 Header GPIO 2x20 ­­
­
 6 SanDisk 4GB Micro SD Card ­
­
 7 Case for PI ZERO ­­
­
­­
­

 After connecting all the parts and connecting the Pi to my TV screen and powering the Pi on nothing get displayed on the screen, no led nothing at all as if the board is dead.

I start doubting that may be the board has problem, or may be it needs keyboard to start booting.

After a while I start verifying each part alone start verifying that the Power supply work by connecting it to my mobile phone and it was ok. then it was either the board or the SD so I searched for SD Card Reader (My GO Sport Cam one) and by trying to read its content on my laptop I found it was empty this is why.

Now I need to flash my SD card to be able to boot my Raspberry Pi but I have another problem which is I don't have external Keyboard.

so after some searching I found a nice post

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

Yes the Pi booted up and I started seeing some led lights but again nothing get displayed on the screen so I tried several times to try to connect to the Pi through the USB but never works as It should appear as a USB Ethernet device but it never did.

First there was a problem with the HDMI connection to the TV and I found the solution here

HDMI monitors says NO SIGNAL

simply you have to edit the config.txt

and make sure it has the following;

hdmi_force_hotplug=1

after this fix now the Pi connected successfully to my TV and I can see it booting on the screen.

but since I have no Keyboard I couldn't log to the Pi to check its network configuration so that I can SSH it.

but I found the solution in this post Automatically Apply A WiFi Network Configuration To A Raspberry Pi­

simply by creating wpa_supplicant.conf file and placing in it my Wifi information something like

 

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
    ssid="NETWORK_NAME"
    psk="WPA_PASSWORD"
}

 

then after  booting the Pi I logged in to my router to know which IP has been assigned to the Pi then after was able to SSH the Pi from my laptop
(username:pi and password: raspberry)

Powered by Drupal - Design by artinet