{"id":311,"date":"2010-09-19T20:16:00","date_gmt":"2010-09-19T20:16:00","guid":{"rendered":"http:\/\/new.cottee.org\/2010\/09\/arduino-servos-and-scada\/"},"modified":"2010-09-19T20:16:00","modified_gmt":"2010-09-19T20:16:00","slug":"arduino-servos-and-scada","status":"publish","type":"post","link":"https:\/\/cottee.org\/?p=311","title":{"rendered":">Arduino, Servos and SCADA"},"content":{"rendered":"<p>&gt;<\/p>\n<p>This weekend I was going to play around with servos and motors, but due to a missing diode I only got the servo working, displayed below. Yes, that\u2019s a matchstick attached to it with Blu-Tac.<\/p>\n<div id=\"scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:ab9f6d1f-8404-4265-ba53-9dff11de05fe\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; display: inline; float: none; padding: 0px;\"><a title=\"\" href=\"http:\/\/lh3.ggpht.com\/_CWGtck4wwhI\/TJZvcc07Q7I\/AAAAAAAAEC0\/FeZOs8KU-2U\/020-8x6.jpg?imgmax=800\" rel=\"thumbnail\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lh5.ggpht.com\/_CWGtck4wwhI\/TJZvfJuipuI\/AAAAAAAAEC4\/jZkwa308mm8\/020.png?imgmax=800\" width=\"345\" height=\"278\" border=\"0\" \/><\/a><\/div>\n<p>The processing language is actually very nice to play with. If I squint and pretend it\u2019s Javascript then I can write in it without missing python too much.<\/p>\n<p>The whole purpose of playing around with electronics is deep down I\u2019d like to know a bit more about the factory floor hardware side of things. I\u2019ve written a lot of software for factories but hardware tends to be black box stuff. When I couldn\u2019t find the diode I needed I instead thought I\u2019d see if I could get somewhere with a\u00a0<a href=\"http:\/\/www.directics.com\/fpga-board\/\">Direct ICS<\/a> plugged to an Arduino and <a href=\"http:\/\/en.wikipedia.org\/wiki\/SCADA\">SCADA<\/a>. Turns out you can. You need some modbus client code from <a href=\"http:\/\/en.wikipedia.org\/wiki\/SCADA\">here<\/a> and the <a href=\"http:\/\/mango.serotoninsoftware.com\/\">Mango M2M system<\/a> from here.<\/p>\n<p>What was supposed to be hardware time ended up playing around a lot with Java, Tomcat and understanding what modbus is and does. But at the end of the evening (I packed it in early, I was whacked) I saw this on the Mango interface \u2026<\/p>\n<div id=\"scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:e0ff41c8-2ef5-4f36-8e15-07cb5a009d87\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; display: inline; float: none; padding: 0px;\"><a title=\"\" href=\"http:\/\/lh5.ggpht.com\/_CWGtck4wwhI\/TJZvfh6sF6I\/AAAAAAAAEC8\/qcQAcUq3o3E\/arduino-modbus-1-8x6.png?imgmax=800\" rel=\"thumbnail\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lh5.ggpht.com\/_CWGtck4wwhI\/TJZvgh10hNI\/AAAAAAAAEDA\/SM0gR47Gb38\/arduino-modbus-1.png?imgmax=800\" width=\"300\" height=\"341\" border=\"0\" \/><\/a><\/div>\n<p>That \u20181\u2019, in the Nodes found list, is the sweet smell of success. Next step would be to fit some sensors on the Arduino and get Mango to monitor them.<\/p>\n<div class=\"blogger-post-footer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/tracker\/9210244490645736884-5021923791820419066?l=blog.cottee.org\" alt=\"\" width=\"1\" height=\"1\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&gt; This weekend I was going to play around with servos and motors, but due to a missing diode I only got the servo working, displayed below. Yes, that\u2019s a matchstick attached to it with Blu-Tac. The processing language is actually very nice to play with. If I squint and pretend it\u2019s Javascript then I can write in it without missing python too much. The whole purpose of playing around with electronics is deep down I\u2019d like to know a&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/cottee.org\/?p=311\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-311","post","type-post","status-publish","format-standard","hentry","category-oldsite"],"_links":{"self":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=311"}],"version-history":[{"count":0,"href":"https:\/\/cottee.org\/index.php?rest_route=\/wp\/v2\/posts\/311\/revisions"}],"wp:attachment":[{"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cottee.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}