Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
General Electronics / Relay module is active low...h...
Last post by arusr - Today at 06:29 am
Hello,
This seems to be a common problem, and newbies like me are surprised when it happens.  But what's a good way around this?  When the Arduino reboots, it sets off the relay, which turns on the output (a remote control power switch).  That's not the behavior I want.  I've tried setting the output to HIGH right away during setup, but there's still a long delay before the relay is de-energized.
What's a good way to make the relay modules active high?  I have an NPN transistor that I can use to flip it, but the example I find use a ULN2803, and I don't know how to take that schematic and apply it to a single NPN transistor.
For reference:
http://electronics.stackexchange.com/questions/39920/turn-on-a-relay-when-the-output-is-high

Thanks!
72
Sensors / Re: Distance Measuring Sensor ...
Last post by wwbrown - Today at 06:28 am
A tape measure?
73
The Serial Monitor application uses DTR=on in the serial port initialization process. The default for DTR is off. The DTR value must be on to communicate with the Leonardo and the Micro.
I just fixed my software with the DTR ON as you said when init the port.
It works as expected now.

Thanks a lot PaulS.

Cuong.
74
Generale / Re: Come sostituire un compone...
Last post by uwefed - Today at 06:26 am
Su http://arduino.cc/en/Main/ContactUs é scritto:
Quote
If you own an official Arduino board and you believe it is defective, please email support (at) arduino.cc specifying the model, serial number, version of the operating system you use and version of the Arduino software.
opppur sul modulo http://store.arduino.cc/index.php?main_page=contact_us&language=en&language=it

Che diffetto presenta?
Ciao Uwe

75
But that requires the string.h library to supply the code whereas the latter method does not.

The string.h library is very useful once understood though.
http://www.nongnu.org/avr-libc/user-manual/group__avr__string.html

76
OK, I think I'm starting to get it. Correct me if I'm wrong, but with a 5v/2a regulated power supply and connections soldered on a (non bread) board, I wouldn't need voltage regulators, and I could power two (or hopefully up to four) servos, even if they experience a load.

Thanks for the input, folks.
77
E-Textiles and Craft / gold PCB Board for electronic ...
Last post by jesen - Today at 06:22 am
 We can do for you:
1-16 layer FR-4 PCB board, 1-2 layer Aluminum PCB
1-6 oz copper thickness
0.2 mm hole size
0.1 mm track width/space
Our PCBs are used for wide range of electronic products,
Like Medical devices, CCTV, Power supply, GPS, UPS, Set-top Box,
Telecomunication ,LED, etc.

Email:joe@jesen.com.cn

Website:www.jesen.com.cn
78
Microcontrollers / Re: Bad chips?
Last post by westfw - Today at 06:20 am
Which m1284 add-on code are you using?  AFAIK, the most popular ones assume a version of Optiboot in the 1284 as bootloader, and that will operate at 115200bps.
The "voltage too low" using the mkII may be to inappropriate wiring of the ISP connection; many programmers will provide power via the ISP connector, which is not always a good thing, so the VCC pin may be left connected.  The Atmel programmers tend to use the VCC pin to SENSE the operating voltage (they do NOT provide "power"), and may be unhappy with an unconnected pin.
79
Simple scheme. I use SPI to send the 4 bytes out that are displayed:
Code: [Select]

digitalWrite(ssPin, LOW);
for (x=0; x<4; x=x+1){
SPI.transfer(fontArray[dataArray[x]]); // double lookup - number to display and font-to-segment mapping
}
digitalWrite (ssPin, HIGH); // outputs change on this rising edge
80
Eh I was afraid of that. I will try that this weekend and report back. Thanks for the help.


Quote
By the way, is it really necessary to add func to the name of the function? Is that so that you can recognize a function when it bites you in the ass?
No not really necessary just a habit and pretty much yes that's why. ;)
It's a whole lot easier when you code the commands to a single letter and/or use a state machine.
 http://gammon.com.au/serial
Pages: 1 ... 6 7 [8] 9 10