makerforgetech / modular-biped

An open source framework for creating a bipedal modular companion robot.
https://www.instagram.com/dan.makes.things/
GNU General Public License v3.0
271 stars 41 forks source link

V3 RFID.py #25

Closed SentryCoderDev closed 1 year ago

SentryCoderDev commented 1 year ago

Hi Dan, I wrote an rfid code that will work separately from the robot, only to log in, I have translated the comment lines into English for you.

Footnote: Not yet in real life tested. I tested it in virtualenv. It seems to work. I used a classic mfrc522 rfid module. SPI pins may need to be enablea nd some of the robot's pins may need to be relocated I didn't have a chance to look at the circuit diagram

FZLCJ29J5CQ0TPZ

Pinouts:

SDA <--> 24

SCK <--> 23

MOSI <--> 19

MISO <--> 21

IRQ <--> UNUSED

GND <--> 6

RST <--> 22

3.3V <--> 1

SentryCoderDev commented 1 year ago

And i activated the chatbot but i haven't added it in main.py yet. I don't know how to add main.py but maybe it will help https://github.com/SentryCoderDev/SentryBOT/blob/SentryBOT-V3/modules/chatbot/chatbot.py

danic85 commented 1 year ago

Thanks for this @SentryCoderDev , it's great to see some contributions to this project!

Unfortunately this PR contains all of the changes you've made (over 200 files) so I can't merge it or test it on my robot. If you want to share the RFID module you can create a new branch from the original v3 branch (or develop, or master as they're all the same now) and include only the changes that you want to merge to the main repo.

I'll close this for now but I'm happy for you to create a new PR with those changes when you have the branch ready.

Thanks!