Making convertor Wiegand to 1 wire

Good day everyone,

I have some RFID reader which has Wiegand interface, and I want to read rfid card (
I succeeded with Arduino), and pass card id on 1 Wire output from Arduino, or with some other devices. Can anyone help me with this?

Start by showing your code.

This is the code I found and who works.

/*
Project: Wiegand RFID Reader Lesson
Programmer: Shahrulnizam Mat Rejab
Board: Arduino Uno
Last Modified: 23 October 2016
Website: http://shahrulnizam.com
*/
#include <SoftwareSerial.h>
int count=0;
unsigned int rfid=0;
void setup()
{
Serial.begin(57600);

pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(2), data0, FALLING);
attachInterrupt(digitalPinToInterrupt(3), data1, FALLING);
}

void loop()
{
if((count>=26)&&(rfid!=0))
{
rfid=rfid>>1;
Serial.print("RFID Tag: ");
Serial.println(rfid,HEX);
count=0;
rfid=0;
}

}

void data0()
{
rfid=(rfid<<1);
count++;
}

void data1()
{
rfid=(rfid<<1)|1;
count++;
}

So you have read the tag and have to data. Where are you trying to send it (Other than the Serial port)?

Check out the OneWire Library it has examples.

I have a Teltonika FM1125 device that has 1 wire and it's master.
I am trying to read the card from RFID readers, get from the output id card (D0,D1 from reader to Arduino pins 2,3),read with Arduino, and then pass the id card using Arduino(like a slave) to Teltonika FM1125 1 wire.