Show Posts
Pages: 1 ... 42 43 [44] 45 46 ... 242
646  Using Arduino / Project Guidance / Re: Light up stairs as you walk, need sensor advice on: May 01, 2014, 07:24:46 pm
15 inputs, yes it can. The Uno has the 14 digital pins (12 if you want to use the serial monitor) and the 6 analog pins, that can also be digital in/outputs.

The best way to save pins would be to use shift register for the led strips and a multiplexer for the sensors.
As far as sensors, go you can have pressure, IR or ultrasonic sensors.

What is your spending budget? Different types of sensors cost more than others and you need 15.
647  Using Arduino / Project Guidance / Re: Connecting a 4*4 keypad on: May 01, 2014, 07:06:15 pm
To be honest, it really has to do with the OP knowledge and if he is able to understand how to convert his keypad to use an analog pin. If he is unable to do so, then its better to use the standard digital method, or the method you pointed out with the 74hc922 chip.

It is quite a hassle to convert a standard keypad to a analog keypad, if you don't know what you're doing.

But now he has options to go about and solve his problem.

648  Using Arduino / Project Guidance / Re: Connecting a 4*4 keypad on: May 01, 2014, 01:11:25 pm
True, but I mean others use set resistor values, mine allows the user to choose their own, just as long as the user tells the code what values are being used. The library does all the calculations and adjusts itself accordingly.

I used 4.7K and 1K resistor values, but that's only because I had a lot of them to spare.
649  Using Arduino / Project Guidance / Re: Connecting a 4*4 keypad on: May 01, 2014, 01:07:06 pm
Yea, but it works, look at the diagram.
650  Using Arduino / Project Guidance / Re: Connecting a 4*4 keypad on: May 01, 2014, 01:05:14 pm
Why not just make a keypad that uses only one analog pin? I made a library just for those type of keypads and put it in the playground. Here is a link. OneWireKeypad

Just follow my diagram and look at my example sketches.
651  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 30, 2014, 05:19:18 pm
That is correct. Ebay is much cheaper.

It only need 3 pins.
652  Using Arduino / Project Guidance / Re: computer controlled display on: April 30, 2014, 05:17:44 pm
Unless you can write a program that can extract all this data from the computer, I don't think this project is doable at this time.
653  Using Arduino / Project Guidance / Re: computer controlled display on: April 30, 2014, 05:12:00 pm
We kinda need more to go on. How will it know what music is playing, or the fan speed, or anything? What sensors are you planing on using or think you need?
654  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 30, 2014, 05:09:59 pm
If you can use one, then yes, it is easier and it will work with a 5x5 grid.
655  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 30, 2014, 05:00:20 pm
Shift registers usually need 3 pin, clock, data, and latch. To cascade shift registers, you have the first one connected to the 3 pins on the arduino, then the others after it will be connect to the dataOut from the previous S.R.

However if you can use  a MAX7219, then all you would need is just that one chip because a single MAX7219 can control an 8x8 grid.
656  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 30, 2014, 04:24:32 pm
The LEDs, depending on the shift register(s), should only use 3 pins and the 5x5 grid will use 10 pins.
657  Development / Other Software Development / Re: New TFT Extension Library on: April 30, 2014, 03:33:40 pm
UPDATE

Keyboard functions and example sketch.

I tested the keyboard functions with RealTerm and works for portrait and landscape modes.
I may make it look better in appearance in the future, but that's for another time.

Enjoy.

ADDED: GreekFont. Drop inside UTFT folder
**If you look at the GreekFont's .c file and you see almost everything as ?, don't worry, it does the exact same thing on my end. For whatever reason, neither wordpad, notepad++, or MSword want to display the Greek symbols upon file entry. Sorry.
658  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 29, 2014, 10:31:52 pm
ok, being that your getting a range, you might need to have something like this.

if(button != lastState && (button2 > 20 && button2 < 50) )
{
  .
  .
  .
}

I don't think you should be reading it as an analog signal, because now you will need to get averages of the readings to smooth them out. Stick with digital for now.
659  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 29, 2014, 09:16:00 pm
Ok, now you can start to debug your code with the serial monitor. What is button2's value and is it constant?
660  Using Arduino / Project Guidance / Re: Need help for my arduino project PLEASE ANYONE! on: April 29, 2014, 07:39:27 pm
Make lastState2 an int instead of boolean and it is still !=
Pages: 1 ... 42 43 [44] 45 46 ... 242