×

Luberth Dijkman's video: Arduino nano samsung tv ir remote elderly alzheimer dement

@Arduino nano samsung tv ir remote elderly alzheimer dement
Ouderen alzheimer dement televisie samsung infrarood afstand bediening Alleen power knop En channel 1 2 3 knop minimal buttons only 4 used http://www.powenko.com/en/arduino-ir-sender-with-samsung-tv/ http://arduinostuff.blogspot.com/2011/06/samsung-remote-ir-codes.html // Power ON/OFF const unsigned int S_pwr[68]={4600,4350,700,1550,650,1550,650,1600,650,450,650,450,650,450,650,450,700,400,700,1550,650,1550,650,1600,650,450,650,450,650,450,700,450,650,450,650,450,650,1550,700,450,650,450,650,450,650,450,650,450,700,400,650,1600,650,450,650,1550,650,1600,650,1550,650,1550,700,1550,650,1550,650}; // channel 1 const unsigned int S_1[68]={4650,4300,700,1550,700,1550,650,1550,700,400,700,400,700,400,700,450,700,400,700,1500,700,1500,700,1550,700,450,650,400,700,450,650,450,700,400,700,400,700,450,650,1550,700,400,700,400,700,400,700,450,650,450,650,1550,700,1500,700,450,650,1550,700,1550,650,1550,700,1500,700,1550,650}; // channel 2 const unsigned int S_2[68]={4600,4350,650,1550,700,1500,700,1550,700,400,700,400,700,450,650,450,700,400,700,1500,700,1500,700,1550,700,400,700,450,650,450,700,400,700,400,700,1500,700,400,700,1550,700,400,700,400,700,450,650,450,700,400,700,400,700,1550,650,450,700,1500,700,1550,650,1550,700,1500,700,1550,650}; // channel 3 const unsigned int S_3[68]={4600,4350,700,1500,700,1550,650,1600,650,400,700,450,700,400,700,400,700,400,700,1550,650,1550,700,1500,700,400,700,450,700,400,700,400,700,400,700,400,700,1550,700,1500,700,450,650,450,700,400,700,400,700,400,700,1550,700,400,700,400,700,1550,650,1550,700,1500,700,1550,700,1500,700}; /* * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend * An IR LED must be connected to Arduino PWM pin 3. * Version 0.1 July, 2009 * Copyright 2009 Ken Shirriff * http://arcfn.com */ "IRremote.h" // https://github.com/z3t0/Arduino-IRremote IRsend irsend; void setup() { Serial.begin(9600); pinMode(4, INPUT_PULLUP); pinMode(5, INPUT_PULLUP); pinMode(6, INPUT_PULLUP); pinMode(7, INPUT_PULLUP); } void loop() { // samsung tv elderly remote // only channel 1 2 3 and power button while (digitalRead(4) == LOW) { irsend.sendRaw(S_pwr,68,38); delay(10); } while (digitalRead(5) == LOW) { irsend.sendRaw(S_1,68,38); delay(10); } while (digitalRead(6) == LOW) { irsend.sendRaw(S_2,68,38); delay(10); } while (digitalRead(7) == LOW) { irsend.sendRaw(S_3,68,38); delay(10); } delay(10); }

1

0
Luberth Dijkman
Subscribers
687
Total Post
224
Total Views
37.3K
Avg. Views
335.7
View Profile
This video was published on 2019-12-12 16:24:44 GMT by @Luberth-Dijkman on Youtube. Luberth Dijkman has total 687 subscribers on Youtube and has a total of 224 video.This video has received 1 Likes which are lower than the average likes that Luberth Dijkman gets . @Luberth-Dijkman receives an average views of 335.7 per video on Youtube.This video has received 0 comments which are lower than the average comments that Luberth Dijkman gets . Overall the views for this video was lower than the average for the profile.Luberth Dijkman #include has been used frequently in this Post.

Other post by @Luberth Dijkman