Welcome, Guest
Username: Password: Remember me

TOPIC: RFID On PCB1.3

RFID On PCB1.3 2 months 5 days ago #17655

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Here a solution for RFID Tag reader.
I have really test many reader and finally i use the PN5180 because (it's not 125KHZ and the reading distance is >10 CM with card)
Here the component used (sorry but unfortunatly only in china ????) replace the bbay with ebay:P
www.bbay.fr/itm/10pcs-RFID-cards-13-56Mh...p2057872.m2749.l2648
www.bbay.fr/itm/PN5180-NFC-RF-I-Sensor-I...a:g:aZ8AAOSw7PZZ3yLq
www.bbay.fr/itm/ESP32-ESP32S-CP2102-Deve...7:g:WiYAAOSwyrFZO5XR

Simply remove the HC05 Bt module from PCB1.3 and connect the ESP32 instead:



With a simple wired board:


And inside the mower.




The ESP32 is now used by arduremote or Pfod and a new message is add with the tag ID find when the mower detect it.
The Azuritber send the tagID to raspberry PI and a database checking can tell the mower what to do.
Next step is to Do all the job in the DUE but it's difficult to enter the data in the DUE.

github.com/Boilevin/AzuritBer/tree/RFID/...2_PFOD_PASSERELLE_OK

All work like a charm for the moment(With a PI3B+) :)
The following user(s) said Thank You: jussip

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 2 months 4 days ago #17661

  • jussip
  • jussip's Avatar
  • Offline
  • User
  • User
  • Posts: 205
  • Thank you received: 14
