Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:rfid [2016/05/29 22:00]
over23 [READ NFC522 by node-red]
projects:rfid [2016/06/14 03:48]
over23
Line 6: Line 6:
 |**Materials:​**| BananaPi, RFID-RC522, nepajive pole, kabely samec-samice s jumper konci, 5V napajeni, pajecka, pocitac s SSH| |**Materials:​**| BananaPi, RFID-RC522, nepajive pole, kabely samec-samice s jumper konci, 5V napajeni, pajecka, pocitac s SSH|
 |**License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ |  ​ |**License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ |  ​
 +
 +
 +===== on RaspberryPi 1b =====
 +https://​www.raspberrypi.org/​documentation/​configuration/​device-tree.md
 +<​code>​
 +wget http://​www.airspayce.com/​mikem/​bcm2835/​bcm2835-1.44.tar.gz
 +tar -xvzf bcm2835-1.44.tar.gz
 +cd bcm2835-1.44
 +./configure
 +make
 +sudo make check
 +sudo make install
 +</​code>​
 +===== TO STUDY =====
 +  * https://​github.com/​AdamLaurie/​RFIDIOt - some tools
 +  * http://​jerrygamblin.com/​2015/​12/​05/​25-handheld-rfid-cloner/​ - to clone
  
 ===== RC522 vs BananaPi Pinout =====  ===== RC522 vs BananaPi Pinout ===== 
Line 15: Line 31:
 |CLOCK|23|GPIO11/​SCLK |yellow | |CLOCK|23|GPIO11/​SCLK |yellow |
 |SS|24|COE0#/​GPIO07|green| |SS|24|COE0#/​GPIO07|green|
 +
 +==== RC522 vs RaspberryPI B ====
 +{{projects:​pythonraspberrypi_rfid.png}}
 +
  
 Reference: ​ Reference: ​
Line 47: Line 67:
  
   * http://​raspmer.blogspot.cz/​2015/​07/​how-to-use-rfid-rc522-on-raspbian.html   * http://​raspmer.blogspot.cz/​2015/​07/​how-to-use-rfid-rc522-on-raspbian.html
 +
 +!!!!! http://​blog.infraserver.eu/?​p=285
  
 <​code>​ <​code>​
Line 119: Line 141:
 [root@picka ~]# node -v [root@picka ~]# node -v
 v0.10.29 v0.10.29
- 
  
 sudo npm cache clean -f sudo npm cache clean -f
Line 125: Line 146:
 sudo n stable sudo n stable
 # version can be switched by: sudo n 0.8.21 # version can be switched by: sudo n 0.8.21
 +
 +[root@picka ~]# shutdown -r now
  
 [root@picka ~]# node -v [root@picka ~]# node -v
 v6.2.0 v6.2.0
  
-[root@picka ~]# npm install ​node-pre-gyp +[root@picka ~]# node-red-admin install ​node-red-node-irc 
-npm WARN package.json ​node-red-node-bananapi@0.0.2 No README data +#[root@picka ~]# npm install ​node-pre-gyp 
-npm WARN engine deep-extend@0.4.1: wanted: {"​node":">​=0.12.0","​iojs":">​=1.0.0"​} (current: {"​node":"​0.10.29","​npm":"​1.4.21"​}) +#[root@picka ~]# npm install node-red-contrib-gpio 
-npm WARN engine hawk@3.1.3: wanted: {"​node":">​=0.10.32"​} (current: {"​node":"​0.10.29","​npm":"​1.4.21"​}) +#root@picka ~]# npm install raspi-io 
-npm WARN engine cryptiles@2.0.5:​ wanted: {"​node":">​=0.10.40"​} (current: {"​node":"​0.10.29","​npm":"​1.4.21"​}) +#[root@picka ~]# npm install ​node-red-node-irc
-npm WARN engine hoek@2.16.3:​ wanted: {"​node":">​=0.10.40"​} (current: {"​node":"​0.10.29","​npm":"​1.4.21"​}) +
-npm WARN engine boom@2.10.1:​ wanted: {"​node":">​=0.10.40"​} (current: {"​node":"​0.10.29","​npm":"​1.4.21"​}) +
-node-pre-gyp@0.6.28 node_modules/​node-pre-gyp +
-├── semver@5.1.0 +
-├── nopt@3.0.6 (abbrev@1.0.7) +
-├── rc@1.1.6 (ini@1.3.4, strip-json-comments@1.0.4,​ deep-extend@0.4.1,​ minimist@1.2.0) +
-├── mkdirp@0.5.1 (minimist@0.0.8) +
-├── rimraf@2.5.2 (glob@7.0.3) +
-├── npmlog@2.0.4 (ansi@0.3.1,​ gauge@1.2.7,​ are-we-there-yet@1.1.2) +
-├── tar-pack@3.1.3 (uid-number@0.0.6,​ once@1.3.3, debug@2.2.0,​ fstream-ignore@1.0.5,​ readable-stream@2.0.6,​ fstream@1.0.9) +
-├── request@2.72.0 (is-typedarray@1.0.0,​ oauth-sign@0.8.2,​ aws-sign2@0.6.0,​ forever-agent@0.6.1,​ tunnel-agent@0.4.3,​ caseless@0.11.0,​ stringstream@0.0.5,​ isstream@0.1.2,​ json-stringify-safe@5.0.1,​ extend@3.0.0,​ aws4@1.4.1, combined-stream@1.0.5,​ node-uuid@1.4.7,​ qs@6.1.0, tough-cookie@2.2.2,​ mime-types@2.1.11,​ form-data@1.0.0-rc4,​ bl@1.1.2, http-signature@1.1.1,​ har-validator@2.0.6,​ hawk@3.1.3) +
-└── tar@2.2.1 (inherits@2.0.1,​ block-stream@0.0.9,​ fstream@1.0.9) +
- +
-[root@picka ~]# npm install node-red-contrib-gpio +
- +
-.... +
- +
-[root@picka ~]# npm install ​raspi-io+
  
  
 +[root@picka ~]# shutdown -r now
 </​code>​ </​code>​
  • projects/rfid.txt
  • Last modified: 2016/06/14 04:21
  • by over23