Difference between revisions of "RDM6300"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
Line 6: Line 6:
  
 
You can connect pins 4 (VCC 5V), 6 (GND), 8 (UART1 TX) and 10 (UART1 RX) to the corresponding pins in the board (of course, TX to RX and vice versa).
 
You can connect pins 4 (VCC 5V), 6 (GND), 8 (UART1 TX) and 10 (UART1 RX) to the corresponding pins in the board (of course, TX to RX and vice versa).
 +
 +
Check, using npi-config, that UART1 is enabled (npi-config -> Advanced options -> Serial -> serial1).
  
 
[[File:RFID125Headers.png]]
 
[[File:RFID125Headers.png]]
 +
 +
Download and compile comtest
 +
 +
git clone https://github.com/friendlyarm/comtest.git
 +
cd comtest
 +
gcc -o comtest comtest.c
 +
 +
then test it
 +
 +
./comtest -d /dev/ttyS1 -s 9600

Revision as of 19:57, 20 April 2020

Pins and voltage

RDM6300 can be powered from NanoPI +5V pin. However, it does not require voltage adapters for signals, as the signals are 3.3V (in and out).

Test

You can connect pins 4 (VCC 5V), 6 (GND), 8 (UART1 TX) and 10 (UART1 RX) to the corresponding pins in the board (of course, TX to RX and vice versa).

Check, using npi-config, that UART1 is enabled (npi-config -> Advanced options -> Serial -> serial1).

RFID125Headers.png

Download and compile comtest

git clone https://github.com/friendlyarm/comtest.git
cd comtest
gcc -o comtest comtest.c

then test it

./comtest -d /dev/ttyS1 -s 9600