Wow, someone has been busy. Is all changes needed marked with 'RFID PARTS ADDED'`?

btw. can't see trough card with light, how big is chip/antenna inside. Just thinking if card can be cutted smaller

Please Log in or Create an account to join the conversation.

Last Edit: by jussip.

RFID On PCB1.3 2 months 4 days ago #17662

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186

'RFID PARTS ADDED'

ESP32_PFOD_PASSERELLE_OK is the code you need to put into the ESP32 using arduino Ide .
And use PiArdumower and ardumower from the RFID branch.
The "fast start" (use tag to leave the wire and go faster on other part of the area when start with timer) is not finish but the fast return to station and second AREA works perfectly using timer.

Just thinking if card can be cutted smaller

At beginning i thought also that tag is better but no problem with the card.
To cut them I Don't know but i have 6 cards 2 or 3 cm under ground and no issue for the size .
In the picture the distance between ground and reader is near 6,7 cm and the reader read easily at more than 10 cm.
The following user(s) said Thank You: Paddy

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 2 months 3 days ago #17664

  • Paddy
  • Paddy's Avatar
  • Offline
  • User
  • User
  • Posts: 459
  • Thank you received: 205
Cool solution, thanks for sharing.

You say RPI tells your mower what to do if you hit a given Tag ID. In my opinion, this is the best solution, I wouldn't add this to Firmware directly. Because you've already a RPI inside the mower, there is no benefit of moving this to DUE. It has lots of drawbacks because it is hard to manage here.

In my opinion, the current firmwares (all of them) do lot of stuff and it is not that easy to test new features. My plan for winter season is to move everything to ROS and to get the Firmware as small as possible. Firmware should only manage motors and stops when sensors triggers, ROS then need to plan the next movements. I think the winter season will be too short for this task :-)

Please Log in or Create an account to join the conversation.

Tianchen TC-158N umgebaut auf Ardumower 1.0a10-dev Azurit
Klarstein Cleantouch Staubsauger umgebaut auf Ardumower 1.0a5 Azurit
Ardumower Arctic Hare

www.weberpatrick.de

RFID On PCB1.3 2 months 3 days ago #17666

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186

You say RPI tells your mower what to do if you hit a given Tag ID

Yes i have add a status in the firmware so when i find a tag i can search for (tag UID AND status) and if all match i put the mower into a new state using a PFOD command.
Here a screen copy of the setting and it's only this parts (and the search method) i need to build into AZURIT:huh:

the current firmwares (all of them) do lot of stuff

Yes but actualy the mowing state have a loops/sec near 13000 so i can had some stuff.

it is not that easy to test new features

It's why i use the PI to record all the console data (i also add a lot of Console.print in the code) and it's really help a lot for debug.

ROS

Last year i have try to setup ROS in the PI but after a lot of work it did not work very well and very slowly.
The big issue is that at 0.5m/s the mower have only some millisecond to react (for example on bumper or on IMU driving) and i'm not sure ROS can react faster BUT Yes it's certainly a very good possibility.


Actually the Perimeter Range is not enough for me and i need to find a way to solve this and the 100% reliability because i want to mow near a lake(pond) because the mower don't like water :cheer: .
Attachments:

Please Log in or Create an account to join the conversation.

Last Edit: by Bernard.

RFID On PCB1.3 1 month 3 weeks ago #17722

  • Stockfisch
  • Stockfisch's Avatar
  • Offline
  • User
  • User
  • Posts: 46
  • Thank you received: 0
Hello
I will try this solution for my island problem.
Actuall i start to order. Lets wait for the ship from china...
Do you printed the box for the reader and esp? Or is it a standard box?
Best regards,
Bjoern

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17728

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Here the description of the Actual RFID setting into PyArdu
.
The setting screen


TAG Nr : it is the unique UID of the card that you put under ground.
Status : use to select the action to do according to the mower actual status(same tag can be use to fast start or back to station 1AD8DB95 for example)
What To DO : when a card is find and mower status and rfid status match : it's what the mower do.
Speed : is the new setting speed (for example the back to station is possible at PWM=255)
Angle1 : is the rotate angle after find the tag.
Distance 1,Angle2,Distance 2 are only use to go into a new mowing area.
Distance 1 : is the distance that the mower drive before change to Angle2
Angle2 : is the second rotate angle after distance 1 driving
Distance 2 : is the distance that the mower drive before wait for the signal of the new area.


And here the video :

It's the Fast start to area2 using timer.
At 40 seconde, mower detect the tag 1AD8DB95
At 1 min 35 seconde, mower detect the tag B0CEDB95
At 2 min 30 seconde, mower detect the tag 8ECDB95 but ignore it because the mower status is TRACK_TO_START

Attachments:
The following user(s) said Thank You: Stockfisch

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17729

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Here the Escape from Area2 Island and back to station (It's the same if the island is in the station area)
Again the Setting page.


And the video:

At 40 Secondes: mower detect tag 9569DB95
At 1 minute 51 seconde mower detect tag 8ECDDB95
At 2 minute 33 seconde mower detect tag 72B8DB95

Attachments:
The following user(s) said Thank You: Stockfisch

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17730

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Here the fast return to station using 2 tag
Again the same setting page to easy understand.



And the video:
At 20 seconds mower detect tag 1AD8DB95 with status BACK_TO_STATION.
At 50 seconds mower detect tag 72B8DB95

Attachments:
The following user(s) said Thank You: Stockfisch

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17731

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
@stockfisch
The box is 3D printed and contain only the rfid reader PN5180 (The ESP and PCB is locate Inside the mower.
Here the file:

Please Log in or Create an account to join the conversation.

Last Edit: by Bernard.

RFID On PCB1.3 1 month 3 weeks ago #17733

  • jussip
  • jussip's Avatar
  • Offline
  • User
  • User
  • Posts: 205
  • Thank you received: 14

Bernard wrote: @stockfisch
The box is 3D printed and contain only the rfid reader PN5180 (The ESP and PCB is locate Inside the mower.
Here the file:

My plan is place rfid reader and esp32 to bottom of motor box (inside) about 5-6 cm to ground. If it's not work then something else.

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17735

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Normaly no problem you need to check the Bluetooth range, but i also put the ESP32 near my motor and it work perfectly.

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17756

  • Stockfisch
  • Stockfisch's Avatar
  • Offline
  • User
  • User
  • Posts: 46
  • Thank you received: 0
Hi
This sounds great. But i can not see the file...
Is it also on GitHub?
Best regards
Bjoern

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17757

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Sorry i have not wait enough when send the message
This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

The following user(s) said Thank You: Stockfisch

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17769

  • Stockfisch
  • Stockfisch's Avatar
  • Offline
  • User
  • User
  • Posts: 46
  • Thank you received: 0
Thank you!
I can print with 1% speed. The reader is on the long way from China...
Do i need the GY88 for the Rfid? I have one but actual it is switched of. I dont need it because i always mowe Random.
Best,
Bjoern

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17770

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186

Do i need the GY88 for the Rfid? I have one but actual it is switched of. I dont need it because i always mowe Random.

YES and i Don't understand why you mow only in random ??
Also i never test the firmware without IMU (It's also the tilt safety)

Connect it (see jussip post for wiring)
Put arduremote in developer mode (into info)
Into setting bylane ,using arduremote adjust the yaw Opposite Roll dir right and left for the 3 lanes
it's realtime dir adjust using the slider , so it's very easy to do this until you have parallel (do not change the 3 fixed yaw)
Set the max lane lenght to 30 meters for example.
Now Into PFOD Setting MOW set the mow pattern duration to 60 minutes for example, by this way the mower change from by lane to random automaticly to avoid mark on the grass
Here the result

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17771

  • Stockfisch
  • Stockfisch's Avatar
  • Offline
  • User
  • User
  • Posts: 46
  • Thank you received: 0
Thank you.
The video is not working. Your other videos are working good. Only this has a problem.
Best,
Bjoern

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 1 month 3 weeks ago #17772

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • User
  • User
  • Posts: 985
  • Thank you received: 186
Sorry it was private :ohmy:

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 2 weeks 4 days ago #17892

  • Stockfisch
  • Stockfisch's Avatar
  • Offline
  • User
  • User
  • Posts: 46
  • Thank you received: 0
Hi
Now i have nearly all components to start RFID.
Only the ESP is the wrong one. The new one will come next week.
Is there somewhere a kind of manual for installing the Raspberry?
Special the part to install the PiArdumower soft. Where i have to put what?
Thanks and best regards,
Bjoern

Please Log in or Create an account to join the conversation.

RFID On PCB1.3 2 weeks 4 days ago #17894

  • n3nxEZ
  • n3nxEZ's Avatar
  • Offline
  • User
  • User
  • Posts: 11
  • Thank you received: 2
Hello, check github.com/Boilevin/AzuritBer/blob/maste...etup%20raspberry.txt
Thanks to Bernard for great work i will test this next week.
The following user(s) said Thank You: Stockfisch

Please Log in or Create an account to join the conversation.

Time to create page: 4.726 seconds