Search found 2503 matches

by Philba
Thu Sep 27, 2012 3:10 pm
Forum: Arduino
Topic: Options to Multiple Loops on Arduino
Replies: 5
Views: 3638

Re: Options to Multiple Loops on Arduino

I think part of your problem is you use one variable to ensure both inputs go low. It seems clumsy to do it that way anyway. I'd use a finite state machine technique. http://en.wikipedia.org/wiki/Finite-state_machine gives a decent treatment of this technique. done right, it takes very little code. ...
by Philba
Thu Sep 06, 2012 10:50 am
Forum: SparkFun Product Questions
Topic: Sensor to check Vehicle is fully on platform
Replies: 2
Views: 376

Re: Sensor to check Vehicle is fully on platform

Actually, I think the platform has load cells built in. Can you get access to the weight data? Joeisi's idea makes sense. If you have too wide a range of weights that will be on the platform, you can tell when the 2nd set of wheels is on platform by watching for 2 plateaus in the reported weight - o...
by Philba
Thu Sep 06, 2012 8:13 am
Forum: SparkFun Product Questions
Topic: Calculating voltage requirements
Replies: 4
Views: 414

Re: Calculating voltage requirements

Very simple problem, very simple solution. Your 4 fans each pull 150 mA so you need to supply 12V at 600 mA. Find a 12VDC wall wart that can deliver 600 mA or better. Note, thrift stores have lots of WWs that they sell for a buck or less. Don't waste your time building a power supply unless you see ...
by Philba
Thu Sep 06, 2012 7:38 am
Forum: SparkFun Product Questions
Topic: Selling projects - getting sued!
Replies: 3
Views: 747

Re: Selling projects - getting sued!

Talk to a lawyer. There are ways to ensure that the liability is to your company, not you personally. it will cost more but you can protect yourself. FWIW, the techie/diy market tends to be much less interested in suing so selling components t them is lower risk. Also, not having deep pockets keeps ...
by Philba
Wed Aug 01, 2012 3:37 pm
Forum: SparkFun Product Questions
Topic: Schottky Diode selection
Replies: 4
Views: 859

Re: Schottky Diode selection

Context is important. Post the schematic.
by Philba
Wed Jul 25, 2012 6:34 pm
Forum: SparkFun Product Questions
Topic: advice?: need to control a lot of LEDs from laptop
Replies: 8
Views: 874

Re: advice?: need to control a lot of LEDs from laptop

The problem with BlinkMs is they get way pricey if you need a lot of them. 8 of them cost $100. The max7219 is more for driving multiplexed (7 segment) displays with no individual control. I'd suggest something like the TLC5940 which will drive 16 channels with 4096 intensity levels. It comes in a D...
by Philba
Tue Jul 24, 2012 9:33 am
Forum: SparkFun Product Questions
Topic: advice?: need to control a lot of LEDs from laptop
Replies: 8
Views: 874

Re: advice?: need to control a lot of LEDs from laptop

This is pretty easy to do. A lot depends on how you want to arrange the LEDs. There are strips of LEDs (at SFE and other places) that have individually addressable lights an inch or so apart. They can be controlled by a small number of wires (typically 4). Use a USB Arduino (like the micro, for exam...
by Philba
Sun Jul 22, 2012 11:06 am
Forum: Arduino
Topic: Passing arrays to functions, unexpected results
Replies: 9
Views: 10560

Re: Passing arrays to functions, unexpected results

and you don't want to show your modified function because...? For more information, check here- viewtopic.php?f=32&t=33083
by Philba
Sat Jul 21, 2012 4:14 pm
Forum: Arduino
Topic: Passing arrays to functions, unexpected results
Replies: 9
Views: 10560

Re: Passing arrays to functions, unexpected results

well if sendMitsubishi is similar tothe other send routines, the first argument is an unsigned long, not a pointer to an array. I suggest an understanding of what you are calling is in order.
by Philba
Sat Jul 21, 2012 4:06 pm
Forum: Arduino
Topic: Help with code
Replies: 6
Views: 1030

Re: Help with code

There's something wrong with my car. It seems to be making a strange noise and doesn't work right. Could some one fix it please.
by Philba
Wed Jul 18, 2012 1:15 pm
Forum: Arduino
Topic: multiplexing 284+ pins
Replies: 3
Views: 1633

Re: multiplexing 284+ pins

Pretty good advice The TLC59116 will need common anode RGB LEDs. I second the idea of RGB strands. There are several that support individual addressable LEDs and work off of a small number of pins - 4 typically. A strand would be much easier to manage for RGB LEDs. This is assuming you want to be ab...
by Philba
Sun Jun 24, 2012 9:16 am
Forum: SparkFun Product Questions
Topic: Project: VGT Controller
Replies: 3
Views: 1060

Re: Project: VGT Controller

Yeah, it sounds doable though there may be issues of response time - reading data and getting the VGT to respond may have some lag. I assume by CAN you mean OBD-II. You can get data via an OBD-II connector. I'd suggest an arduino as the controller since it supports PWM directly. I'm not sure how to ...
by Philba
Sun Jun 24, 2012 8:50 am
Forum: SparkFun Product Questions
Topic: PBC Relay 9Vdc
Replies: 4
Views: 672

Re: PBC Relay 9Vdc

Looking at the data sheet, there are 2 relays coils - 1W and 900 mW. I'll use the 1W coil data since the 900 mW one is only 10% different. The 5V coil is rated at 25 Ohms (200 mA). This means that at 9V it will draw 360 mA and dissipate 1.8 W. That seems pushing it, especially if it's a 9V battery -...
by Philba
Thu Jun 14, 2012 7:50 am
Forum: Arduino
Topic: Connecting an ESC to an Arduino
Replies: 6
Views: 4767

Re: Connecting an ESC to an Arduino

Skye, you are right, I misread using PWM. I've seen postings from a fair number of people talking about using analogwrite to control servos and such.
by Philba
Thu Jun 14, 2012 7:17 am
Forum: SparkFun Product Questions
Topic: building an audio "gun"?
Replies: 30
Views: 2741

Re: building an audio

electro magnet pulse canon. You need a quantum thermonuclear device with 2.3 gigaTesla focusing ring to direct and accelerate the pulse in the right direction. You might want to evacuate the people living behind them, though. I think if you'd fit an EMP cannon with a back end retro-encabulator, you...