What would cause delay in IOT demonstrator lesson?
Posted: Thu Oct 20, 2016 12:18 am
Hello everyone!
I have a question regarding one of the lessons under 'Networking Lessons' that links to this tutorial on setting up a basic Internet of Things demonstration:
http://blog.whaleygeek.co.uk/raspberry- ... onstrator/
Basically, one Pi is polling a GPIO that has a switch and sends that status over Ethernet to another Pi that then drives an LED on or off based on the switch status.
I have two Pi's running Raspian Jessie connected via an L2 switch and both Pi's have static IP's set. The basic functionality is working perfectly but I noticed that there's a delay between changing the switch state and the LED changing.
What could be causing this delay? Is it the GPIO polling or the network interface?
I have a question regarding one of the lessons under 'Networking Lessons' that links to this tutorial on setting up a basic Internet of Things demonstration:
http://blog.whaleygeek.co.uk/raspberry- ... onstrator/
Basically, one Pi is polling a GPIO that has a switch and sends that status over Ethernet to another Pi that then drives an LED on or off based on the switch status.
I have two Pi's running Raspian Jessie connected via an L2 switch and both Pi's have static IP's set. The basic functionality is working perfectly but I noticed that there's a delay between changing the switch state and the LED changing.
What could be causing this delay? Is it the GPIO polling or the network interface?