Project Description
This project tries to feed an Arduino values to control motors and send the values via JSON arrays. The Arduino (with an Ethernet Shield) acts as a client, and my laptop acts as a server. JSON array id parsed with simple values (X:400, Y:200, Z:0, etc), and send it over the connection. However, for any set of values other than (X:0, Y:0, Z:0, etc), the connection lags. The connection doesn’t STOP (I have debug statements to catch that), it simply hangs there. Nothing happens after that point – the server and the client just kind of wait forever.
ending JSON arrays over Arduino Ethernet – only works for 0s
Data: 2015.04
Source: http://www.scriptscoop.com/t/0ccbf24b117b/sending-json-arrays-over-arduino-ethernet-only-works-for-0s.html
Author: Aaron Tp@ http://www.scriptscoop.com/
Tag: 2015.04, W5100, Ethernet Shield, JSON, QuadMotorShields, HTTPClient, Tutorials
COMMENTS