Suchergebnisse

  1. J

    Arctic Hare mod by Jussi

    Yes, this is with latest. When that number (30) comes full only power off reset it. Maybe it should reset via error counter reset like others? Or better way is tie it to time, if it count over x in y time and if not it reset automatic //need to check this if ((motor1MowSenseCounter >= 30) ||...
  2. J

    Arctic Hare mod by Jussi

    Houston, we have a problem :) I made error counter page to piardu and when testing it noticed that theres no reset to motorMowSenseCounters. When they triggers once then only power off reset them. It was quite handy to trigger errors, nothing else than touch "mow is on" -button :D but it might...
  3. J

    Arctic Hare mod by Jussi

    What rfid reader is worth to buy? Just read older posts and I'm little confused which is working and which not :D Compass doesn't need to be so accurate if mower goes always to same side of garden to looking for wire
  4. J

    Arctic Hare mod by Jussi

    Phidgets reader cost ~60€ w/o tags and cheap ones 5€ with 3 tags But what is the difference? When looking pcb's phidget has certainly better antenna.. just thinking if buying cheap one and making better antenna to get more range. I'm thinking options for short return to station. If using IMU it...
  5. J

    Arctic Hare mod by Jussi

    Cant test right now because battery is full but it should work Maybe this work also case STATE_STATION_CHARGING: // waiting until charging completed if (batMonitor) { if ((chgCurrent < batFullCurrent) && (millis() - stateStartTime > 2000)) setNextState(STATE_STATION, 0)...
  6. J

    Arctic Hare mod by Jussi

    Thanks, I allready used those four free slots on page 13. Does piardu ask RMSTA message all the time or is it due who send it without asking. I cant find where in code this sending/asking is done. I'm trying to add RMBAT message same way when state is charging. It can be done if adding those...
  7. J

    Arctic Hare mod by Jussi

    "RMRET" pages, can I just add one page or do I have to do something also on talker.py? pfod.cpp e.g. rain menu there's "print(F("|m00~Rain Use "));" and "serialPort->print(F("|m01~Counter "));" What are those "m00" and "m01" (same syntax others too but I dont know what it is)
  8. J

    Arctic Hare mod by Jussi

    Yes it was that, missing 'Tab'. No idea how that happen :D Robot.cpp 'eereadwrite' lines and robot.py self.* lines, does these need to be exactly same order?
  9. J

    Arctic Hare mod by Jussi

    I did accidentally something but can't find what. When I click setting on main page this comes up: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.5/tkinter/__init__.py", line 1562, in __call__ return self.func(*args) File...
  10. J

    Arctic Hare mod by Jussi

    I can do changes so that theres new setting, e.g. secondMowMotor = True. What is best way to send you changes? Collecting them to text file or something else..
  11. J

    Arctic Hare mod by Jussi

    I'm trying to add second mower motor also to piardu.py. motor1MowSenseScale and ..2.. is added succesfully but with motor1MowSense and ...2.. something missing Error what I get: During handling of the above exception, another exception occurred: Traceback (most recent call last): File...
  12. J

    Arctic Hare mod by Jussi

    To keep it up and running, after reboot, failure etc.
  13. J

    Arctic Hare mod by Jussi

    Running PiArdu as service on raspbian sudo systemctl --force --full edit piardu.service my piardu.service looks this [Unit] Description=ArdumowerCC After=multi-user.target [Service] User=pi WorkingDirectory=/home/pi/Documents/PiArdumower ExecStart=/bin/bash /home/pi/bin/piardumower.sh...
  14. J

    Arctic Hare mod by Jussi

    Yes, found one from china but it takes 1-2 months to arrive
  15. J

    Arctic Hare mod by Jussi

    Have you looked /var/log/syslog and /var/log/kern.log I'll try running it as service, we'll see what happens
  16. J

    Arctic Hare mod by Jussi

    I was wondering why theres so many zeros :D You are right stayInStationDuration is not needed, mixed up it with nextTimeRain And no need to set nextTimeTimer to mymower.millis when not raining Another option is this: // start timer triggered stopTimerTriggered = false...
  17. J

    Arctic Hare mod by Jussi

    Thanks, seems to be working now. It checks both rain sensors once every minute def readWS(): tempvar=int(mymower.millis)+120000 wsrain = subprocess.Popen("curl http://192.168.1.11/meteograph.cgi?text=last60m_rain0_total_mm", stdout=subprocess.PIPE, stderr=subprocess.PIPE,shell=True)...
  18. J

    Arctic Hare mod by Jussi

    Rainsensor works fine. I want to add weather station rain sensor because I have it and mower is under the roof. TypeError: Can't convert 'int' object to str implicitly Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.5/tkinter/__init__.py", line 1562...
  19. J

    Arctic Hare mod by Jussi

    PiArdu rainWS var is unnecessary.. I have rain sensor on pcb lid also. I was thinking that it's better use same "method" for both Doesn't sending 'go home' every ten seconds cause erros or something strange? (if raining) Where to put 'stayInStationDuration', maybe I can use rain in timer.h -->...
  20. J

    Arctic Hare mod by Jussi

    It was function and I didn't call it. Working now but it need to be run in loop right? I use new variable and use that in robot.cpp if ((rainUse) && (millis() >= nextTimeRain)) { // read rain sensor nextTimeRain = millis() + 5000; rain = ((readSensor(SEN_RAIN) != 0) || (rainWS !=...
Oben