Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

USB, DC & Solar Lipoly Charger
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USB, DC & Solar Lipoly Charger

by weal on Mon Jun 29, 2020 6:21 am

How I can connect "USB, DC & Solar Lipoly Charger" to my project?

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Mon Jun 29, 2020 6:31 am

Tell us a bit more about your project. What are the voltage & current requirements of your load? What do you plan to use as a power source for charging? Solar panel? Other?

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: USB, DC & Solar Lipoly Charger

by weal on Mon Jun 29, 2020 6:47 am

Thank you for your reply.
I want to do project on IoT agriculture using Arduino mkr Zero , UnaMKR (Zigfox) and battery 3.7v 1200mah.
Could you tell me what's best Adafruit sensors for agriculture ?.
I have ordered 3 Adafruit STEMMA Soil Sensor.
I want to use solar panel for my project for long term ...but I don't know how to count the life of battery and whether Solar Panel v6 is enough or not ?.

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Mon Jun 29, 2020 7:57 am

The Arduino MKR Zero is designed for either 5v USB power or 3.7v LiPo. To use with the Solar Charger, you would connect the GND and B+ pins of the charger to the GND and VIN pins of the MKR Zero. Do not use the LOAD outputs of the charger since the voltage on those pins can be 6v or more depending on solar conditions.

To monitor battery voltage, you can use a resistor divider and one of the analog pins of the MKR Zero. For a more accurate assessment of the actual charge level, you could use a 'LiPo fuel gauge' chip such as this one from Sparkfun: https://www.sparkfun.com/products/10617

For sensors, it depends on what you want to measure. For temperature and humidity, there are lots of choices.
https://www.adafruit.com/category/66
The Sensirons are quite good:
https://www.adafruit.com/product/4636
The Bosch sensors are also excellent. The BME680 gives you barometric pressure as well:
https://www.adafruit.com/product/3660

We have an anemometer to measure wind speed.
https://www.adafruit.com/product/1733

And flow meters for monitoring irrigation
https://www.adafruit.com/product/833

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: USB, DC & Solar Lipoly Charger

by weal on Tue Jun 30, 2020 9:54 am

Thank you for your information.
Could you help me ,How to connect Adafruit STEMMA Soil Sensor to Unamkr or Arduino mkr zero?.

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Tue Jun 30, 2020 10:09 am

The Stemma Soil Sensor has an i2c interface. The pinout is detailed here in the guide: https://learn.adafruit.com/adafruit-ste ... or/pinouts
Like all i2c devices, they need connections for GND, VCC, SDA and SCL. Virtually all microcontroller boards these days have these pins.

I'm not familiar with the Unamkr. But the MKR Zero has a set of pins dedicated for interfacing with i2c devices. You can see that in the upper right corner of the pinout diagram from the MKR Zero documentation:

Image

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: USB, DC & Solar Lipoly Charger

by weal on Wed Jul 01, 2020 10:00 pm

Really thank you for your information.
Could you help me , If I'm using Arduino mkr Zero , battery 2800mah ,Unamkr and Adafruit STEMMA Soil Sensor,How to calculate to determine what size Solar Panel for my project ?
How to determine expected battery life ?

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Thu Jul 02, 2020 7:14 am

You need to start with an energy budget. Mike has a good tutorial on that here: https://learn.adafruit.com/energy-budge ... g-a-budget
Once you have a good estimate of how much energy your circuit requires over the course of the day, you can start calculating how much solar input is required to keep it charged.

You will need to account for the efficiency of the charging system (typically in the 80-90% range). And depending on the weather patterns in your area, you will probably want to design in some excess capacity to get you through overcast days.

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: USB, DC & Solar Lipoly Charger

by weal on Fri Jul 03, 2020 10:00 am

THANK YOU FOR ALL YOUR SUPPORT.
The Arduino MKR Zero is designed for either 5v USB power or 3.7v LiPo. To use with the Solar Charger, you would connect the GND and B+ pins of the charger to the GND and VIN pins of the MKR Zero. Do not use the LOAD outputs of the charger since the voltage on those pins can be 6v or more depending on solar conditions.

Could I connect the GND and B+ pins of the charger with 2-pin JST cable connector to Arduino MKR Zero's battery jack ?

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Fri Jul 03, 2020 10:38 am

Yes. Just be sure that you get the polarity correct. The MKR Zero has the same polarity on the JST connector as our boards, so if you use one of our JST cables you should be OK.

Just be aware that there are batteries and cables available from other sources that are wired in reverse. So it is always bet to double-check before connecting things.

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Re: USB, DC & Solar Lipoly Charger

by weal on Sat Jul 04, 2020 2:20 am

I have just received STEMMA Soil Sensor..
I connected it with pins of Arduino mkr but it didn't work.
I didn't connect the sensor to I2C port on the MKR Zero board...
I don't know how to connect the sensor to this part.
Could you help me?
Attachments
thumbnail (3).jpg
thumbnail (3).jpg (88.04 KiB) Viewed 37 times
thumbnail.jpg
thumbnail.jpg (85.13 KiB) Viewed 37 times
thumbnail (2).jpg
thumbnail (2).jpg (79 KiB) Viewed 37 times

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by weal on Sat Jul 04, 2020 3:30 am

I have used the sensor with arduino uno and I have got this message :
"seesaw Soil Sensor example!"
"ERROR! seesaw not found"
I have tested other 2 sensor and it was work fine.
1 of your sensors doesn't work.

weal
 
Posts: 23
Joined: Sun Sep 29, 2019 12:30 am

Re: USB, DC & Solar Lipoly Charger

by adafruit_support_bill on Sat Jul 04, 2020 5:53 am

Those connections look correct. We can try replacing the sensor. Please contact support@adafruit.com with a link to this thread.

adafruit_support_bill
 
Posts: 78635
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.