Step 4: Completing the assembly

If you also want the indoor temperature and humidity, follow these steps:
1. Build a small circuit with DHT22, Vcc goes to Arduino Vcc, GND to the Arduino GND and a 10K Ohm resistor from Vcc to the data pin.
2. Connect the data-pin of DHT22 to pin 3 of the Arduino
After some period of time, I found few missing icons of weather and added those to the code. See the file GoogleWeather.zip<br><br>
<p>Hi there zmashiah!</p><p>First of all I want to say that it is a really great project!</p><p>I have a few questions.</p><p>I'm using Arduino Mega for this project+ Ethernet Shield how should I connect the the display (i'm using uLCD-32PT display as you suggested) to the arduino with the shield on? just to note the shield uses pins number 0-13 on the pwm side and 0-7 on the analog side. can I use Rx1 and Tx1 instead the pins you recommended? and should i change something in the code if I do so?</p><p>another question will I still be able to see the weather? since I can't really see if google still supports weather service.</p><p>Thanks alot!</p>
<p>Thank Rocky575,</p><p>Please note that Google end-of-life the weather web service. I have published another similar project that is based on Netduino Plus, with similar display as in here and it relies on Weather-Underground as weather data provider. The code there is easily ported to any of the newer Netduino members (C# coding is much simpler).</p><p>With respect to your question: You can modify the code to use different Serial port (UART), but as I am not familiar with shields you use, I can say if you can keep them stacked on the Mega with no collisions or not.</p>
<p>Here is a new UART TFT LCD, it support the WYSIWYG editor to build your UI in PC and download it via USB. It can be control by Arduino via UART, so just use the Serial.print() you can make it display many images. And do't worry about the font ! You can build it yourself and download to the TFT LCD.</p><p>Its indigogo page here with detailed in introduce:Amazing price!! 10USD 2.4&quot; with free shipping.....</p><p><a href="https://www.indiegogo.com/projects/nextion-a-cost-effective-high-performance-tft-hmi/x/4283045" rel="nofollow">https://www.indiegogo.com/projects/nextion-a-cost-...</a></p><p>Here is 2 blogs about using the Arduino to build the UI tutorial:</p><p><a href="http://blog.iteadstudio.com/product-preview-nextion-in-an-arduino-project-2/" rel="nofollow">http://blog.iteadstudio.com/product-preview-nextio...</a></p><p><a href="http://blog.iteadstudio.com/product-preview-nextion-in-an-arduino-project-3/" rel="nofollow">http://blog.iteadstudio.com/product-preview-nextio...</a></p>
Is there a way to make this an updatable file? I need a file/s that not only can run Google maps but also a compass, weather display and temperature monitoring feature with display.
Not sure what you mean updateable file. You can extend this as you like pretty easily. Having said that note that Google stopped supporting this weather service. I have another project on Instructables that uses Netduin+ to lookup weather data from WeatherUnderground. That one is pretty neat and work smoothly.
<p>is it possible to make it work with wifi shields?</p>
<p>Pretty confident you can. I don't have one and never tried it, but I would think that aside from setup() that needs to initialize the WiFi shield instead of the Ethernet all the rest would be the same.</p>
<p>I'm going to buy a wifi shield and give it a try, if it work, I'll post it. Thanks!</p>
<p>Just before you build this one, take a look at a different one I built that uses Netduino Plus and gets the data from Weather Underground. Much better if you ask me, and the latter is working in my living room for almost 3 years now</p>
This is an extremely impressive project. Thanks for sharing it! The LCD display is so cool!
Thanks you! After some time, I built a different one: <a href="http://www.instructables.com/id/Weather-Underground-on-graphical-display-with-Netd/" rel="nofollow">http://www.instructables.com/id/Weather-Underground-on-graphical-display-with-Netd/</a> that uses a Netduino but same video card and screen. Got several more improvements there over time too.
Really great work thanks for instructions. <br> <br>I'm also doing one application which may need to use some of your ideas. I'm not using any ethernet support in my application so i'll go with Arduino Uno and uVGA II. <br>In my application i've to write code for Arduino and connect to VGA monitor through uVGA. <br> <br>The catch here is data which is going to display on monitor ll be data transfered by some other system to my main Arduino board (may be via wireless media) and one more thing is i need to produce output with resolution 1024*768 or higher... <br> <br>Any one can help me out. Will the same setup support my requirements?????. <br> <br>Thaks <br>harish
From what I know the uVGA does not have such high resolution.From their site you will see the supported resolutions:<br>Supports the following resolutions, <br> - 320 x 240 (QVGA) <br> - 640 x 480 (VGA) <br> - 800 x 480 (WVGA)<br>If the required resolution is a strong requirement, go for Rasbery PI (but it has HDMI connection not VGA).<br>
Is any other vga controllers avilable with 1024*768 or higher resolution compatible to any other boards????
Not that I know of. Please remember you have ONLY 2KB of RAM on Arduino (unless you are using Arduino Mega). There is very little you can do with it for driving a detailed 1024x768 resolution screen.<br><br>Rasbery PI is a nice embedded board, cost in same range of Arduino and running Linux. I think it is the best choice if you need to drive hi-res screen.
Tanks for suggestions. <br> <br>Can we interface other modules like zigbee, sensors etc????? <br> <br>I'm checking http://www.raspberrypi.org/, but i'm not getting any datasheet or full specifications. <br> <br>last but not least, my application can run on any 16/32 bit controller. But getting output in monitor with high resolution is my first constraint. <br> <br>
Given Rasbery PI is Linus there will be support for Zigbee through open source libraries. I know there is at least one such library. You need to have UART support on the board to interface with these modules.
Thanks for the great work. <br> <br>I am using the LCD-43 and does not update the data on the screen. <br> <br> I changed the rx and tx pins but still not working, any ideas? <br> <br>Thks <br>Jose
Hi Jose,<br>Are you using GFX or SGC firmware of the display?<br>Please see the instruction on how to set it to GFX firmware.<br>Please see that the baud rate of the Arduino and that of the display are the same.<br><br>Do note, I made a new version of this with Netduino Plus, that takes data from Weather Underground service instead of Google. Now in my living room I am using the newer version of this with few more fixes I found along the way.<br>
I'm use GFX firmware. I compile and upload WeatherScreeen.4dg file <br>I see the screen but no data. not update any data. <br> <br>I am using Arduino ethernet board and do not know if it supports Netduino Plus. <br> <br>Thanks <br>Jose
Let's start with &quot;debugging&quot; the situation. First, modify the 4GL program so that it uses 9600 Baud Rate. You will see the line in setup() function that is commented out. So uncomment the line of 9600 and put comment to the current baud rate.<br><br>Download the new revision of the program after modifications above to the screen.<br><br>Next, from the 4D Workshop application, use &quot;Tools | Terminal connect 9600&quot; to connect to the Display from the PC.<br><br>Type the following (all characters, including the square brackets)<br>[ICFooBar]<br>The outcome should be the display showing FooBar on the top of the screen for &quot;Current Weather&quot;. If that happens, something is broken in the Arduino side.<br><br>If that does not happen, then something is broken in the serial communication of the display.<br>
One question, what is the new version? <br> <br>Jose
See here regarding the new version:<br>http://www.instructables.com/id/Weather-Underground-on-graphical-display-with-Netd/<br><br>And did you do this terminal test?
I test it and work . <br> <br>The problem is arduino, serial port software does not work. I changed pins (4,5) for (8,9) and does not work. <br> <br>I use the library NewSoftSerial SoftwareSerial because I have not <br> <br>Tkns <br>Jose
Solved, I had to add: <br> <br>pinMode(rx, INPUT); <br>pinMode(tx, OUTPUT); <br> <br>Thanks <br>Jose
Good!<br>Not sure why is that required, but happy it got resolved. Enjoy the weather :-)<br>
I have another problem :( <br> <br>In the screen no show sunny.gif icom, only show 'sunny.gif'. <br> <br>I copied directory SD in SD card. <br> <br>Thanks <br>Jose <br>
Does the SD contain the files &quot;goowea.dat&quot;, &quot;goowea.gc&quot;, &quot;goowea.gci&quot; and &quot;goowea.gcs&quot;?<br><br>Please try to format the SD (quick format is OK) and reload that content to it.<br>The .gif files are not really required on the SD as the 4D does not open any of them.
Where are the files?, In the zip file are not included. <br> <br>Thks <br> <br>Jose
In the file GW Work.zip in here you will see the microSD directory with all files I mentioned above
I am using ver 3.0 the 4D firmware no version 0.95. <br> <br>I'll try to use the version 0.95. <br> <br>Thanks <br>Jose
Ok keep me posted
working fine with v1.3 :) <br> <br>Have you thought about modifying the code to work with Weather Underground? <br> <br>Thanks <br>Jose
Yes I did. Actually I built one similar unit that works with Weather Underground and published it's code in Instructables.<br>As the Arduino only has 2KB of RAM it is extremely challenging to do, so I moved to a different board called Netduino. It is similar to Arduino but being programmed with C# instead of C/C++. The exact board used is Netduino Plus that has Ethernet controller embedded on the board. See this:<br>http://www.instructables.com/id/Weather-Underground-on-graphical-display-with-Netd/<br><br>Also note the 4D display program was modified too to include much more information I can grab from the Weather Underground service, like sunrise/sunset, moisture and barometric pressure for each day in the forecast.
OK, now that we know it is on the Arduino side, lets have the following:<br>What Arduino IDE version are you using? I built it with 0022 one and did not port it Arduino IDE 1.0 or 1.01<br><br>It is possible to switch between debug console and the display. In the file utilfuncs.h<br>change #define serialDisplay to be Serial and # define Console to be secondSerial<br><br>The the connection to the display will be digital pins 0 and 1.<br>On the Arduino side pin 0 is Rx, so connect it to Tx on the display<br>And Pin 1 on the Arduino side is Tx, connect it to Rx on the display.<br><br>
One more thing:<br>Make sure that on the &quot;Workshop&quot; you set the programming to screen Flash and not to Screen Ram as in the picture below.
Yes, i programming to flash. <br> <br>Jose
Thanks for the great idea! Although I don't have the ethernet pro or an ethernet shield, I made a version of this on my computer and set it up as a screen saver.
Nice! It is definitely cold in Vancouver :-)<br>Funny thing is I built this because I saw a sample desktop (Vista / Win7) gadget that takes Google Weather and thought I should do it with Netduino/Arduino.<br>
Hello, I am trying to come up with a complete parts list based on the above. The two big questions I have are:<br> <br> 1. What do you mean by &quot;Arduino I/O Headers socket&quot; - this? http://www.sparkfun.com/products/10434<br> <br> 2. Do we also need to purchase 5x &quot;Jumper Wires&quot;? You don't mention how many pins they need to be, or if these are single pin?? http://www.sparkfun.com/search/results?sort_by=price_asc&amp;per_page=50&amp;term=jumper+wires&amp;what=products<br> <br> This is the full parts list, with cost, I came up with:<br> <strong>3.2&quot; LCD, $84.95</strong>, http://www.sparkfun.com/products/10089<br> <strong>or</strong><br> <strong>VGA Adapter, $54.95</strong>, http://www.sparkfun.com/products/10329<br> <br> <strong>Arduino Ethernet Pro, $54.95</strong>, http://www.sparkfun.com/products/10536 <strong>FTDI Breakout board, $14.95</strong>, http://www.sparkfun.com/products/9716 <strong>DHT 22 Temp &amp; Humidity sensor, $9.94</strong>, http://www.sparkfun.com/products/10167<br> <strong>2 GB Micro SD, $6</strong>, Amazon.com<br> <strong>Push button, optional, $1.95</strong>, http://www.sparkfun.com/products/9339 <strong>Power supply: Free</strong>, probably have one around the house<br> <strong>Ethernet cable: Free</strong><br> <strong>2 x 10k ohm resistors: Free</strong>, or $0.25 each from Sparkfun<br> Jumper wires: ???<br> <strong>Arduino I/O Headers: $2.50</strong>, if I'm right above.&nbsp;<br> <br> <strong>Total Cost (without shipping charges): $175.25 or $145.25</strong>
Both VGA or LCD is shipped with male 0.1&quot; headers that you need to connect to the Arduino board. The board itself, if you buy the Ethernet Pro comes with holes and no wires or headers. Total number of pins you need to connect is 5. You can choose to use wires to connect them or using jumper wires and socket. I chose to use male headers like this one: <a href="http://www.sparkfun.com/products/116" rel="nofollow">http://www.sparkfun.com/products/116</a>&nbsp;but it is really up to you.<br> The jumper wires in this case are&nbsp;female-female ones like this one:<br> <a href="http://www.sparkfun.com/products/8430" rel="nofollow">http://www.sparkfun.com/products/8430.<br> Y</a>ou will need 5 wires only and cost for a pack of 10 is $ 3,95.<br> Since I build a lot of stuff, I bought a stock of those in local shop for much cheaper. Try Fry's or something if you are on the west-coast.<br> <br> Buying either the VGA or the LCD at at <a href="http://shop.4dsystems.com.au/vga-embedded-vga-graphics-modules/281-9004.html" rel="nofollow">4D systems</a> can save you few dollars.<br> <br> Ethernet Pro is a nice and compact, but if you want to save few dollars, you can buy an Arduino Uno and Ethernet Shield (Uno is ~ $23 and shield is ~ $ 15 in ebay). I did not test it with those shields, but assume it should work too. If you are not ready to do the adaption in case needed, go for the Ethernet Pro. One more comment on this, since you asked: If you go for the shield based approach, you will not need headers (those ship with female headers), but you will need a male-female jumper wire instead.&nbsp;<br> <br> FTDI is required (can be spared if you go for Uno+Shield) to program the units. Not required after assembly work done. That too is something I have at home...<br> <br> DHT-22 is optional. But I noticed you did not include a small experimental or prototyping board to assemble it on together with the resistors and push button. You will need something like <a href="http://www.sparkfun.com/products/8808" rel="nofollow">this</a> or much simpler one you can buy at local shop that will be large enough to host multiple projects. It cost around $ 4 to have a large board that is about 10x the size required in this project (and you simply cut the size you want each time).<br> <br> As for the SD, if you don't have a 1GB micro-SD somewhere from an old cell-phone or something, go for the 2GB. I think even a 1MB one would be enough, if there was such thing.<br> <br> Yes, it is an expensive one, but the joy of doing it was worth every cent, penny or Shekel in my case :-).
Hi Nick,<br> It <strong>might </strong>be possible to do this with &quot;standard&quot; LCD module. The code that I have here on the Arduino is basically scrapper of the XML data from the weather service (Google weather) and the entire graphics is handled by the display controller. I did not do much of graphics really (basic tiles with hand-made shading, text with variable font size and color, rectangle fills and bitmap display). All this graphical part is done in the 4GL code for the 4D systems VGA display adapter. I used it also on their LCD display (uLCD 32PT unit and it works).<br> <br> The challenge will be with memory. The Arduino has enough of memory for code (about 24K used out of 32K it has) but the big shortage will be of RAM. The code already puts strings into program memory (using PROGMEM and PSTR). Not sure exactly how much memory really left, but can tell you that if you move some of the strings back to data the Arduino will reboot or behave very strangely, meaning data segment is really at the edge. Not a surprise, since overall it has only 2KB of RAM for data. Add to that the bitmaps are about 3K each, then loading those from SD to display will require working in small chunks, which is not fun. It might be more realistic to use the Mega flavor of Arduino that has 4KB of RAM for data for this type of application. The display controller has about 10KB for code and data, and I use about 5 or 6KB of it, again 3K for bitmap transfer from SD (it has its own micro SD socket), so not a big surprise. For the record, I tried this also with FEZ Panda-II (a Netduino flavor ARM board), their LCD module and Ethernet Shield. While I was able to complete the code<strong> in fraction of the time</strong>, the board was running out of memory irregularly, even before using NTP for time updates. I added aggressive garbage-collection calls but in vain. Once a day, out of nowhere the memory was eating up in one round of update from the Web service and the application will do the exception. That board has 62KB or RAM and the application code (it is C#) was weighting about 54K, so again on the edge of the resources, not exactly what you want to do with C#. I guess if I worked harder (not using XML library and stuff like that, but do it more specific as in the Arduino), it would fit, but then what is the point of using C#?
WOW, thanks a lot for the very detailed response! I always wanted to make a system to display when the next bus or tram is coming to my stop...<br>But to make a nice colourful &amp; fancy display will take time and money so in the end I'm afraid I'll just use a simple text-only LCD display.<br>Again, nice work and thx for the reply!!
Nice Ible!<br>Do you think also the LCDs present on this page would work?
Excellent work ! I will definately look more closely at this in the future...nice ...very nice! <br>Thanks for the ible! <br>Build_it_Bob <br>
Thanx for the url: http://www.google.com//ig/api?weather=yourcity. I can add that to my page scraping project.
Replace &quot;yourcity&quot; by the name of the city you live in.<br>So for me, living in Tel-Aviv the string looks like:<br>http://www.google.com//ig/api?weather=Tel-Aviv
Actually, I found it will take the zip code or the city state.<br><br>http://www.google.com//ig/api?weather=10005