Charging from Solar via the Expansion Board
-
Hi
If I had a Solar panel (6V, 1W) connected to the USB port, could this load share with the SiPy AND a LiPo without any concerns? Im more concerned about the ability to charge the Battery at the same time as the battery (or the Solar panel) powering the load - not all charge ICs allow this in the right way.
-
Here my config,
Solar Panel 5v@400mA connected to TP4056
Batterie 3000mA connected to TP4056
and the TP4056 connected to Lopy
it works fine -
@maamar i've a configutation like yours, can you explain me how to connect the tp4056 to a Pysense or a Sipy? Thanks in advance.
-
-
@maamar Thanks. It works.
-
i've a strange behaviour:
from pysense import Pysense
from MPL3115A2 import MPL3115A2
from SI7006A20 import SI7006A20
from LTR329ALS01 import LTR329ALS01
from network import Sigfox
import socket
import time
import struct
import networkwlan = network.WLAN();
wlan.deinit();while True:
py = Pysense(); mp = MPL3115A2(); si = SI7006A20(); lt = LTR329ALS01(); sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1); #temperature -10000 - 10000 temp = int(round(si.temperature()*100,2)); #humidity 10000 - 0 hum = int(round(si.humidity()*100,0)); #pressure -13000 - 8560 pres = int(round(mp.pressure(),0))-100000; #blue light blue = lt.light()[0]; #red light red = lt.light()[1]; #message message = bytes(struct.pack('>hhhhh',temp,hum,pres,blue,red)); s = socket.socket(socket.AF_SIGFOX, socket.SOCK_RAW); s.setblocking(True); s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, False); s.send(message); s.close(); py.setup_sleep(60); py.go_to_sleep();If i supply the pysense by usb all works fine, but if i supply it by 5V and GND (first and second pin on the top rigth corner) the Sipy sends only one message.
Do you have any suggestions?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
