Changes between Version 4 and Version 5 of RemoteSolenoid


Ignore:
Timestamp:
Jul 18, 2020, 2:41:14 PM (5 years ago)
Author:
Eric Hazen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemoteSolenoid

    v4 v5  
    2222Simplest possible case is just to detect the start pulse (say, anything > 5ms) and then go dead for maybe 250ms to avoid re-triggering.  We could also get fancy and decode the bits if he wants to do anything with different buttons.
    2323
    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
     24OK, forget all that.  Let's just use an existing library.
     25
     26Writing 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
     28Working code:  http://gauss.bu.edu/svn/bifano-lab-misc/SolenoidRemote/software/IRReceiver/IRReceiver.ino
     29
     30This 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].
    2531
    2632
     
    2834
    2935
    30 
    31 
    32 
    33