Show Posts
Pages: 1 ... 381 382 [383] 384 385 ... 539
5731  General Category / General Discussion / Re: coin validator programming (ie cctalk) on: January 26, 2012, 03:57:55 pm
SR5 Serial Protocol Manual:

Generic cctalk protocol manual:

I think you want the "Teach Mode Control" command (202).  You will want 8 or more samples of the coin to be programmed.
5732  Using Arduino / Installation & Troubleshooting / Re: Problem with the upload on: January 26, 2012, 02:28:37 pm
Perhaps the firmware for the USB-to-Serial processor has gotten corrupted and needs re-writing:
5733  Using Arduino / Networking, Protocols, and Devices / Re: HMC6352 Suggestions on: January 26, 2012, 02:14:28 pm

Connecting to Arduino is just about as easy.  The I2C pins on the Arduino are A4 and A5.
5734  Using Arduino / Project Guidance / Re: SPI Servo PWM IC on: January 26, 2012, 02:09:20 pm
You want one control chip per servo motor?  Won't SPI use a lot of pins since each chip would need it's own SS line.  Perhaps you should look into TWI/I2C.

In either case the ATtiny 25/45/85 family of 8-pin microprocessors could do the work.
5735  Using Arduino / Microcontrollers / Re: Zwave on: January 26, 2012, 12:31:00 pm has them for $6.68.25, if you buy 1000.  Single units are $12.38 and the first price break is 25 units ($10.1476 each)

When, back in 2006, they predicted "The ZM3102 will cost less than $4.50 in volume." they might have been thinking of much higher volumes.
5736  Using Arduino / Networking, Protocols, and Devices / Re: Smaller alternative to the Ethernet Shield on: January 26, 2012, 12:01:16 pm
Something like this?

If you don't need the Micro-SD card, this might be smaller:
5737  Using Arduino / Installation & Troubleshooting / Re: Problem with the upload on: January 26, 2012, 11:51:02 am
Are there three consecutive exclamation marks ("!!!") anywhere in your sketch?  One version of the bootloader recognizes them as an attempt to start the built in monitor program.  Try with just two exclamation marks.  smiley
5738  Using Arduino / Project Guidance / Re: 3.3V to aref via a voltage divider on: January 26, 2012, 11:39:19 am
The minimum Aref voltage is 1.0V.  You can select the internal 1.1V reference and save the trouble of a voltage divider.

If you want maximum accuracy you can use an external 1.0V voltage reference chip.

Alternatively you can use an op-amp set to multiply by 10 to get 5V from your 0.5V signal.
5739  Using Arduino / Sensors / Re: Wii Motion Plus gyro drift on: January 26, 2012, 11:01:56 am
You could try adding a three-axis magnetometer (compass) so you can orient relative to the local magnetic field.
5740  Using Arduino / Installation & Troubleshooting / Re: understanding boards.txt / programmers.txt on: January 26, 2012, 10:57:34 am
The entries in programmers.txt seem to show up in "Tools->Programmer".  After you select one you can use it by selecting "File->Upload Using Programmer".  No editing of boards.txt needed.
5741  Using Arduino / General Electronics / Re: Rotary Encoder Tutorial port to Arduino Uno on: January 26, 2012, 09:55:59 am
For an optical encoder you would have four pins:  +5, Ground, A and B.

Is this a mechanical encoder with only three terminals?  In that case you could connect the common to Ground and use pull-up resistors (either the built-in ones or external fro the input pin to +5).  Alternatively you can connect the common to +5 and use pull-dowm resistors from the input pins to Ground.  Without pull-up or pull-down resistors the switches are switching between +5 and floating or Ground and floating.  When left floating the input could read HIGH or LOW randomly.
5742  Using Arduino / General Electronics / Re: Which resistor to use? on: January 25, 2012, 08:35:42 pm
Just as an exercise...

15 Amps at 120 Volts would be 8 Ohms.
10 Amps at 120 Volts would be 12 Ohms so you need an additional 4 ohms.

The 4-ohm resistor would be dropping 1/3 the total voltage (120 * 1/3 = 40).

10 Amps at 40 Volts means that you need a 400 Watt resistor.

The heater will get the other 80 Volts so your 1750 Watt heater now is an 800 Watt heater.

If you put two of the 1750W heaters in series the current should drop to 7.5A making a total of 900W for both.  Not much better.

Try a heftier relay.
5743  Using Arduino / Programming Questions / Re: Problem with String functions? on: January 25, 2012, 08:03:57 pm
Fails for me, too.  

The function trim() does not return a String.  In fact it does the trim 'in place' and returns void.

  stringOne = stringOne.trim();


It gets worse.  I tried to look up the reference for String.trim():

No file exists at this address
5744  Using Arduino / Project Guidance / Re: Arduino ethernet networking: feasibility / question on: January 25, 2012, 07:57:37 pm
Is the tablet using WiFi to connect to the router?  If not, how do you connect both through the same Ethernet port on the tablet?

If you have Ethernet to the Arduino and WiFi to the Router:

Assign a fixed IP address, such as, to the Arduino sketch.  Last octet must not be '1'.
Assign a fixed IP address, such as, to the Ethernet port. First three octets must match the Arduino address.  Last octet must be 1.

From the tablet, try to browse to your Arduino:

This might be sufficient to get it working.  Otherwise yoy may need to set the subnet mask to ""
5745  Using Arduino / Programming Questions / Re: Trouble with test program for traxxas rc car with an ESC on: January 25, 2012, 07:48:12 pm
Perhaps a throttle level of 60 is not low enough to get the car moving backward.  Try 30 or even 0 to see if that works better.
Pages: 1 ... 381 382 [383] 384 385 ... 539