Comments (8)
hey sir,
i think your issue is that i initialize wiringPI with channel 0 but you need channel 1
https://github.com/firsttris/mfrc522-rpi/blob/master/index.js#L7
wiringPiSPISetup (int channel, int speed) ;. This is the way to initialise a channel (The Pi has 2 channels; 0 and 1).
regards
Tristan
from mfrc522-rpi.
i will add the possibility to choose the spi channel
from mfrc522-rpi.
please update to 1.1.0 where you have the ability to choose the spi channel.
see example:
https://github.com/firsttris/mfrc522-rpi/blob/master/test/read.js#L4
was not able to test it since im on leave currently.
best regards
tristan
from mfrc522-rpi.
In fact, it was the first change I made in the index, however I did not detect the device, I added a capture
note that MFRC522-PYTHON Works fine
from mfrc522-rpi.
just to be sure...
have you activated SPI in Raspbian properly ?
https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md
from mfrc522-rpi.
yes, in /boot/config.txt
dtparam=spi=on
dtoverlay=spi1-1cs
dtoverlay=pi3-disable-bt
bt is disable for security
from mfrc522-rpi.
shouldn't dmesg detect the module appart from which implementation you are using?
i will do some tests when im back home.
how do i psyically connect my module to use SPI 1 ?
regards
Tristan
from mfrc522-rpi.
using soft-pi now instead of wiring-pi, please check and re-open if error still persists
from mfrc522-rpi.
Related Issues (17)
- Unable to determine hardware version. I see: Hardware : BCM2835 HOT 9
- MFRC522 not working on RPi 4 HOT 5
- Increasing range of MFRC522 HOT 2
- MFRC522-python not working after running mfrc522-rpi HOT 1
- Very long delay on startup: Reason for 250ms delay? HOT 10
- 7 byte uid HOT 1
- Cannot get continuous read HOT 5
- Atomics.wait cannot be called in this context HOT 12
- Pin in use
- Request for publishing the package in npm
- Race condition(?) on a mifare ISO/IEC 14443-4 card
- Request for publishing the repo in npm
- Error while reading! Status: false Data: 55 BitSize: 0
- Error: Cannot find module '../build/Release/WiringPi HOT 6
- Example of how to write on NTAG213, if possible HOT 3
- LEDs on module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mfrc522-rpi.