02 - TK64 Infrared Receiver

# 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. ![](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250730170133.png?v=1753858915) > Digital # Pinout | Pin | Function | | ------ | -------------------- | | GND | Ground | | VCC | VCC | | NC | Not Connected | | Signal | Digital, Active High | # Dimensions ![](images/Pasted%20image%2020250718185906.png) # 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. [![Technical Support](https://cdn.shopify.com/s/files/1/0331/9994/7908/files/Pasted_image_20250527102623_4e41083f-a1d3-412d-a78f-9cb11ecf69e5.png?v=1754008493)](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!**