Show Posts
Pages: 1 ... 80 81 [82] 83 84 ... 175
1216  Using Arduino / Motors, Mechanics, and Power / Re: Electric Valve part question on: March 26, 2013, 02:55:18 am
That is described as a pneumatic valve which probably means it is suitable for turning a pressurised air system on, or off.    Not necessarily suitable for water.

Scroll down and it says it can be used for Air/Water/Oil/Gas.

For a more domestically accessible valve you can look into the valves used on dishwashers/etc. Most are 110V AC but you could still drive that easily enough with a relay.
1217  Using Arduino / Motors, Mechanics, and Power / Re: Motor Controllers for car seat motors? on: March 26, 2013, 02:45:32 am
See,134411.0 for a previous discussion on this board. dc42 points out that the driver is (or is equivalent to) the ST L9958 chip. That datasheet is now at

The SPI interface appears to be only necessary for diagnostics or setting the current limit. The DIR/PWM control seems pretty straightforward.

1218  Using Arduino / General Electronics / Re: routing power from solar source to consumers over a garden on: March 25, 2013, 05:09:44 pm
For 5V DC over 24 gauge copper (like the size in ethernet cables) for every 10 feet of distance you lose .01V at 20ma or .1V at 200ma. Hardly a concern.

1219  Using Arduino / Project Guidance / Re: construction Laser level for digger on: March 24, 2013, 12:45:58 pm
IR receivers are pretty tolerant when it comes to the pulse frequency.
1220  Topics / Product Design / Re: Itead, Members with Experience... on: March 23, 2013, 11:53:48 pm
GerbV ( works well for me on Linux. Have not used the Windows version but it's available.
1221  Using Arduino / Project Guidance / Re: Arduino Uno: How would I input a priority encoder? on: March 23, 2013, 11:48:33 pm
I think you want (n = 4; n > 1; n--)
1222  Using Arduino / Microcontrollers / Re: Arduino as ISP with the ATtiny85 on: March 23, 2013, 11:41:29 pm
I've not had problems with MITs core; have burned many ATTiny85s and 84s.

OPs steps appear to be correct. Probably a silly wiring mistake or maybe a bad chip?
1223  Using Arduino / Microcontrollers / Re: Arduino UNO talking to a attiny44 via RS-485 on: March 23, 2013, 11:35:59 pm
You haven't really described what you're communicating. If you're just sending small messages every few seconds or so then the path you're on (RS-485 serial communication) is fine.

Might want to poke over and look at the EasyTransfer library. It is ATTiny compatible (or generally doesn't care what the hardware is) but the 4K of space on your ATTiny44 will make things extremely tight; a basic sketch is 3.7K. You might need to jump to an ATTiny84.
1224  Using Arduino / Project Guidance / Re: automating wire twisting machine on: March 23, 2013, 11:04:33 pm might be the only option. They are very well supported and documented.
1225  Using Arduino / Project Guidance / Re: using nokia 5110 lcd screen and SD card reader/writer with SPI on: March 22, 2013, 01:45:54 pm
The SD card library is written to use hardware SPI. The Adafruit_PCD8544 library is written to use software SPI.

Is it possible to use both software and hardware SPI when connected to the hardware SPI pins? I've never tried myself.
1226  Using Arduino / Microcontrollers / Re: burning non standard files to attiny on: March 22, 2013, 02:06:34 am
The Makefile is a list of instructions, read by "make", to build the .c and .h files into the .hex file. Unless you're changing the source code there's no need to rebuild the .hex file.

The .pl file is a Perl script and appears to be used to read codes with the TV B Gone.

To burn the .hex file to the ATTiny you need to read up on using avrdude.
1227  Using Arduino / Project Guidance / Re: using nokia 5110 lcd screen and SD card reader/writer with SPI on: March 22, 2013, 01:31:37 am
There's nothing too magical other than knowing the various naming schemes of the SPI pins. Explaining the connections would be much simpler if you could provide a link to the exact SD card breakout.

It's important to distinguish between hardware SPI and software SPI. When you're using hardware SPI you're using pins 13, 12, 11, and 10 on the Arduino and the SPI library. If you're using software SPI you're usually using the ShiftOut and Shiftin functions and can use any pins; transfer rates will be much slower.

In general though, the clock (usually called CLK, CK, or SCK) pins are all connected together. The master's data in pin (MISO, master in slave out, hardware pin 12 on the Arduino) is connected to the data out pins (usually DO or SO) on each of the devices. The master's data out pin (MOSI, master out slave in, hardware pin 11) is connected to the data in pins (DI or SI) on the devices. Then as you mentioned each device gets a different connection for the chip select (CS or SS) from the Arduino (hardware pin 10).

The last thing to watch out for is level conversion. Assuming your Arduino is running at 5V you have to make sure that outgoing signals (the Clock, MOSI, and CS pins) are converted to 3.3V before it reaches any of the devices (SD cards and 5110 displays are both 3.3V devices). Incoming 3.3V signals (connected to the Arduino MISO pin) from the devices will still be treated as a digital high value by the 5V Arduino; they don't need to be translated up to 5V. Adafruit's tutorial with the 5110 explains how to do the 5V to 3.3V conversion with a 4050 IC.
1228  Using Arduino / Motors, Mechanics, and Power / Re: Motor Controllers for car seat motors? on: March 21, 2013, 03:21:32 pm
Pololu describes their parts as "drivers" and "controllers". Their controllers are drivers with extra microprocessors onboard; if you're using them with an Arduino that's usually extra goo that you don't need and at a higher price. will run two motors. will run one.

Also, we're assuming you need to drive these motors in both directions. If you're only driving them in one direction then you can do this with a single mosfet for much cheaper.
1229  Using Arduino / Project Guidance / Re: Arduino Uno: How would I input a priority encoder? on: March 21, 2013, 02:23:01 pm
Whoops. Those "&=" should be "|=".

I assure you this is the first time I've ever made a programming mistake.
1230  Using Arduino / General Electronics / Re: How to show internal pullups on a schematic? on: March 21, 2013, 11:34:28 am
If the pin/input has a name you put a bar over the top of it to indicate that the logic is reversed (that it has an internal pullup). Shouldn't that be sufficient?
Pages: 1 ... 80 81 [82] 83 84 ... 175