Go to advanced search

by Spalunkeldusch
Sun Mar 17, 2019 6:55 pm
Forum: Beginners
Topic: run python script on boot issue
Replies: 7
Views: 681

Re: run python script on boot issue

If the script needs to be run as user pi then try this in rc.local sudo -u pi python /home/pi/Downloads/script.py & Or skip rc.local entirely and put it in the pi user's crontab. Either way, until we have the actual error message you're getting when starting your script at boot there ain't a whole ...
by Spalunkeldusch
Sat Mar 16, 2019 2:39 pm
Forum: Beginners
Topic: run python script on boot issue
Replies: 7
Views: 681

Re: run python script on boot issue

What libraries are you importing and where have they been installed? You may find that setting the current working directory before calling your script (or as the first thing your script does - see the os module) cures the problem. For example, start your script with: #!/usrbin/env python import os...
by Spalunkeldusch
Fri Mar 15, 2019 10:42 pm
Forum: Beginners
Topic: run python script on boot issue
Replies: 7
Views: 681

run python script on boot issue

Hello, I have a python script that displays text on my i2c OLED screen connected to the Pi. It asks to attach the RFID card to the reader. After the card is attached the screen displays the card ID and other data. When I try to run this script via default raspbian text editor - it doesn't work. I ge...
by Spalunkeldusch
Wed Mar 06, 2019 11:24 am
Forum: Beginners
Topic: RFID + RPi, prevention
Replies: 1
Views: 143

RFID + RPi, prevention

Hello, I am working on a project of time attendance system using raspberry and rc522. Got everything set up and running pretty solid, however, I need some ideas from you guys how could I implement a prevention of a person using his RFID card to check attendance and then scanning a card for a friend ...
by Spalunkeldusch
Tue Feb 12, 2019 9:31 pm
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Re: Raspberry pi + RFID + database

Thank you for your answer! Basically, my point now is to try reading RFID tags and placing them into tables created directly in Raspberry Pi, only then I should move to the net? Did you tried my github and read the doorsystem.py to figure out how it works? Yes. Thank you for all the help. I have re...
by Spalunkeldusch
Mon Feb 11, 2019 6:15 am
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Re: Raspberry pi + RFID + database

(I am using Rpi2 model B so it doesn't have wifi (i use edimax usb adapter for this)). I might be misunderstanding something myself but if I install database, phpmyadmin and apache (or something else) to my raspberry pi itself and I bring the whole project to my college and connect to the college's...
by Spalunkeldusch
Fri Feb 08, 2019 9:05 am
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Re: Raspberry pi + RFID + database

For the wifi connection you could simply create an access point with your Raspberry Pi. This way you could do you presentation using any kind of device connect by wifi to your Pi. If you want simplier just bring a router with you and connect your devices to it! Door system and attendance is basical...
by Spalunkeldusch
Thu Feb 07, 2019 2:45 pm
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Re: Raspberry pi + RFID + database

Check my howto in that github https://github.com/danjperron/MFRC522-python It is a modified version which accept 7 and 10 Bytes UID cards. Also it doesn't need sudo since I use ioctl for the spi. Download phpmyadmin webpage admin for sql. very handy. Also I include a small python script which calle...
by Spalunkeldusch
Wed Feb 06, 2019 6:51 pm
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Re: Raspberry Pi 2 model B with RC522 - Does not read tags

Hello. Sorry for the long wait. I have bought a new rc522, soldered the pins, followed this tutorial: https://medium.com/coinmonks/for-beginners-how-to-set-up-a-raspberry-pi-rfid-rc522-reader-and-record-data-on-iota-865f67843a2d And i was able to read the tags properly. So it was a faulty rc522 befo...
by Spalunkeldusch
Mon Feb 04, 2019 1:32 pm
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Re: Raspberry pi + RFID + database

Any other beginner friendly alternatives?
by Spalunkeldusch
Tue Jan 29, 2019 1:36 pm
Forum: Beginners
Topic: Raspberry pi + RFID + database
Replies: 12
Views: 1940

Raspberry pi + RFID + database

Hello, I need some experienced advice what should I look into. Currently, I am working on a project with raspberry pi 2 model b and RFID RC522 reader. Basically, the idea is to store all the rfid tag data (id) to a database, then create a web access for users with different privileges to see the con...
by Spalunkeldusch
Fri Dec 21, 2018 9:38 am
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Re: Raspberry Pi 2 model B with RC522 - Does not read tags

DougieLawson wrote:
Thu Dec 20, 2018 5:16 pm
Does the reader run at 3.3V or 5V?
Hello,

I have connected the reader with raspberry to pin1 (3.3V) and I am using 5V micro-usb power supply
by Spalunkeldusch
Thu Dec 20, 2018 12:28 pm
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Re: Raspberry Pi 2 model B with RC522 - Does not read tags

OK what happens when, with the wiring as per tutorial, you run the example "Read.py" in the directory "MFRC522-python" It runs a script as it should with the message "Press CTRL-C to stop". Based on tutorial, at this point I should place the RFID card on the reader and the ID should appear, but it ...
by Spalunkeldusch
Sat Dec 15, 2018 2:39 pm
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Re: Raspberry Pi 2 model B with RC522 - Does not read tags

For the test disconnect your green and orange wires at the pi header (MOSI and MISO) and connect a female-female wire onto those two pins. So, what we have is the output connected back to the input for testing SPI. Then use joans commands. Hello again, I have received the same answer to the command...
by Spalunkeldusch
Tue Dec 11, 2018 8:30 am
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Re: Raspberry Pi 2 model B with RC522 - Does not read tags

Have you enabled the SPI Interface using sudo raspi-config Also what happens if you run the SPI test as descibed by joan in this thread (with a wire connecting MOSI and MISO) https://www.raspberrypi.org/forums/viewtopic.php?t=208332 Hello, Thank you for you answer. I have enabled SPI using the comm...
by Spalunkeldusch
Sat Dec 08, 2018 6:58 pm
Forum: Beginners
Topic: Raspberry Pi 2 model B with RC522 - Does not read tags
Replies: 12
Views: 642

Raspberry Pi 2 model B with RC522 - Does not read tags

Hello, I am currently working on my university project on a topic "RFID school attendance system". I have borrowed raspberry pi 2 model B from my colleague and installed fresh NOOBS/Raspbian OS into the SD card. I have followed each possible tutorial on the internet regarding the wiring/reading/writ...

Go to advanced search