OrangeJello
Posts: 4
Joined: Wed Oct 19, 2016 11:56 pm

What would cause delay in IOT demonstrator lesson?

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?

hcv90676
Posts: 10
Joined: Fri Oct 14, 2016 11:54 am

Re: What would cause delay in IOT demonstrator lesson?

Thu Oct 20, 2016 7:32 am

It depends on the amount of delay. Some guesses: background app blocking the transfer or network delay.

hasnext java

Return to “Beginners”