24 | | Writing some code. Using an Arduino UNO with Arduino 1.8.12, library "IRremote" by shirriff version 2.2.3. ([https://github.com/z3t0/Arduino-IRremote github link]). Button decoder working for all buttons: http://gauss.bu.edu/svn/bifano-lab-misc/SolenoidRemote/software/IRReceiver/IRReceiver.ino |
| 24 | OK, forget all that. Let's just use an existing library. |
| 25 | |
| 26 | Writing some code. Using an Arduino UNO with Arduino 1.8.12, library "IRremote" by shirriff version 2.2.3. ([https://github.com/z3t0/Arduino-IRremote github link]). |
| 27 | |
| 28 | Working code: http://gauss.bu.edu/svn/bifano-lab-misc/SolenoidRemote/software/IRReceiver/IRReceiver.ino |
| 29 | |
| 30 | This decodes all the buttons but only fires the solenoid when the "1" is pressed. See [http://gauss.bu.edu/svn/bifano-lab-misc/SolenoidRemote/pix/finished.jpg photo] and [http://gauss.bu.edu/svn/bifano-lab-misc/SolenoidRemote/pix/demo.mov movie]. |