

The Tarjeta_PCB_torniquete is a printed circuit board (PCB) developed by Omarsa (Part ID: 01) for controlling and managing turnstile mechanisms. This component is specifically designed for access control systems, enabling precise regulation of entry and exit in secured areas. It integrates seamlessly with various sensors, actuators, and microcontrollers, making it a versatile solution for modern access management.








| Parameter | Value |
|---|---|
| Manufacturer | Omarsa |
| Part ID | 01 |
| Operating Voltage | 12V DC |
| Maximum Current | 2A |
| Communication Protocols | UART, I2C |
| Input Interfaces | RFID, Biometric, Push Button |
| Output Interfaces | Motor Driver, LED Indicators |
| Operating Temperature | -20°C to 70°C |
| PCB Dimensions | 100mm x 70mm |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power input (12V DC) |
| 2 | GND | Ground connection |
| 3 | RX | UART Receive pin for communication |
| 4 | TX | UART Transmit pin for communication |
| 5 | I2C_SCL | I2C Clock line |
| 6 | I2C_SDA | I2C Data line |
| 7 | SENSOR_IN | Input for external sensors (e.g., RFID, biometric) |
| 8 | MOTOR_CTRL | Output to control the turnstile motor |
| 9 | LED_STATUS | Output for status LED indicators |
| 10 | RESET | Reset pin to restart the PCB |
The Tarjeta_PCB_torniquete can be easily interfaced with an Arduino UNO for access control applications. Below is an example code snippet for controlling the turnstile motor based on an RFID input:
#include <Wire.h> // Include I2C library for communication
#define SENSOR_IN 7 // Pin connected to SENSOR_IN on the PCB
#define MOTOR_CTRL 8 // Pin connected to MOTOR_CTRL on the PCB
#define LED_STATUS 9 // Pin connected to LED_STATUS on the PCB
void setup() {
pinMode(SENSOR_IN, INPUT); // Set SENSOR_IN as input
pinMode(MOTOR_CTRL, OUTPUT); // Set MOTOR_CTRL as output
pinMode(LED_STATUS, OUTPUT); // Set LED_STATUS as output
Serial.begin(9600); // Initialize UART communication
Wire.begin(); // Initialize I2C communication
digitalWrite(MOTOR_CTRL, LOW); // Ensure motor is off at startup
digitalWrite(LED_STATUS, LOW); // Turn off status LED at startup
}
void loop() {
int sensorState = digitalRead(SENSOR_IN); // Read sensor input
if (sensorState == HIGH) {
// If sensor is triggered, activate motor and LED
digitalWrite(MOTOR_CTRL, HIGH);
digitalWrite(LED_STATUS, HIGH);
delay(5000); // Keep motor active for 5 seconds
digitalWrite(MOTOR_CTRL, LOW);
digitalWrite(LED_STATUS, LOW);
}
delay(100); // Small delay to avoid rapid triggering
}
PCB Not Powering On:
Motor Not Responding:
No Communication with Microcontroller:
LED Indicators Not Working:
Q: Can I use a 5V power supply instead of 12V?
A: No, the PCB requires a 12V DC power supply for proper operation.
Q: Is the PCB compatible with other microcontrollers besides Arduino?
A: Yes, the PCB supports UART and I2C communication, making it compatible with most microcontrollers.
Q: Can I connect multiple sensors to the PCB?
A: Yes, but you may need to use a multiplexer or additional circuitry to handle multiple inputs.
Q: What happens if the PCB overheats?
A: The PCB may shut down or malfunction. Ensure proper ventilation and operate within the specified temperature range.
This documentation provides a comprehensive guide to using the Tarjeta_PCB_torniquete effectively in your projects. For further assistance, refer to the manufacturer's support resources.