pi@alfredpi:~ $ dmesg | grep uart
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:3E:DB:04 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=6ec47031-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE
[ 1.605825] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.606228] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 6.452063] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[ 6.452302] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[ 6.575690] uart-pl011 fe201000.serial: no DMA platform data
pi@alfredpi:~/Sunray/alfred/build $ sudo systemctl stop sunray
Failed to stop sunray.service: Unit sunray.service not loaded.
pi@alfredpi:~/Sunray/alfred/build $ cp sunray ~/sunray_install/
cp: cannot create regular file '/home/pi/sunray_install/': Not a directory
pi@alfredpi:~/Sunray/alfred/build $ sudo systemctl stop sunray
wenn du Sunray noch nicht installiert hast und auch noch keinen Service erstellt hast, kann er den Service nicht stoppen.Failed to stop sunray.service: Unit sunray.service not loaded.
$ cd /home/[Benutzername]/sunray_install/config_files/sunray
$ cp sunray.service /lib/systemd/system
$ sudo systemctl enable sunray.service
$ sudo systemctl start sunray.service
Loaded: loaded (/lib/systemd/system/sunray.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-07-02 23:39:48 CEST; 12h ago
Main PID: 543 (start_sunray.sh)
Tasks: 5 (limit: 8738)
CPU: 41min 17.770s
CGroup: /system.slice/sunray.service
├─543 /bin/bash /home/pi/Sunray/alfred/start_sunray.sh
└─656 /home/pi/Sunray/alfred/build/sunray
Jul 03 12:09:14 alfred start_sunray.sh[656]: WARN: SerialRobot unmet communication frequency: motorFreq=47/0 summaryFreq=2/0
Jul 03 12:09:15 alfred start_sunray.sh[656]: 12:29:25 ctlDur=0.02 op=Idle(initiatedByOperator 0) mem=5504 bat=28.00,0.000(0.00) chg=0.00,0(0.00) diff=-28.000 t>
Jul 03 12:09:15 alfred start_sunray.sh[656]: WARN: resetting motor ticks
Jul 03 12:09:15 alfred start_sunray.sh[656]: WARN: SerialRobot unmet communication frequency: motorFreq=48/0 summaryFreq=2/0
Jul 03 12:09:16 alfred start_sunray.sh[656]: IMU tilt: ypr=42.34,-2.94,-179.47 rollChange=-0.00 pitchChange=-0.01
Jul 03 12:09:16 alfred start_sunray.sh[656]: WARN: resetting motor ticks
Jul 03 12:09:16 alfred start_sunray.sh[656]: WARN: SerialRobot unmet communication frequency: motorFreq=47/0 summaryFreq=2/0
Jul 03 12:09:17 alfred start_sunray.sh[656]: Info - LoopTime: 4 - 0 - 0.39 - 13ms
Jul 03 12:09:17 alfred start_sunray.sh[656]: WARN: resetting motor ticks
Jul 03 12:09:17 alfred start_sunray.sh[656]: WARN: SerialRobot unmet communication frequency: motorFreq=47/0 summaryFreq=2/
This is a generic Raspberry issue, it comes with not all, but 90% of the raspberries I worked with over the years, mainly after 2-3 weeks if runtime.I replaced the bananapi with a raspberry pi 4.
I'm getting ‘Undervoltage detected!’ alerts. Is there any way to fix this?
sudo apt updatesudo apt upgrade -ysudo apt install git -ygit clone https://github.com/Ardumower/Sunray.gitAfter i got the service and gps up and running - this solved itself ... I do have an isue with the motor for the mower disc though .. it tries to start but just vibrates and then turns of .. and does this 3-4 times .. then waits for a minute or so - then does the samething again ....Hi
I get this:
Code:WARN: resetting motor ticks WARN: SerialRobot unmet communication frequency: motorFreq=48/0 summaryFreq=2/0
when running the sunray from ./service.sh
what am I missing?
raspberry pi4 model b - alfred pcb - fox chassis
can I read out some meassurements on the motor with sunray?Good to hear. The problem with you mow moter should not have anything to do with the Pi! It either has something to do with the driver or with the motor itself.