You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Well, my RX unit is defective NOW...

    I got VCC and GND backwards, and within a few seconds, I smelled hot electronics and the op-amp was too hot to touch. Now even connected correctly, it doesn't work, and the op-amp rapidly heats up.

    This has not been a good week for me - I've broken $15 in parts in just the past 2 days.

    The only way I can think of to send those pulses from Espruino is this - am I missing something?

    var txpin=A1;
    
    function sendTest() {
      digitalPulse(txpin,1,4); //4ms start
      digitalPulse(txpin,1,0); //wait for 4ms to finish
      digitalPulse(txpin,0,0.5); //pause after 4ms
      digitalPulse(txpin,0,0); //wait to finish
      digitalPulse(txpin,1,1.3); //send a 1
      digitalPulse(txpin,1,0);  // wait to finish
      //and so on...
    }
    

    Are the digitalPulse(txpin,state,0); lines necessary? Will this work, or will there be gaps that throw off the timing? Of course, I can't test anything since I burned out my receiver.

About

Avatar for DrAzzy @DrAzzy started