{"id":32,"date":"2017-10-11T11:07:30","date_gmt":"2017-10-11T09:07:30","guid":{"rendered":"http:\/\/www.fgindustrial.it\/?p=32"},"modified":"2018-09-17T07:27:58","modified_gmt":"2018-09-17T05:27:58","slug":"fgtimer-4","status":"publish","type":"post","link":"https:\/\/www.fgindustrial.it\/?p=32","title":{"rendered":"fgTimer 4"},"content":{"rendered":"<div>\n<div>\n<div>\n<p>Materiale Necessario per la realizzazione<\/p>\n<ul>\n<li>1x Arduino Mega 2560 R3<\/li>\n<li>1x fgMega Shield <a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield\" rel=\"nofollow\">(https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield<\/a>)<\/li>\n<li>1x relais module with 4 relais<\/li>\n<li>1x Nextion HMI Display 2.8&#8243;<\/li>\n<li>1x DHT11 temperature and Humidity sensor<\/li>\n<li>1x Light sensor<\/li>\n<li>1x ESP-8266 (ESP-01)<\/li>\n<li>1x RTC Clock (DS1302 or DS1307)<\/li>\n<li>1x SD or MicroSD Card module<\/li>\n<li>1x Power supply with dual voltage (dc 9 + dc5)<\/li>\n<li>1x C14 power connector<\/li>\n<li>1x Power Switch fo AC<\/li>\n<li>1x 12mm 4 Pin Male &amp; Female Aviation Plug Wire Panel Connector GX12<\/li>\n<\/ul>\n<\/div>\n<div>\n<div>Step for building (working progress&#8230;)<\/div>\n<div><\/div>\n<div>\n<table style=\"height: 3150px;\" border=\"1\" width=\"844\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>\n<div>\n<div>1) Print\u00a0<a href=\"http:\/\/www.thingiverse.com\/download:2325491\" target=\"_blank\" rel=\"nofollow noopener\">bottom case<\/a><\/div>\n<\/div>\n<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_090.png?attredirects=0\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_090.png?height=224&amp;width=400\" width=\"400\" height=\"224\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>\n<div>\n<div>2) Print\u00a0<a href=\"http:\/\/www.thingiverse.com\/download:2325490\" target=\"_blank\" rel=\"nofollow noopener\">Top case<\/a><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_091.png?attredirects=0\"><img decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_091.png?height=243&amp;width=400\" width=\"400\" height=\"243\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>3) Print Sensors case (<a href=\"http:\/\/www.thingiverse.com\/download:2325710\" target=\"_blank\" rel=\"nofollow noopener\">part 1<\/a>\u00a0and\u00a0<a href=\"http:\/\/www.thingiverse.com\/download:2325711\" target=\"_blank\" rel=\"nofollow noopener\">part 2<\/a>)<\/div>\n<\/div>\n<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_092.png?attredirects=0\"><img decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_092.png\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\u00a04) Print\u00a0<a href=\"http:\/\/www.thingiverse.com\/download:2329148\" target=\"_blank\" rel=\"nofollow noopener\">&#8220;Mammut&#8221; support<\/a><\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_093.png?attredirects=0\"><img decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_093.png?height=160&amp;width=400\" width=\"400\" height=\"160\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>5) create a PCB Shield for Arduino Mega<\/div>\n<div>or buy my\u00a0<a href=\"http:\/\/www.ebay.it\/sch\/i.html?_from=R40&amp;_trksid=p2047675.m570.l1313.TR0.TRC0.H0.XfgMega+Shield.TRS0&amp;_nkw=fgMega+Shield&amp;_sacat=0\" target=\"_blank\" rel=\"nofollow noopener\">fgMega Shield<\/a>\u00a0with or without parts<\/div>\n<\/div>\n<\/td>\n<td>\u00a0<img decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1460848160137\/home\/fgMEGA_2.jpg\" \/><\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>6) Mount the Arduino Board to the botton case<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>7) Mount the PCB Shield over the arduino board<\/div>\n<div><\/div>\n<div>8) Install the Relay Board (I have used 2&#215;2 reails module)<\/div>\n<div><\/div>\n<div>9) Mount the C14 Power Plug<\/div>\n<div><\/div>\n<div>10) Mount the Power Switch<\/div>\n<\/div>\n<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_100.png?attredirects=0\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_100.png?height=262&amp;width=400\" width=\"400\" height=\"262\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>11) Prepare the Mammut Support and install into the 4 Mammut or similar connector<\/p>\n<p>12) Mount the &#8220;Mammut Support&#8221; onto Reails Module (I have fixed it with a double side Adhesive)<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_101.png?attredirects=0\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_101.png?height=255&amp;width=400\" width=\"400\" height=\"255\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>13) Install the Power Supply (+9V and +5V)<\/p>\n<p>14) Install SD card Reader on the left on Power Module<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_102.png?attredirects=0\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_102.png?height=275&amp;width=400\" width=\"400\" height=\"275\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>15) Install the Nextion Display on case<\/p>\n<div><\/div>\n<div>\n<div>\n<div>16) connect Nextion Display to PCB (<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield\/connessione-display-touch-screen\" target=\"_blank\" rel=\"noopener\">link<\/a>)<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_103.png?attredirects=0\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_103.png?height=265&amp;width=400\" width=\"400\" height=\"265\" border=\"0\" \/><\/a><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>17) Connect the External Sensors<\/td>\n<td>\n<div>\n<div><a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/fgtimer-4---collegamenti\/14.jpg?attredirects=0\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/14.jpg?height=207&amp;width=320\" width=\"320\" height=\"207\" border=\"0\" \/><\/a><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/_\/rsrc\/1463943875874\/fgtimer-4\/fgtimer-4---collegamenti\/fgTimer_092.png?height=228&amp;width=400\" width=\"400\" height=\"228\" border=\"0\" \/><\/p>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<div>18) Upload the\u00a0<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/project-files\/Screen.HMI?attredirects=0&amp;d=1\" target=\"_blank\" rel=\"noopener\">nextion HMI files<\/a>\u00a0thru Nextion editor (connect a USB to Serial adapter to specific ports on fgMega Shield, remember to switch off the connection using dip switch)<\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>\n<div>\n<div>19) Connect a RTC Clock (<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield\/connessione-rtc-clock\" target=\"_blank\" rel=\"noopener\">link<\/a>)<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<div>\n<div>20) Connect a ESP-01 WIFI Adapter (<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield\/connessione-rtc-clock\" target=\"_blank\" rel=\"noopener\">link<\/a>)<\/div>\n<\/div>\n<div><\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<div>21) Connect the Relais Module (<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield\/connessione-relais\" target=\"_blank\" rel=\"noopener\">link<\/a>), remember to use an external power adapter for Relais Module (use a 5v)<\/div>\n<div><\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<div>22) Upload the\u00a0<a href=\"https:\/\/sites.google.com\/site\/pegasocubeproject\/fgtimer-4\/project-files\/fgTimer4.ino?attredirects=0&amp;d=1\" target=\"_blank\" rel=\"noopener\">arduino project<\/a><\/div>\n<div><\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<div>under contruction<\/div>\n<div>\n<p>23) Prepare the external sensors case and cabling it by the following schema24)<\/p>\n<div>\n<div>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>\n<div>\n<div>\u00a0&#8230;.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Materiale Necessario per la realizzazione 1x Arduino Mega 2560 R3 1x fgMega Shield (https:\/\/sites.google.com\/site\/pegasocubeproject\/home\/fgmega-shield) 1x relais module with 4 relais 1x Nextion HMI Display 2.8&#8243; 1x DHT11 temperature and Humidity sensor 1x Light sensor 1x ESP-8266 (ESP-01) 1x RTC Clock (DS1302 or DS1307) 1x SD or MicroSD Card module 1x Power supply with dual voltage &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.fgindustrial.it\/?p=32\" class=\"more-link\">Leggi tutto<span class=\"screen-reader-text\"> &#8220;fgTimer 4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":33,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[5],"_links":{"self":[{"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":3,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/57"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=\/wp\/v2\/media\/33"}],"wp:attachment":[{"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fgindustrial.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}