All Projects → kattaliraees → nrf52-IR

kattaliraees / nrf52-IR

Licence: MIT license
Decoding and saving carrier modulated IR signals and sending modulated IR signals using NRF52 SoCs

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to nrf52-IR

arduino-primo-tutorials
Here some tutorials to explain and show how to make use of the new features of the Arduino Primo and Arduino Primo Core, such as Wifi, BLE, NFC, InfraRed and various sensors. Hope you can find this helpful to create amazing stuff, save the planet or make a cool project to look smart at the dinning table with your uncles.
Stars: ✭ 12 (-29.41%)
Mutual labels:  nrf52832, infrared, nrf52
tinyfont
Text library for TinyGo displays
Stars: ✭ 37 (+117.65%)
Mutual labels:  microcontroller, nrf52, nrf51
Tinygo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
Stars: ✭ 9,068 (+53241.18%)
Mutual labels:  microcontroller, nrf52, nrf51
nrf52832-pac
Peripheral Access Crate for the nRF52832 microcontroller
Stars: ✭ 21 (+23.53%)
Mutual labels:  microcontroller, nrf52832, nrf52
IOS-DFU-Library
OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
Stars: ✭ 400 (+2252.94%)
Mutual labels:  nrf52, nrf51
nrf52-lora
LoRa node on nRF52
Stars: ✭ 24 (+41.18%)
Mutual labels:  nrf52832, nrf52
DigiOS
Mini OS emulator for Digispark (an Attiny85 based microcontroller).
Stars: ✭ 46 (+170.59%)
Mutual labels:  microcontroller, electronics
PrecIR
You know what this is for ;-)
Stars: ✭ 60 (+252.94%)
Mutual labels:  electronics, infrared
open-electronics
📚 💻 Great Resources for Electronics Enthusiasts
Stars: ✭ 347 (+1941.18%)
Mutual labels:  microcontroller, electronics
Wasm3 RGB Lamp
Animating an RGB lamp, using WebAssembly!
Stars: ✭ 35 (+105.88%)
Mutual labels:  nrf52, nrf51
Blog
A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.
Stars: ✭ 198 (+1064.71%)
Mutual labels:  microcontroller, electronics
Goldfish
A small, thin, USB-C, Pro Micro compatible microcontroller
Stars: ✭ 120 (+605.88%)
Mutual labels:  microcontroller, electronics
Open Electronics
📚 💻 Great Resources for Electronics Enthusiasts
Stars: ✭ 242 (+1323.53%)
Mutual labels:  microcontroller, electronics
webapp-nordic-thingy
Thingy:52 reference web app
Stars: ✭ 54 (+217.65%)
Mutual labels:  nrf52832
Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
Stars: ✭ 122 (+617.65%)
Mutual labels:  electronics
EthernetWebServer SSL
Simple TLS/SSL Ethernet WebServer, HTTP Client and WebSocket Client library for for AVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. It now supports Ethernet TLS/SSL Client. The library supports …
Stars: ✭ 40 (+135.29%)
Mutual labels:  nrf52
IntrOS
Free cooperative operating system (OS) for microcontrollers
Stars: ✭ 38 (+123.53%)
Mutual labels:  microcontroller
circuit-simulator
简易在线电路仿真系统
Stars: ✭ 68 (+300%)
Mutual labels:  electronics
stm32f103xx
DEPRECATED
Stars: ✭ 31 (+82.35%)
Mutual labels:  microcontroller
Talks
schedule and materials about my presentations
Stars: ✭ 245 (+1341.18%)
Mutual labels:  microcontroller

nrf52, 51 - IR Capture/Transmitter

  • Capture IR Burst from any IR remote. Send captured or any predefined IR burst.
  • Minimal use of CPU cycles. Completly based on PPI Channels
  • This will work irrespective of the IR Protocol
  • Tested with nrf SDK v15.3 & nrf52832 custom board (IR LED + TSOP38238)
  • Required nrfx drivers PPI, Timer, LOG, Clock
  • Have to be in 64MHz HFCLK
start_capturing(&ir_decode_task_completed);

//Capture completion callback
void ir_decode_task_completed (int number_of_bits, ir_data_t *ir_data_ptr) {
  nrf_delay_ms(5000);
  send_ir_burst(ir_data_ptr, number_of_bits, &ir_transmit_task_completed); //Sending what is received after 5 Secs
}
  
//Transmit task completed callback
void ir_transmit_task_completed (void) {
  start_capturing(&ir_decode_task_completed);
}

Sending IR Code

void send_ir_code () {

  //{{IR CARRIER ON or OFF, FOR_HOW_LONG_us}, {IR CARRIER ON or OFF, FOR_HOW_LONG_us}, ...}
  ir_data_t ir_code[] = {{1,9063}, {0,4472}, {1,541}, {0,551}, 
                         {1,538}, {0,552}, {1,537}, {0,1670}, 
                         {1,541}, {0,550}, {1,539}, {0,550}, 
                         {1,539}, {0,549}, {1,541}, {0,550}, 
                         {1,537}, {0,1670}, {1,541}, {0,550}};
  
  send_ir_burst(ir_code, sizeof(ir_code)/sizeof(ir_code[0]), &ir_transmit_task_completed);
}

Image of Schematic

coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].