# Overview
The **Lonely Binary TinkerBlock TK64 Infrared Receiver** is a high-sensitivity, compact module designed to receive and decode infrared (IR) signals for a wide range of electronics projects. Featuring a high-performance IR receiver (optimized for 38kHz signals), the TK64 captures IR transmissions from devices like the Lonely Binary TinkerBlock TK63 Infrared Transmitter or standard remote controls, making it ideal for remote control systems, IR communication, and interactive applications.

> Digital
# Pinout
| Pin | Function |
| ------ | -------------------- |
| GND | Ground |
| VCC | VCC |
| NC | Not Connected |
| Signal | Digital, Active High |
# Dimensions

# Components
## PT334-6B
The PT334-6B is a high-speed, high-sensitivity NPN silicon phototransistor manufactured by Everlight Electronics. It’s designed to detect infrared light, typically at a peak wavelength of 940nm, and is commonly paired with IR LEDs like the IR333-A which is used on TK63 in reflective or transmissive sensing applications.
# Sample Code
```cpp
// Pin definitions
#define SENDER_PIN 5 // Digital pin for IR transmitter (e.g., TK63 with IR333-A)
#define RECEIVER_PIN 3 // Digital pin for IR receiver (e.g., TK64)
void setup() {
// Initialize Serial communication for debugging
Serial.begin(9600);
// Configure pin modes
pinMode(SENDER_PIN, OUTPUT);
pinMode(RECEIVER_PIN, INPUT);
// Activate IR transmitter (set HIGH to enable IR333-A)
digitalWrite(SENDER_PIN, HIGH);
// Log initialization status
Serial.println(F("IR Transceiver Initialized"));
}
/**
* @brief Reads the IR receiver's digital state and prints it to Serial.
*/
void loop() {
// Read digital state of the receiver
int receiverState = digitalRead(RECEIVER_PIN);
// Print receiver state to Serial Monitor
Serial.print(F("Receiver State: "));
Serial.println(receiverState);
// Delay for consistent sampling
delay(100);
}
```
# Product Link
For product support, manuals, tutorials, and sample code, please visit our product page to access comprehensive resources.
[https://lonelybinary.com/products/tk64](https://lonelybinary.com/products/tk64)
# Support
If you encounter any issues, please go to [https://lonelybinary.com ](https://lonelybinary.com ) and click the Support button located in the bottom right corner. Our team is ready to assist you.
[](https://lonelybinary.com)
# Thank You
Thank you for choosing TinkerBlock to fuel your passion for STEM! Whether you’re a student diving into coding, an educator shaping future innovators, a hobbyist bringing your vision to life, or a business seeking cutting-edge solutions, TinkerBlock empowers you to create, learn, and innovate.
**For school orders, wholesale inquiries, or custom business solutions, please contact us to discuss your specific needs.**
[office@lonelybinar.com](office@lonelybinary.com)
> **Unleash Your Creativity with TinkerBlock – Where Coding Meets the Real World!**
TinkerBlock UNO R3 Starter Kit
Dive into the world of electronics, Arduino programming, and STEM projects with the Lonely Binary TinkerBlock Series Starter Kit.
- Choosing a selection results in a full page refresh.