|
Post by SDL on Jul 12, 2017 5:03:52 GMT -8
Milo,
To help others, do you have any idea what happened to the SD Card installation? It was working and then didn't?
BP
|
|
milo
New Member
Posts: 18
|
Post by milo on Jul 12, 2017 21:52:09 GMT -8
Honestly speaking - I don't know for 100% what happened.....I had some strange behaviour with various installation (or better spoken) flashing on the SD card....I flashed a SD card had problems with some "apt-get" procedures (libraries weren't found etc....)....removed them flashed again and everything was fine. My advice is 1 reflash a new system and do a new fresh install and then care about problems....
Sorry for no real advice or anything else but I do my projects between work/family stuff and I am not an excellent SW programming boy I am more involved/scaled in HW.
|
|
|
Post by SDL on Jul 13, 2017 14:40:49 GMT -8
Milo,
Prefect. Thanks for the insight. You are the perfect customer for us! It's all about learning stuff.
BP
|
|
milo
New Member
Posts: 18
|
Post by milo on Jul 16, 2017 4:06:21 GMT -8
Hello, now I get this always after the insert line
query=INSERT INTO PowerSystem(TimeStamp, batteryVoltage, batteryCurrent, solarVoltage, solarCurrent, loadVoltage, loadCurrent, batteryPower, solarPower, loadPower, batteryCharge) VALUES (UTC_TIMESTAMP (), 3.978, 177.200, 7.531, 125.600, 4.968, 216.000, 0.705, 0.946, 1.073, 83.826)
query=INSERT INTO Sunlight(TimeStamp, Visible, IR, UV, UVIndex) VALUES(UTC_TIMESTAMP(), 26752, 26754, 34974, 349.740)
rain in past 60 minute= 0.0
-----------------
Weather Sampling
-----------------
-----------------
[Errno 5] Input/output error
File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/pi/SDL_Pi_GroveWeatherPi/GroveWeatherPi.py", line 1058, in sampleSunAirPlus
busvoltage1 = sunAirPlus.getBusVoltage_V(LIPO_BATTERY_CHANNEL)
File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 149, in getBusVoltage_V
value = self._getBusVoltage_raw(channel)
File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 131, in _getBusVoltage_raw
value = self._read_register_little_endian(INA3221_REG_BUSVOLTAGE_1+(channel -1) *2)
File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 108, in _read_register_little_endian
result = self._bus.read_word_data(self._addr,register) & 0xFFFF
Temperature = 30.30 C
Humidity = 34.50 %
|
|
|
Post by SDL on Jul 17, 2017 4:54:06 GMT -8
Milo,
You get this overtime after the insert? Are you sure? You might see this once in a while.
What version of groveweatherpi are you running?
BP
|
|
milo
New Member
Posts: 18
|
Post by milo on Jul 18, 2017 7:31:07 GMT -8
Sorry can't test it right now. I am suffering an other issue. After powering down due to lack of energy the system is not coming up automatically only if I switch it off an on again with the switch on the solar power board. Any idea?
|
|
|
Post by SDL on Jul 18, 2017 8:25:31 GMT -8
Test the voltage on the JP4-BATTERY pin on the SunAirPlus board. It needs to be above ~3.9V before the USB Board will turn on. When you flip the switch, it turns on the USB board and then will not turn off until about ~3.4V or so. Hysteresis.
Make sure you have connected the LIPOBATIN pin on the USB Power Control to the JP4-BATTERY pin on SunAirPlus.
BP
|
|
milo
New Member
Posts: 18
|
Post by milo on Jul 26, 2017 20:37:56 GMT -8
How can I connect more than one battery pack to the system?
|
|
|
Post by SDL on Jul 31, 2017 13:24:42 GMT -8
Wellllllll.......You probably shouldn't and we don't support connecting dual battery packs. If you were to do such a thing (which we aren't suggesting), you should do the following:
1) Make sure they are identical batteries with identical capacities and identical manufacturers. They should be the same age too.
2) Charge each battery separately to full charge
3) Check the voltage of the two batteries and make sure they are very close
4) Connect them in parallel (+ to + and - to -).
Make sure they do NOT GET HOT when connected together.
Connect them up to SunAirPlus or SunControl normally.
BP
|
|
milo
New Member
Posts: 18
|
Post by milo on Aug 6, 2017 12:19:40 GMT -8
Test the voltage on the JP4-BATTERY pin on the SunAirPlus board. It needs to be above ~3.9V before the USB Board will turn on. When you flip the switch, it turns on the USB board and then will not turn off until about ~3.4V or so. Hysteresis. Make sure you have connected the LIPOBATIN pin on the USB Power Control to the JP4-BATTERY pin on SunAirPlus. BP Do I understand correctly that the 3.9V threshold is not in use if I flip the switch?
|
|
|
Post by SDL on Aug 6, 2017 12:42:15 GMT -8
Milo,
Yes, you are correct. The switch overrides anything and turns the 5V power off to the entire board. It turns of the 5V Booster.
BP
|
|