Development of an Arduino-Based Trainer for Building a Wireless Sensor Network in an Undergraduate Teaching Laboratory