Show Posts
|
|
Pages: [1] 2 3 4
|
|
6
|
Using Arduino / General Electronics / Re: Detecting line disconnection
|
on: March 15, 2013, 12:29:12 pm
|
I don't think you should be using digitalRead() on a pin that's an OUTPUT.
It's perfectly acceptable. Reading a pin configured as an OUTPUT will return the last state set by digitalWrite(). Umm, but this isn't what I want, and it doesn't do that actually It will return low if connected to the external circuit And high when disconnected
|
|
|
|
|
7
|
Using Arduino / General Electronics / Re: Detecting line disconnection
|
on: March 15, 2013, 12:06:47 pm
|
This seems to work fine Am I doing this right? #define epin 4
void setup(){ pinMode(epin, OUTPUT);
digitalWrite(epin, HIGH); }
void loop(){ // If the LED on pin 13 is on, it meens that the connection was broken digitalWrite(13, digitalRead(epin)); delay(15); }
|
|
|
|
|
9
|
Using Arduino / General Electronics / Detecting line disconnection
|
on: March 15, 2013, 05:52:33 am
|
|
Hi,
I'm making a bomb prop with an external trigger connection The connection will get a constant 5V power supply so if it's disconnected, the external circuit knows that, and detonates the smoke bomb or what ever But I also want that the bomb will "explode"
So the Arduino will have the external trigger connected on a digital pin configured to output An I want it to connect SOMEHOW to an input pin so I'll know when it's disconnected
How can this be done?
Thanks!
|
|
|
|
|
11
|
Topics / E-Textiles and Craft / EL Driver Beeps
|
on: January 28, 2013, 07:27:16 am
|
|
I bought an EL sheet and driver, but when I power them, the driver beeps It's logical because the driver is AC, I guess
But is there any way to silence the beep, or are there silent drivers out there?
|
|
|
|
|
14
|
Using Arduino / Microcontrollers / Messed up some fuses
|
on: January 04, 2013, 11:58:28 am
|
|
Hi,
I used some ISP programmer, and re-programmed the fuses on some Arduino UNO's (on the usb 8u2 chip) One doesn't enable uploading sketches, and others just don't communicate over serial. For some reason, ISP programming is no longer working also.
I read that one can use a crystal to "revive" the mcu, so I bought some crystals, but I'm not sure what should I do now.
So where do I plug in the fuses?
|
|
|
|
|