Show Posts
Pages: 1 2 [3] 4 5 ... 173
31  Using Arduino / Programming Questions / Re: Reading digital pins on: September 11, 2014, 09:02:15 pm
Works the same, but you'll have to dig up and look at the datasheet

http://www.atmel.com/Images/Atmel-2549-8-bit-AVR-Microcontroller-ATmega640-1280-1281-2560-2561_datasheet.pdf

to see which pins are associated with which ports.
32  Using Arduino / Programming Questions / Re: RS232 Sound Module on: September 11, 2014, 08:57:23 pm
You need to have
Serial.begin(9600);
in your setup()

Serial.write("p+");
Serial.print("p+");
will knock out a p and a +

Arduino doesn't have "true" and "inverted" baudmodes.
33  Using Arduino / Microcontrollers / Re: Something wrong with ATTiny85 and its 2 PWM outputs on: September 11, 2014, 08:48:25 pm
ATtiny85 processors have three Arduino compatible PWM pins.

1) D0 (IC pin 5)
2) D1 (IC pin 6)
and
3) is on which?

> > > >
seeker,
I can't make out your wiring from your video.
A photo would be best.
34  Using Arduino / Programming Questions / Re: Reading digital pins on: September 11, 2014, 08:42:47 pm
Yes, look into Port Manipulation.

http://playground.arduino.cc/Learning/PortManipulation

> > > The paradigm here emphasizes the digitalRead(), speed, and building a function to gather all that up with.
35  Using Arduino / Motors, Mechanics, and Power / Re: DIY motor driver h bridge on: September 11, 2014, 08:37:59 pm
Why did you start another subject on this matter?

http://forum.arduino.cc/index.php?PHPSESSID=k3ten7dp4bn2eq585tok07jed5&topic=264793.0

36  Using Arduino / LEDs and Multiplexing / Re: TLC5958 on: September 09, 2014, 08:08:24 pm
when I tried in the past to get TI chips that were not at Digikey those samples requests never came through.  I would like a few of these.

Maybe they've become more circumspect about who gets samples or what for.
So, you might need a letterhead or a good story for the samples.
[Unlimited top-side then, shall it be?]
37  Using Arduino / Motors, Mechanics, and Power / Re: How to replace solenoid power source with capacitor on: September 09, 2014, 07:53:42 pm
@RunawayPancake,
Thanks for correcting the OP's schematic , but if you look at his schematic and look at yours it is clear that the problem was more than a missing ground.

I didn't make any alterations to that drawing.  My only intervention was The Big Blue Wire of Victory.

Can you please explain to the OP why his circuit would not work the way he had it shown in his schematic ?

Without The Big Blue Wire of Victory there would be no base current.  Can't do much with a transistor without base current ( IB )
38  Using Arduino / Motors, Mechanics, and Power / Re: How to replace solenoid power source with capacitor on: September 08, 2014, 10:42:43 pm
Missing Ground?
(PSU - power supply unit)

39  Using Arduino / Microcontrollers / Re: Programming an ATTiny85 without an arduino on: September 08, 2014, 10:28:31 pm
Get a protoshield and dedicate it to "ATtiny85 programming."
Just continue using the IDE as you are now.

http://forum.arduino.cc/index.php/topic,87229.0.html

40  Using Arduino / Programming Questions / Re: Why is Tools > Serial Port greyed out in the IDE? on: September 08, 2014, 10:15:08 pm

http://arduino.cc/en/Guide/ArduinoLeonardoMicro?from=Guide.ArduinoLeonardo

No reset when you open the serial port.

Unlike the Arduino Uno, the Leonardo and Micro won't restart your sketch when you open a serial port on the computer. That means you won't see serial data that's already been sent to the computer by the board, including, for example, most data sent in the setup() function.
This change means that if you're using any Serial print(), println() or write() statments in your setup, they won't show up when you open the serial monitor. To work around this, you can check to see if the serial port is open after calling Serial.begin() like so:

Serial.begin(9600);
   // while the serial stream is not open, do nothing:
   while (!Serial) ;
41  Using Arduino / LEDs and Multiplexing / TLC5958 on: September 08, 2014, 08:23:58 pm
http://www.ti.com/product/TLC5958?DCMP=48output&HQS=tlead-power-pwr-dcs-swift-48output-bs-en

Description
The TLC5958 is a 48 channels constant-current sink driver for multiplexing system with 1 to 32 duty ratio. Each channel has an individually-adjustable, 65536-step, pulse width modulation (PWM) grayscale (GS).

48K bit display memory is implemented to increase the visual refresh rate and to decrease the GS data writing frequency.

Features
48 Channels Constant Current Sink Output
Sink Current Capability with Max BC/CC data:
   25mA at 5VCC
   20mA at 3.3VCC
Global Brightness Control (BC) : 3-Bit (8 Step)
42  Using Arduino / General Electronics / Re: Fried LDO on my Arduino Duo... safe to keep using? on: September 08, 2014, 03:45:41 pm
can I expect it not to fry if I have my issue with the positive and negative leads sorted?

Sure, if you don't do that again then that shouldn't happen again, for that reason.

How did you manage to mess it up?
What's the plan for Corrective Action, Mistake-Proofing?
Provided you get that right, and you don't exceed Vmax_in, or do anything (else) bizarre / harmful, then you should be OK.

43  Using Arduino / Motors, Mechanics, and Power / Re: Supply Current for Relays on: September 07, 2014, 05:52:54 pm
The transistors then are on the optos' outputs.

The Arduino pins click the optos, the optos click the transistors, and the transistors click the relay coils.
44  Using Arduino / Programming Questions / Re: Infared Emulation on: September 07, 2014, 03:44:55 pm
Ok. I got it so that it can compile but sending is still a no-go.

I tried hex with both
 
Code:
irsend.sendSony(0x384BA081, 32);
Code:
irsend.sendNEC(0x384BA081, 32);

...but to no avail. If it's any help the remote is: Sony Clock Radio RMT-CCS10iP. The program itself  does say it is sending a signal but even with the LED held less than a foot away from the sensor, the radio still refuses to respond.

Is "0x" supposed to be included in there like that?
Yes, it is...

Shirriff's example
http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html
shows that code is sent three times (three times in a row)
"This sketch sends a Sony TV power on/off code whenever a character is sent to the serial port, allowing the Arduino to turn the TV on or off. (Note that Sony codes must be sent 3 times according to the protocol.)"

Yours  once?

45  Using Arduino / General Electronics / Re: 4x3 keypad connected using I2C on: September 07, 2014, 03:26:08 pm
http://forum.arduino.cc/index.php/topic,188840.0.html

> > >

http://electronics.stackexchange.com/questions/102611/what-happens-if-i-omit-the-pullup-resistors-on-i2c-lines
Pages: 1 2 [3] 4 5 ... 173