Weather Lamp




Introduction: Weather Lamp

About: I am a Computer Science Student. I love playing with electronics and codes. Making Brand new projects.

Weather Lamp is a RGB lamp made using Wiznet Pico WizFi360 and WS2812B LED's. The lamp simulates the real-time weather using the API. It read parameters like cloud intensity, temperature, time and try to mimic the cloud colors, sun/moon and change the base color as temperature range.

Thank You NextPCB:

This project is successfully completed because of the help and support from NextPCB. NextPCB is one of the most experienced PCB manufacturers in Global, has specialized in the PCB and assembly industry for over 15 years. Not only could NextPCB provide the most innovative printed circuit boards and assembly technologies in the highest quality standards, the fastest delivery turnaround as fast as 24 hours.

Guys if you have a PCB project, please visit their website and get exciting discounts and coupons.

Only 0$ for 5-10pcs PCB

Register and get $100 from NextPCB:


1 x WizFi360-EVB-Pico

1 x WS2812B LED Strip

3D Printer

White Filament

Solder Kit

Connecting Wire

To get high-quality electronic components at an extremely low cost, is the perfect site. They have labels from all the international brands, so you can find the best components for your device without spending a lot of money. This offers you the best value for your money.

Step 1: Designing & 3D Printing

  • I have designed the model in Fusion360.
  • Download the STL Files and 3D print them.

Step 2: Circuit Connection

  • Connect the WizFi 360 and WS2812B LEDs as shown in circuit diagram.

Step 3: Assembly

  • Assemble all the parts together using quick glue.

Step 4: Getting Openweathermap API Key

  • Go to and create your account and verify it.
  • Now login to your account and click on you profile or right-top corner and go to My API Keys.
  • Copy the API Key that you see this will be used later in Step 6.

Step 5: Arduino Libraries Setup

  • First go to Files->Preferences and copy paste the following URL in Additional Boards Manager URLs:
  • Go to Tools->Boards->Boards Manager and search for Raspberry Pi Pico/RP2040 and dinstall it.

  • Now got to Sketch->Include Library->Manage Libraries and Search for ArduinoJson, Adafruit_NeoPixel and install them.

Step 6: Code Changes

  • At Line.No 20 you have to edit your Wifi Name(SSID) and Password.
/* Wi-Fi info */
char ssid[] = "SSID";       // your network SSID (name)
char pass[] = "PASWORD";   // your network password

  • At line 153 I have added 5 to hour and 30(Indian time zone IST 5:30) to Minutes and applied a maths to convert the APIs GMT time into ISt time zone.
  • You may have to change the number(5 and 30) according to your tiem zone.
      h = (h + 5) % 24;
      minute = (m + 30) % 60;

  • At line 282 you have to enter your locations Longitude, Latitude and You accounts openweathermap API key.
    // send the HTTP PUT request
    client1.println(F("GET /data/2.5/weather?lat=17.6795&lon=77.6051&appid=43f22249d3d42ec***********ca809b HTTP/1.1"));

Step 7: Code Compile and Uplaod

  • Connect your device usinh MicroUSB cable.
  • Select the board type and port from tools.
  • Now click on uplaod code, it will automatically compile and uplaod the code.
  • After code is succesfully uloaded the device will connect with provided wifi and show the output.

Note: I am using My PCs USB as the power source for the Weather Lamp, you can use a 5V adapter or a 3.7V Lithium Ion battery.

CNC and 3D Printing Contest

Participated in the
CNC and 3D Printing Contest

Be the First to Share


    • Make It Bridge

      Make It Bridge
    • For the Home Contest

      For the Home Contest
    • Big and Small Contest

      Big and Small Contest



    Question 3 months ago on Step 7

    I'm using a Raspberry Pi Pico W, and I'm having a hard time getting the script to run properly since the libraries are different. Has anyone tried this using a ras pi pico w? I'm very new to coding/engineering, so I may be completely off the mark here, but one thing I noticed is that the instructions say to connect the power source to the 3V3 OUT on the board, but most ras pi projects using the WS2812B LEDs that I've seen have the power connected to the VBUS pin on the board. Would this make a difference?
    OP-Thank you for creating such a cool project! If I can get it up and running, I intend to gift it to my dad who is a meteorologist for Christmas!


    Question 3 months ago on Step 7

    I have followed the steps to completion once I uploaded the code this was the error I received. I cannot seem to get the ino file to compile properly any help would be greatly appriceated.


    4 months ago

    Had to modify the base to permit room for the connector from being pinched and the stem to provide more mounting support but overall a fun project.

    Weather Lamp Back.jpgWeather Lamp.jpg

    Question 4 months ago

    Could you add a text screen with the tempature to the lamp


    Tip 4 months ago

    it would be nice if you added the stl. files


    Reply 4 months ago

    Please check step 1 I have added STL files ZIP