October 22, 2017
This is an on-going personal project to build a system to test IoT applications.
Typically, IoT platorm will transfer data (from sensors) to somewhere, as well as receiving commands and perform some actions. When testing such systems, concerns are:
These are big and intractable problems, however. My smaller plans is as followed:
Hopefully, with this, we can simulates IoT running on both 3G and wireless/wired setup.
Both models are selected because they offer Wifi chipset.
This result in less wiring and doesn’t require a switch, too.
Since it’s a bit hard to plug things into the Pi Zero (keyboard and HDMI), I needed Pi 3.
However, one Pi 3 should have been enough. Pi Zero seems to be the best candidate for this test
setup, since it’s cheap and have a small physical profile.
I tried to install a custom Ubuntu server image for ARM on them, but haven’t managed to boot up.
Hence, Raspbian was installed.
After booting, the Wifi can be configured by adding this into /etc/wpa_supplicant/wpa_supplicant.conf:
After reboot, the Pi got their IP from the router.
Granted, this might not guarantee enough power supply for the Pi 3 (max at 2.1 A, instead of 2.5),
but things has been working okay so far
I picked this specifically because the chipset is known to support OpenWRT well.
Flashing a OpenWRT image on this seems easy, as the stock router provided GUI to flash itself.
Hence, all I needed to do was downloading an image & use the web UI.
The postings on this site are my own and don't necessarily represent my
employer’s positions, strategies or opinions.
© Huu Khiem, 2017 — built with Jekyll using Lagom theme