PiOLED Not working at all
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: PiOLED Not working at all

by dr_kiuchi on Tue Dec 29, 2020 3:07 pm

crashmoon wrote:
aphexx0407 wrote:How did you say it's faulty ? Is it because you are still getting some ads?

No, the Pi-hole ad blocking is working ok (on my laptop at least, still trying to get it working on my mobile)
Just the PiOLED screen is not displaying anything.

Running into the same exact issue. When I run stats.py nothing happens:
[pi@raspberrypi:~ $ sudo python3 ~pi/stats.py

^CTraceback (most recent call last):
File "/home/pi/stats.py", line 136, in <module>

Pihole works fine, but can't get the OLED to work.
Screen Shot 2020-12-29 at 11.02.38 AM.png
oled not working commands look good
Screen Shot 2020-12-29 at 11.02.38 AM.png (200.24 KiB) Viewed 22 times

Posts: 3
Joined: Tue Dec 29, 2020 2:58 pm

Re: PiOLED Not working at all

by adafruit_support_carter on Mon Jan 04, 2021 2:55 pm

@dr_kiuchi Please start a new thread for your issue.

Posts: 18190
Joined: Tue Nov 29, 2016 2:45 pm

Re: PiOLED Not working at all

by dr_kiuchi on Mon Jan 04, 2021 5:52 pm

Posts: 3
Joined: Tue Dec 29, 2020 2:58 pm

Re: PiOLED Not working at all

by MicahMakenzie on Mon Jan 11, 2021 7:03 am

aphexx0407 wrote:That is correct. I have a bit of knowledge troubleshooting Windows based PC but I am totally new to raspberry with Raspbian OS. I also bought the same kit as yours and I thought it would just be plug and play, straight forward. But I was surprised when I got the package with the bare kit. Tried to plug it with a USB power supply and like what you mentioned the green LED just blinked with nothing on the small LCD screen. I know this one has a wireless connectivity but I know there is no way the Pi Zero WH would connect to my wifi without setting up involved. I went ahead and bought a mini HDMI to HDMI cable but silly me I didn't noticed Pi Zero only has 2 micro USB ports, and one is for power. So no luck for me in the beginning. Persuasion bore fruit, after a couple of cigarettes I figured out a way to get it to work.

The link provided above will allow you to setup your Mini AdBlock Pi Zero WH with headless installation, meaning you do not need to connect the Pi Zero WH to a monitor with keyboard and mouse. You can setup the device using another computer via SSH. All you need to get everything working are as follows:

- another computer connected to the internet
- a card reader to connect your microsd card into your computer (not needed if your PC has a card reader built-in)
- SD Card Formatter software which you can download and install for free
- Balena Etcher software which you can also download for free
- PuTTY software to SSH your PC with the Pi Zero WH
- latest Raspbian Buster Lite
- Bonjour Print Services for Windows 2.0.2, link http://support.apple.com/kb/DL999. That needs to be installed on your computer if you are running Windows OS

The microsd card that came with the package has NOOBS 2.8 pre-installed but I didn't got to use it as I did a headless setup. What I did was format the microsd card using the SD Card Formatter software then burned (copied) the Raspbian Buster Lite zip to the microsd card using Balena Etcher. Once that is done and the software verified a successful burn you will then have your microsd drive labelled as BOOT (or boot). Inside the microsd card are set of files needed to run the Raspbian OS.

Please note before inserting the microsd card back to the Pi Zero WH you will need to create a wpa_supplicant.conf file to get your Pi connected to your wi-fi network. I used Notepad++ to make one, if you can't or don't know how to make one I will give you a download link (https://drive.google.com/file/d/1kqzXwJXWD7avThWZ13SGPNiw1EH3LViC/employee monitoring software/view?usp=sharing) for the file, just use the Notepad++ (free to download) to edit the file with your SSID and wifi password--click only Save, not Save As. Refer to this link https://learn.adafruit.com/raspberry-pi-zero-creation/text-file-editing for a step by step tutorial.

You also need to make blank SSH file, link to download is https://drive.google.com/file/d/1bh1hL10frpz9JSiXR5-y-zv6blTMWZdR/view?usp=sharing

Those two files are not available inside your microsd card by default so you will need to create them, I gave you some download links to make it easier for you. You also need to configure the config.txt file which will be discussed on the link above.

Once that is done you can then remove the microsd card from the computer and insert it in your Pi Zero WH. You can then proceed to power ON your Pi Zero WH, give it a couple of minutes to do its thing. In order to know if your Pi Zero WH is connected to your wifi or network you will need to go to your router's settings page. You need to check if it is listed as one of the device connected to your network, if it is connected make sure to remember the IP address that was assigned.

Then you can run PuTTY on your computer and SSH to your Pi Zero WH. Just put in the IP address of your Pi device to establish a connection, you will be asked for a username and password. Username is pi and password is raspberry. Once a connection is established you can then proceed to this tutorial https://learn.adafruit.com/raspberry-pi-zero-creation/first-login

I just want to join and say thank you, even if it's too late :)

Posts: 1
Joined: Mon Jan 11, 2021 6:34 am

Please be positive and constructive with your questions and comments.