FishinoHomeAuto - Page 3

Sketch execution

Let's insert our microSD card in Fishino's slot and connect usb cable to PC, then open serial monitor and look ati it!
If all is ok, we shall see some info about the WiFi connection and the enabled appliances :
Serial monitor log :

Resetting Fishino...OK
Connecting AP...OK
Waiting for IP.........OK
IP Address :192.168.1.251
Setting up SD card...
Found 12 appliances
l1:0:2
l2:0:3
l3:0:5
l4:0:6
l5:0:8
l6:0:9
l7:0:15
l8:0:16
l9:0:17
l10:0:18
l11:0:19
t1:3:0
Init done
Web server starting...
Ready to accept HTTP requests...​
Log explanation

Monitor's log shows us that :
  • We're connected to our access point with IP address 192.168.1.251
  • 12 appliances were found in our domotic house
  • First 11 appliances, named from L1 to L11 are connected to digital outputs (:0) at ports 2, 3, 5, 6, 8, 9, 15, 16, 17, 18 and 19
  • Latest appliance, named T1, is an analogic input (:3) connected to Fishino's A0 analog port
  • Initialization was successful (Init Done)
  • System is ready for remote connections (Web server starting...Ready to accept HTTP requests...)
Log messages are short (and mostly not very clear!) because we need to keep RAM usage as low as possible, as this application pushes Fishino UNO's (and Guppy's) RAM near its limit; using a Fishino MEGA or aFishino32 we could make them more clear!
We can now check the system opening our browser.