Giter Club home page Giter Club logo

buildbrighton-ir-badge's Introduction

Using an Apple Remote

Set badge ID (after factory reset, or new badge):

  • PLAY

Factory Reset:

  • PLAY PLAY DOWN UP PLAY

Infect a badge:

  • PLAY PLAY PLAY

Random Notes

38KHz = 1 pulse every 26.315us 8Mhz = 1 instruction every 0.125us => 8-bit clock has period of 32us

560us = 17.5 clock cycles

Pin setup (Trippy RGB Wave):

IRin: PB3: 0b00001000

NEC Signal length: 9000 + 4500 + 560616 = 67260us => 14 per second

From http://www.nongnu.org/avr-libc/user-manual/group__avr__sfr.html: cbi and sbi are no longer supported, use:

sbi(PORTB, PB1); is now PORTB |= _BV(PB1);

cbi(sfr,bit); is now sfr &= ~(_BV(bit));

Setting Fuse bits SUT_CKSEL: FF, DF, C2 - set 8Mhz

Some fun codes, as read by IRremote:

APPLE_PLAY 0x77E1203A APPLE_VOLUME_UP 0x77E1D03A APPLE_VOLUME_DOWN 0x77E1B03A APPLE_NEXT_TRACK 0x77E1E03A APPLE_PREV_TRACK 0x77E1103A APPLE_MENU 0x77E1403A

A2 = 10100010 5D = 01011101 80 = 10000000 7F = 01111111

TOSHIBA_1 0xA25D807F TOSHIBA_2 0xA25D40BF TOSHIBA_3 0xA25DC03F TOSHIBA_4 0xA25D20DF TOSHIBA_5 0xA25DA05F TOSHIBA_6 0xA25D609F TOSHIBA_7 0xA25DE01F TOSHIBA_8 0xA25D10EF TOSHIBA_9 0xA25D906F TOSHIBA_0 0xA25D50AF

buildbrighton-ir-badge's People

Contributors

mikepea avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.