SmartAzanClock.com
Raspberry Pi Setup Instructions
Instructions to set up a Raspberry Pi Smart Azan Clock with wired speakers in kiosk
mode without attaching a monitor, keyboard or mouse ("headless setup").
- Required Hardware
- Raspberry Pi Kit
- Speakers
- Download Software & Tools
- Burn Raspberry Pi OS to SD Card using Etcher
After Etcher writes & verifies the card it'll eject it. Remove the card reader from your computer and
insert it back in.
If your computer asks to format the card again click on Cancel/No. You'll now see a new drive on your
computer named "Boot".
- Connect to your WiFi
Add a new file named "wpa_supplicant.conf" to the root folder of Boot Drive with the following
content. (Use your WiFi credentials for ssid and psk.)
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="YOUR_WIFI_NETWORK_NAME"
psk="YOUR_WIFI_PASSWORD"
key_mgmt=WPA-PSK
}
- Enable SSH
Add an empty file named "ssh" to the root folder of Boot Drive.
- Insert SD Card into RPi & power it on.
- Connect using PuTTY
Try raspberrypi or raspberrypi.local as the host name. If these don't work you'll have to
find out RPi's IP address from your router manager.
- Change default password
RPi's default username: pi
password: raspberry
Run passwd command and follow the instructions.
- Update all Raspberry Pi OS Packages to latest
sudo apt-get update
sudo apt-get upgrade
sudo reboot
- Update Chromium Browser to latest
sudo apt-get install chromium-browser
- Set up kiosk mode on initial start up
cd ~/.config
sudo mkdir -p lxsession/LXDE-pi
cd lxsession/LXDE-pi
sudo nano autostart
Copy & paste the following content to autostart file
@@lxpanel --profile LXDE-pi
@@pcmanfm --desktop --profile LXDE-pi
#@@xscreensaver -no-splash
@@point-rpi
@@xset s off
@@xset s noblank
@@xset -dpms
@@chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk https://smartazanclock.com/
- Enable VNC and remote desktop to RPi (optional)
sudo raspi-config
Select "Interfacing Options". Enable VNC and Finish.
You can connect to your RPi using RealVNC and see Smart Azan Clock in action.
You can add a bluetooth speaker, adjust device volume and change app settings directly on the device.
- Reboot
sudo reboot
For any questions or suggestions please contact us at
smartazanclock@gmail.com.
Back to SmartAzanClock.com