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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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?
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.