Go to advanced search

by meminoglu
Sat May 04, 2019 4:58 pm
Forum: Troubleshooting
Topic: Rpi 3 Rc-522 Module selects only one card.
Replies: 1
Views: 72

Rpi 3 Rc-522 Module selects only one card.

Hi i use RC-522 module with https://github.com/mxgxw/MFRC522-python library. It works regulary there is no problem. But when i put 2 different card same time, card reader only select one card each time. Don't read other card. For example i have 2 different rfid card in my wallet. lets say to my card...
by meminoglu
Thu Dec 06, 2018 3:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Long SPI distance problem with 2 Slaves.
Replies: 1
Views: 350

Long SPI distance problem with 2 Slaves.

I Have 2 SPI modules on Raspberry SPI0. When i connected 1 Short cable slave it is working When i connected 2 Short cables slave it is working When i connected 1 Long cable(7 meters) slave it is working When i connected 1 Short, 1 Long Slave, both are not working ! if distance is problem, why 1 Long...
by meminoglu
Tue Dec 04, 2018 10:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c and SPI cable length
Replies: 5
Views: 1276

Re: i2c and SPI cable length

RS-485 might be overkill. Does the RC522 not support a UART connection? Might be possible to use this in conjunction with some logic level converters to "amplify" the UART signal over the cable and then step it back down to 3.3v at the Pi end. If it does support UART, it could support RS-485. Yeah ...
by meminoglu
Tue Dec 04, 2018 10:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c and SPI cable length
Replies: 5
Views: 1276

Re: i2c and SPI cable length

The basic problem is that neither SPI nor I2C are designed to work over long cable lengths. They are typically designed to work from one side of a PCB to another. With I2C, if you aren't using twisted pair cables and if you haven't considered the capacitance of the cables, you are unlikely to succe...
by meminoglu
Tue Dec 04, 2018 9:59 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c and SPI cable length
Replies: 5
Views: 1276

i2c and SPI cable length

I used SPI and i2c connections together with ethernet cable. There are 8 wires, I used MOSI, MISO, SS, RST and SCLK For SPI, SDA and SCL for i2C, last wire is Ground. (I also used level shifters for Arduino Raspberry communication) In my system, there are 4 RC-522 module, 4 Arduino. I Control RC 522...
by meminoglu
Tue Nov 20, 2018 5:42 am
Forum: Automation, sensing and robotics
Topic: Rate My Project - Multiple Turnstile Controller With RPi
Replies: 1
Views: 963

Rate My Project - Multiple Turnstile Controller With RPi

https://image.ibb.co/fVLZ0L/kart-okuyucu.jpg This is my project. I targeted to control turnstile systems with One Raspberry Pi. It is only beginning. In this system actually 4 RC-522 modules are connected Raspberry pi with SPI. I needed to control Relay, buzzer etc. But i didnt want to get busy ras...
by meminoglu
Fri Nov 16, 2018 8:50 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23S17 Module For multiplying CS pin of SPI
Replies: 1
Views: 1302

MCP23S17 Module For multiplying CS pin of SPI

I need more than 2 CS pin on SPI0 . I ordered MCP23S17 module for this purpose. But i am not sure will it work. I need to run many SPI slaves, more than 5 i mean. https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17.jpg i saw this example but this is just only for leds. I am going to r...
by meminoglu
Sat Nov 10, 2018 10:24 pm
Forum: Advanced users
Topic: Is raspberry pi 3 supports more than 5 SPI slaves?
Replies: 8
Views: 408

Re: İs raspberry pi 3 supports more than 5 SPI slaves?

Pick a GPIO to use for CS Add dtoverlay=spi2-1cs,cs0_pin=?? with the GPIO number you've chosen that adds /dev/spidev2.0 I thought that spi2 is only available on the Compute Module... I don't know, I've not tried it and I'd not, yet, read the DTS source for that overlay. The docs say it's CM only bu...
by meminoglu
Sat Nov 10, 2018 5:20 pm
Forum: Advanced users
Topic: How can i run 2 python instance which has infinity loop at start up
Replies: 3
Views: 281

