element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Solar Power Devices
  • Challenges & Projects
  • Project14
  • Solar Power Devices
  • More
  • Cancel
Solar Power Devices
Blog Solar SPEC - posting data
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Solar Power Devices to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 6 Sep 2018 4:17 AM Date Created
  • Views 1086 views
  • Likes 7 likes
  • Comments 5 comments
  • solar panel
  • solarpwrdevicesch
  • iot design
Related
Recommended

Solar SPEC - posting data

ralphjy
ralphjy
6 Sep 2018
image

Solar Power Devices

Enter Your Electronics & Design Project for Your Chance to Win a Grand Prize for the most inspiring project or a $100 Shopping Cart!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

I still haven't found my Tmp102 sensor, but I did find a DHT22 (RHT03) temperature and humidity sensor that uses a single-wire interface.

 

DHT22

image

 

I don't think that I'll use this sensor in my final installation, but it will allow me to work through any issues with my 8266 program.  I've found that the 18B20 temperature sensor is available with a waterproof housing and a 2 meter cable, so I think I'll get that from Amazon.  Unfortunately, I lost a delivery from Amazon today.  USPS claimed to have delivered to my locked mailbox - hopefully I can find who they delivered it to.....

 

18B20

image

 

The 18B20 also uses a single-wire interface, but it is the Dallas One-Wire which isn't code compatible with the DHT22.  Luckily there are libraries available so swapping should be quick.

 

Logging

My original plan was to log the temperature and irradiance data to Google sheets, but I'm having some problems getting the HTTPSRedirect library to work.  I'll need to work this out later, but since time is short I decided to fall back to initially logging to ThingSpeak.  I added the ThingSpeak library to the Arduino IDE and a new Solar SPEC channel to my ThingSpeak account.  I tested the logging and it's all working.

 

ThingSpeak channel

image

 

Now I need to calibrate my irradiance readings with the Daystar meter.  To expedite the program I am currently just using a linear fit to about a dozen data points.

 

LiPo circuit:

I plugged in the LiPo battery and got that all charged up.  I am using a single cell 3.7V 1200mAh battery.  My original thought was that I could connect the solar cells to the VIN input on the 8266 Thing, but looking at the schematic realized that VIN is on the wrong side of the battery charging circuit.  To be able to power the 8266 and charge the battery, I'll need to connect at VUSB.  Think that I'll need to hack up a micro USB cable.

 

image

 

And as genebren pointed out to me earlier - the LiPo charger is set up for fast charging @500mA via the 2K programming resistor.  I'll probably want to restrict that charging current to 100mA.  It appears that the 8266 Thing is averaging about 40mA including the WiFi bursts, so I'm probably okay until winter shows up.  I should put some power management in the program.

 

The Heat is On.....

My wife and I are taking a long 4-day weekend in Chicago, so it's going tough to get everything finished by the end of next week.

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 6 years ago +1
    Hi Ralph, Enjoyed the post. Have a nice weekend. My wife and I love Chicago for short vacations. John
  • snidhi
    snidhi over 6 years ago +1
    Cool update. I was also thinking yesterday that somehow I should monitor the temp of the solar panels. Cheers
  • tariq.ahmad
    tariq.ahmad over 6 years ago +1
    Hope you enjoyed in your stay in Chicago ralphjy ! Just caught that you were visiting our neck of the woods!
Parents
  • genebren
    genebren over 6 years ago

    Nice update on your project.  It seems like you have most of the pieces working as you need them too.

    Enjoy your vacation.

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • genebren
    genebren over 6 years ago

    Nice update on your project.  It seems like you have most of the pieces working as you need them too.

    Enjoy your vacation.

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube