Author Topic: IR Remote  (Read 22082 times)

driffster

  • Newbie
  • *
  • Posts: 42
Re: IR Remote
« Reply #15 on: January 21, 2013, 07:37:39 pm »
I\'ve found this ported version for the tiny\'s but i did not yet checked if it works with the Digispark:
https://github.com/TKJElectronics/ATtinyRemote 

Nice, I will test it very soon and I will report back on my success or failure!

It looks like it  might need an external external 16MHz crystal for clock for the original project it was used on.
My first test will be more just to see if it can compile!!





driffster

  • Newbie
  • *
  • Posts: 42
Re: IR Remote
« Reply #16 on: October 20, 2014, 11:24:14 am »
Ok finally had time to look back at that project.

Using the IRremote library fork from microtherion ( https://github.com/microtherion/Arduino-IRremote ) I was able to send signal (using pin 1) using irsend.panasonic(code,code). Strangely, I was not able to send it using  IRProntoSend from Gus Grubba ( http://www.righto.com/2009/08/www.xcreet.com/IRProntoSend.tgz ), which worked fine on the Arduino. Since I found all the hex codes for my particular remote I do not need the pronto raw code anymore.

Now I'm trying to receive using the digispark, again I'm able to run the dump IRRecvDump  code on my arduino uno and decode the IR signals, but so far porting it to the digispark is problematic: I'm only able to detect a IR signal, not decode it.

Gonna make the digistark as a USB keyboard and output there to see what the problem is. [edit] That aint doable, interrupt conflict.

« Last Edit: October 20, 2014, 08:37:37 pm by driffster »

marcmerlin

  • Newbie
  • *
  • Posts: 15
Re: IR Remote
« Reply #17 on: March 31, 2017, 09:13:03 pm »
Sadly, no one seems to approve moderated messages, so I'm guessing no one has seen or will see this for a while, not sure if the link works:
https://digistump.com/board/index.php/topic,2626.0.html

Anyway, my question from there:
Infrared (IR) receive with ATtiny167/digispark pro?
Note: This message is awaiting approval by a moderator.
the digistump arduino 1.5.8C IDE I have has infrared receive code, but it seems to only be for the original digispark (at tiny85) and not the digispark pro.
Sadly github z3t0 Arduino-IRremote (can't give the link or my post will get moderated and stay in limbo) also mentions at tiny85 support, but no at tiny167 support.
So, can this work, or not really?