Re: How can i run 2 python instance which has infinity loop at start up

I solved problem with run as a service, maybe this post will help others; i created two files; sudo nano /lib/systemd/system/WEB.service sudo nano /lib/systemd/system/READ.service i modified both files with nano editor like this; [Unit] Description=My Sample Service After=multi-user.target [Service]...
by meminoglu
Sat Nov 10, 2018 3:27 pm
Forum: Advanced users
Topic: How can i run 2 python instance which has infinity loop at start up
Replies: 3
Views: 281

How can i run 2 python instance which has infinity loop at start up

I need to run 2 python instance at run time. I have edited /etc/rc.local file but it doesnt work, because they don't return anything, and i don't want to return it. Because one of the my file is flask file, which is web service, it must run all the time, another is, mifare card reader program (MFRC5...
by meminoglu
Fri Nov 09, 2018 3:55 pm
Forum: Advanced users
Topic: Is raspberry pi 3 supports more than 5 SPI slaves?
Replies: 8
Views: 408

Is raspberry pi 3 supports more than 5 SPI slaves?

Hi, i run 5 rc-522 module on raspberry pi. I use both spi (spi0 and spi1) There are 2 CS pin on SPI0 and there are 3 CS pin on spi1. And i use successfully 5 RC-522 module. But I want more! i need it. I found 74hc4067 module, but i didn't try it. and i found another module mcp23s17... i want to ask,...
by meminoglu
Thu May 03, 2018 4:09 pm
Forum: Beginners
Topic: What is the benefit of 2 SPI?
Replies: 2
Views: 226

What is the benefit of 2 SPI?

I really don't know. I use 2 spi on raspberry pi 3. I have 5 rc522 card reader, i set up 2 device on SPI0 (CE0, CE1), and i set up 3 device on SPI1 (CE0, CE1, CE2)... I Wonder, i really wonder what is the deal of 2 SPI instead of one?. You can say, it does help for set up 5 device, but we can do it ...
by meminoglu
Tue Nov 07, 2017 6:10 pm
Forum: Advanced users
Topic: Raspberry Pi RFID Reader - Which Cable?
Replies: 1
Views: 455

Raspberry Pi RFID Reader - Which Cable?

Hi. I developed RFID reader with Raspberry pi 3. I control 4 RC522 module just 1 pi! ... And it is working! My new problem is, i am going to use this product on real turnstile, i have 4 relay for openning turnstile. I cant use jumpers on real product right? I need very long cable (maybe 500 cm - 0.5...
by meminoglu
Wed Oct 18, 2017 6:31 pm
Forum: Troubleshooting
Topic: Multiple RC522 for 1 Raspberry Pi 3
Replies: 6
Views: 1573

Re: Multiple RC522 for 1 Raspberry Pi 3

DougieLawson wrote:
Wed Oct 18, 2017 5:29 pm
Use any other GPIO for reset.
Thanks a lot, you illuminated me sir.
by meminoglu
Wed Oct 18, 2017 5:27 pm
Forum: Troubleshooting
Topic: Multiple RC522 for 1 Raspberry Pi 3
Replies: 6
Views: 1573

Re: Multiple RC522 for 1 Raspberry Pi 3

You connect sckl, miso and mosi in parallel to both readers. On one you connect CE0 to CE/CS on the reader, on the other you connect CE1 to CE/CS. https://pinout.xyz/pinout/pin26_gpio7 https://pinout.xyz/pinout/pin24_gpio8 In software one (on CE0) appears as /dev/spidev0.0 the other (CE1) as /dev/s...
by meminoglu
Wed Oct 18, 2017 4:47 pm
Forum: Troubleshooting
Topic: Multiple RC522 for 1 Raspberry Pi 3
Replies: 6
Views: 1573

Re: Multiple RC522 for 1 Raspberry Pi 3

DougieLawson wrote:
Wed Oct 18, 2017 7:53 am
There's two SPI interfaces on the header https://pinout.xyz/pinout/spi so that gives you four devices without having to muck about.
Do you mean we can connect two RC-522 to one spi interface? How can we do it? Can you give me a keyword for search this, thank you.
by meminoglu
Wed Oct 18, 2017 6:55 am
Forum: Troubleshooting
Topic: Multiple RC522 for 1 Raspberry Pi 3
Replies: 6
Views: 1573

Multiple RC522 for 1 Raspberry Pi 3

Note: i mean not 2 RPi, i mean to ask more than 2 RC522... (3.. 4.. 5... vs..) First of all i am using MFRC522-python library... I can use another library to, my main question is about SS pins. I found this; https://i.stack.imgur.com/EwrtR.png I need to configure multiple ss pins, and other devices ...
by meminoglu
Fri Jul 07, 2017 9:53 am
Forum: Advanced users
Topic: Multiplayer rc522 Android multiplayer relay
Replies: 1
Views: 387

Multiplayer rc522 Android multiplayer relay

Hı everyone. I need to use multiple rc522 and multiple relays with raspberry pi 3... I have 2 questions... 1. Which modules I need to design this structure... 2. Second question is about software... When two persons put Mifare card on the rfid module exactly same time, can I authenticate both and gi...
by meminoglu
Wed May 17, 2017 6:46 pm
Forum: Troubleshooting
Topic: RC522 module dont read card every time
Replies: 4
Views: 484

Re: RC522 module dont read card every time

I'd like to try it. Thank u
by meminoglu
Wed May 17, 2017 7:19 am
Forum: Troubleshooting
Topic: RC522 module dont read card every time
Replies: 4
Views: 484

Re: RC522 module dont read card every time

I am trying to read card in while loop. And i use mifare classic card
by meminoglu
Tue May 16, 2017 12:42 pm
Forum: Troubleshooting
Topic: RC522 module dont read card every time
Replies: 4
Views: 484

RC522 module dont read card every time

Hi, my RC 522 module is on RPI 3.

I use MFRC522-python library.

When i run sudo python Read.py , some times reads the mifare cards, but most of time, it dont read (and no error), in these times, i re-run (maybe 3-4 times) Read.py and reads card. Why it happens?
by meminoglu
Sun Apr 23, 2017 2:18 pm
Forum: Troubleshooting
Topic: How to read Mifare Card sector block with key?
Replies: 1
Views: 821

How to read Mifare Card sector block with key?

I have RC522 card reader, and it is connected to raspberry pi. I have to read my Mifare Cards's spesific sector. (sector 2 - block 2) And i have a key. I can read UID, but i guess my key doesnt work. I am trying to read key with MFRC522-python library (https://github.com/mxgxw/MFRC522-python) My rea...
by meminoglu
Sun Apr 02, 2017 7:39 am
Forum: Other
Topic: ubuntu chroot problem
Replies: 2
Views: 650

Re: ubuntu chroot problem

i installed qemu-user and proot. But it didnt work too
by meminoglu
Sat Apr 01, 2017 8:46 pm
Forum: Other
Topic: ubuntu chroot problem
Replies: 2
Views: 650

ubuntu chroot problem

Hi, I build up Ubuntu 16.04 as nfs server for raspberry pi 3. I boot from network and i succeed. Bu i have chroot problem. I cant chroot in root file of raspbian. Take a look. cd /nfs/client1 sudo mount --bind /dev dev sudo mount --bind /sys sys sudo mount --bind /proc proc sudo chroot . in last ste...
by meminoglu
Wed Mar 29, 2017 9:05 pm
Forum: Staffroom, classroom and projects
Topic: is it possible to boot RPi 3 without sd cart with Pinet?
Replies: 2
Views: 2947

is it possible to boot RPi 3 without sd cart with Pinet?

Hi, i want to boot many RPI3 with one server. I saw Pinet project. With this system can i manage all raspberries with one computer? I dont want to buy 50 SD Card.

Go to advanced search