AzuritBer RFID option (English)

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche

Description

Using Rfid reader and card locate on the perimeter wire ,mower can mow on multiple area or change direction and have different behaviour (Fast start,Fast return,escape from island,Change tracking speed etc...)

It's very useful on big mowing area or complex one with a lot of island.

After testing many Reader only this one (PN5180) can read card at more than 10 cm and detect it after year under grass.


Start-area2.gif Fast-return.gif

Hardware connecting

It's the standard PCB1.3 or 1.4 and BT module is ESP32 one , a PN5180 RFID reader is connected to the ESP32

You need : PN5180 reader board , some card , ESP32 DEV KIT V1 (or later but with same pin diagram).

PN5180.png Esp32 layout.png



PN5180 use SPI interface to communicate with ESP32 and ESP32 DEV KIT replace the bluetooth module HC05 to communicate with PCB1.3, so you can build a small PCB to connect all wire, or order some of them from JLCPCB for example (The same board is also use to build the WIFI sender.)


Rfid wiring.jpg

Do not forget the jumper JP4 and JP10

Rfid wiring jumper.png



Here the first version with wrap on small PCB:

Rfid esp32.jpg


and the PCB (see easyeda and file locate on AZURITBER github) use to connect everything (Rfid reader / PCB1.3 / Wifi sender)

Rfid wiring 10 .png Rfid wiring 20 .png Rfid wiring 30 .png


Put PN5180 board inside your platform as near as possible form ground (Max 10 CM) , no problem with motor or other electronic noise.

FIRMWARE ESP32

see here :

https://wiki.ardumower.de/index.php?title=AzuritBer_ESP32_option_(English)

you need to activate the RFID in config.h before uploading code in the ESP32

#define rfid_board_IsPluged true //Set to true or false according your hardware


If everything is OK you can see Last Rfid tag code into Arduremote / setting / RFID each time you move a tag near the reader and if it's a new tag : a record is add with a WAIT status and nothing to do.

ArduRemote Setting RFID 10.jpg

ArduRemote Setting RFID 20.jpg

Setting

Go to arduremote / Setting / Rfid menu to edit or delete tag

ArduRemote Setting RFID 10.jpg

When mower track the wire it use a status ,for example "TRACKTOSTART" or "WIREMOWING" etc...

According this status and the Tag ID that mower find on the wire you need to set a TODO value to indicate what you want:

So 2 Value need to match to have a mower react (TODO) : TAG Nr AND Mower STATUS


Edit a record

From RFID List ,click on on tag Nr to see the detail menu:

ArduRemote Setting RFID 20.jpg

ArduRemote Setting RFID 30.jpg

Now change Status, ToDo and all slider according your need:

For permanent backup hit SAVE LIST to save your change in the mower eeprom.

As 1 tag can be use for different ToDO you can use the DUPLICATE OPTION to have multiple record.

Hit DELETE THIS TAG to remove the tag from database .

ArduRemote Setting RFID 40.jpg

Move a tag near the reader to add a new one.

What is possible

According Tag Nr read and Status of mower ( "BACK_TO_STATION" or "TRACK_TO_START" or "WIRE_MOWING" )

Mower can DO : 'RTS' or 'FAST_START' or 'SPEED' or 'AREA1' or 'AREA2' or 'AREA3'

Fast Return to station

RTS can be use to escape from island or simply fast return to station :

Speed and Ang 1 are used

ArduRemote Setting RFID 50.jpg


When tag 72B8DB is find AND mower Status is BACK_TO_STATION ,if you put RTS in the TODO column : Mower stop tracking roll 28 Degree and run at new PWM speed of 250 to find again the wire and continue tracking.



Fast Start

Can be use to go very fast from one location on the wire to other one when tracking : to reach a new area for example :

Speed and Ang 1 are used

ArduRemote Setting RFID 60.jpg

When tag 703a7f81 is find AND mower Status is TRACK_TO_START ,if you put FAST_START in the TODO column : Mower stop tracking roll 60 Degree and run at new PWM speed of 250 to find again the wire and continue tracking.


Change tracking speed

Can be use to Dock at low speed or simply change tracking speed when you want : ON big straight line mower can track at PWM=255 or on hard angle you can reduce the tracking speed

Speed and Dist1 are used.

ArduRemote Setting RFID 70.jpg


When tag 703a7f81 is find AND mower Status is WIRE_MOWING , Mower continue tracking but run at new PWM speed of 80 for next 100 cm.



Go to new mowing Area

Can be use to Go to a new mowing area (with other sender)  :

Speed ,Ang 1,Dist 1,Ang 2,Dist 2 are used and correct IP Sender setting into config.py to start and stop sender. Without WIFI it's also possible to start and stop manually the area2 sender, Most important is that the mower can read the perimeter signal inside AREA2, so try to stop mower near the Perimeter wire

ArduRemote Setting RFID 80.jpg

When tag d4d7f is find AND mower Status is TRACK_TO_START , Mower stop tracking roll -38 Degree ,Stop the AREA1 Sender over WIFI if needed , stop to read perimeter signal ,run at new PWM speed of 180 for the next 22 meters , roll again -91 and run for 4.7 meters ,Start the AREA2 Sender over WIFI, Check if signal is OK and start to find again perimeter wire to mow on the new area.


Back to station from Optional area

It is used to back to charging station from other mowing area  :

ArduRemote Setting RFID 90.jpg

When tag d4d7f is find AND mower Status is BACK_TO_STATION , Mower stop tracking roll -81 Degree ,Stop the AREA2 or 3 Sender over WIFI , stop to read perimeter signal ,run at new PWM speed of 200 for the next 18.7 meters , roll again -91 and run for 21.7 meters ,Start the AREA1 Sender over WIFI, Check if signal is OK and start to find again perimeter wire to track and find the charging station.



Result in Video

Here a fast start to go in area2 :

AT 0:40 FAST_START tag is detected Mower leave wire and run at PWM=255 to cross the area1 mowing without blade running.

AT 1:24 mower find again the area1 perimeter wire and continue to track

At 1:34 The AREA2 tag is find : mower stop to read area1 signal and start to go to area2 (NO wire under asphalt)

AT 2:07 Mower is now into AREA2 and start AREA2 sender ,Check perimeter signal,and try to find area2 perimeter.

AT 2:12 the area2 wire is find and tracking start until start distance (set into timer setting) is reach

AT 2:56 mowing in AREA2 start

AT 3:07 mower roll to adjust Compass and Gyro heading to be sure the lane are always in same orientation over time.

https://www.youtube.com/watch?v=NGX7KlfbtKA&list=UUIMdsOWo0cHTKruv9PVdJPw&index=6



Here Escape from AREA2 Island and return to charging station:

At 0:19 a tree island is find ,Mower start to track the wire

At 0:40 the RTS tag is find and used to escape from the tree island , mower leave the wire and try to find it again in fast mode at other location.

At 0:47 the main AREA2 perimeter wire is find, mower can continue to track

At 1:52 Change area tag is find : Mower stop AREA2 sender and move to AREA1 without reading perimeter signal.

At 2:17 AREA1 Signal is detected and mower start to find AREA1 perimeter Wire.

At 2:34 again one RTS tag is find to go fast to station.


https://www.youtube.com/watch?v=9JXWokdmjaE&list=UUIMdsOWo0cHTKruv9PVdJPw&index=8