Show Posts
Pages: 1 [2] 3 4 ... 196
16  Using Arduino / Project Guidance / Re: Arduino for this? Or something else? on: April 14, 2014, 12:02:56 pm
Yes, this is possible to do on an arduino. If you're looking for something small, you might want to look into an Arduino Nano, Micro, and/or Mini. You might also want to get one of these modules HERE

There is an enormous topic on this module in the Audio forum, here is a link

To amplify the audio signal, you can get a cheap guitar amp, and make your own cable to plug into it.
17  Development / Other Software Development / Re: New TFT Extension Library on: April 14, 2014, 11:46:57 am
UPDATE: 4/14/2014

Ok this update has the new polygon and drawStar functions, as well as a new version of the all the Triangle functions.

The polygon and drawStar functions need a single X,Y coordinate, the polygon function, also needs a number of sides(3 - 360) anything more and the function doesn't work. You can also give it a color (still working on how to fill the polygon) and a degree if needed. The drawStar function needs a diameter, a color and a factor (1.0 - 4.0) which is preset to 2.0. This factor controls the thickness of the star. The higher the number, the thinner the star gets, and the factor will not go lower than 1.0 or higher than 4.0

Now with the triangle functions, you don't need to specify a direct like "up, down ,left or right" and also give a degree. The new functions only need the X,Y coords, a base length and a degree. I did leave in the up, down, left and right as degrees, so up = 0 deg, left = 90 deg, down = 180, and right = 270. You can also use these as " up + 45" which is just 45 degrees, or "down - 27" which equals 153 deg.

myTFT.drawStar(160, 120, 30, WHITE);
myTFT.drawStar(160, 120, 30, WHITE, 3.0); // this star is thinner than the one above.

myTFT.Polygon(50, 50, 3, 20, BLUE); // X, Y, sides, diameter

myTFT.drawTriangle(160, 120, 50, up + 45);
myTFT.drawTriangle(160, 120, 50, right);
myTFT.drawTriangle(160, 120, 50, down - 27);

I am still working on being able to fill in the star and polygon shapes, but for now this should do.
18  Using Arduino / Project Guidance / Re: Count 18 lines and pause. on: April 13, 2014, 08:01:01 pm
Can you provide an example of what you're trying to achieve?
19  Using Arduino / Programming Questions / Re: Passing array size on: April 13, 2014, 03:26:41 pm
You need to allocate some memory for the array first. What is the biggest number of samples you want to allow, then make that the initial size.

You can also learn about malloc, calloc, realloc and free.
20  Using Arduino / Motors, Mechanics, and Power / Re: 3 phase motor Control !! on: April 13, 2014, 02:11:58 pm
If your expecting us to write the code for you, then your out of luck. You write the code and we give feedback.

Is this homework, because we don't do that either.
21  Development / Other Software Development / Re: New TFT Extension Library on: April 11, 2014, 06:10:18 pm
Both types of radio buttons now are able to have text in the center of them. Please note that the text will NOT be cutoff or the buttons size will NOT be altered if the text is larger than the button.

Newest version as of 4/11/2014

I am open to new function ideas if anyone has any. I will of course add your name or username to the functions description.

I am currently working on a star function and I should be done with it soon. As well as a polygon function which will allow the user to enter a number 3 - 10, and it will make the shape with the given sides. Filled in color may be difficult so for now it will just be unfilled.

Added: I finished both of them. They will be in the next update.
22  Using Arduino / Project Guidance / Re: SERVO and Serial Communication on: April 11, 2014, 12:31:05 pm
The condition must be either pos == 0, pos >= 0, pos <= 0, or pos != 0.

No insults needed, but maybe a few face palms are.
23  Using Arduino / Project Guidance / Re: SERVO and Serial Communication on: April 11, 2014, 12:00:54 pm
No, his sketch works fine. I have it running on my nano and I also have that exact servo model too. How is the servo being powered?

No, it exits the for loop when the condition is false.
24  Using Arduino / General Electronics / Re: LED grid on: April 11, 2014, 11:47:01 am
(convert all the negative voltages to positive)
What negative voltages? Where is the analog signal coming from? What does this have to do with an Arduino? Can you post a picture or drawing of this grid?

What your describing sound like a voltage or signal meter which can easily be done on an arduino. This can also be done with some simple comparator chips, like a LM339 or LM324, both of which can be bought at RadioShack or online.

25  Using Arduino / Project Guidance / Re: Need help choosing: Arduino + LCD + keyboard + RTC + 8 relays on: April 09, 2014, 10:22:23 pm
For the LCD I was looking at SainSmart LCD 1602 Keypad Shield.
That should be fine and there is also a library that allows you to make a menu system. I'm not sure if there is a menu library made just for that type of shield or not but the normal menu library should work just fine.

There are plenty of relay boards online with different numbers of relays you can control (1,2,4,8,16) Im sure you can find one that fits your needs.

We can help give feedback on your sketch and help with the code, but you will need to research everything yourself.
26  Using Arduino / Programming Questions / Re: timer on graphic lcd on: April 09, 2014, 10:13:50 pm
You would need to download the SerialGraphicLCD library to display text on the screen, after that is it really easy.
27  Using Arduino / Programming Questions / Re: Parallax Ping Fun on: April 08, 2014, 09:53:11 pm
You don't seem to have set up the pin for the LED. Where is the pinMode in your setup() function for the LED?
28  Using Arduino / Programming Questions / Re: LiquidCrystal_I2C error on: April 08, 2014, 09:31:37 pm
CustomChars:22: error: 'LiquidCrystal_I2C' does not name a type
The compiler is unable to find the library, make sure it is in a "libraries" folder in the Arduino Sketch folder under your MyDocuments. I don't know about a MAC, I assume it is similar.

What errors if any are you getting, its most likely a simple fix of Wprogram.h to Arduino.h type of deal.
Check the LiquidCrystal.h file and see if it says WProgram.h, if it does change it to Arduino.h and save it. You may need to restart the Arduino software.
29  Using Arduino / Project Guidance / Re: Keypad and LCD help on: April 08, 2014, 12:44:20 pm
Use two global variables, currentTemp and currentVolume. When you enter a value on the keypad, you then update the global variable.
30  Using Arduino / Project Guidance / Re: trying to connect 5 8x8 matrixes only 4 work.the first 1 from left does not. on: April 08, 2014, 12:39:32 pm
The thing is, there is no reason for the forth display not working. Disconnect the first display, now see if all 4 come on. Post a picture or video of your setup.
Pages: 1 [2] 3 4 ... 196