Show Posts
Pages: 1 2 [3] 4 5 ... 10
31  Using Arduino / Programming Questions / Re: Map button matrix to integers on: March 19, 2013, 01:51:11 pm
That does not make sense either. You cannot read 2 pins at the sametime with just one digital read. I don't know, maybe we finally can, and I just didn't get the memo.

Maybee, we both didn't get the memo smiley-grin But what I meant in my code is reading the value of a button that is on a specific X Y coordinate. A 2D array must be used for this to work.
32  Using Arduino / LEDs and Multiplexing / Re: Resistors? on: March 19, 2013, 01:16:04 pm
Consider that the RGB leds have a common Anode+ instead of a common Cathode-. Try finding an RGB LED with an common Cathode-, it would be much easier to configure the LED that way.
33  Using Arduino / Project Guidance / Re: Tyre Pressure & Temperature Monitoring System on: March 19, 2013, 01:12:15 pm
Consider using an XBee as a transmitter or this set of RX linkers: - RF Link Transmitter (434MHz) from SparkFun for about 4$ - RF Link Receiver (434MHz) from SparkFun for about 5$
Ebay Just $1.50 a pair!
34  Using Arduino / Project Guidance / Re: Control PWM fan speed depending on tempature on: March 19, 2013, 01:10:04 pm
Seems good, but consider geting some electronics to handle the current required for the fan and as for a termometer consider buying some thermistors:
35  Using Arduino / Project Guidance / Re: Which Resistors Would You Recommend on: March 19, 2013, 01:07:56 pm
In the future, consider an online LED current calculator such as this one:
36  Using Arduino / Project Guidance / Re: Watch arduino on: March 19, 2013, 01:05:52 pm
At least the buttons of my watch are made for exactly that: as an input device for a little computer. Why adding more sensors?
How do you plan to get an Arduino (or at least it's heart, an ATmega328p) into the watch case?

Good Question! smiley-yell

You could try taking out the electronics out of the watch and stuff an Attiny85 into it with some data transmitter such as this one:
But I barley believe that it will work.
37  Using Arduino / Programming Questions / Re: Serial.Begin statements on: March 19, 2013, 12:59:08 pm
There are four functions in the Arduino IDE:


(Serial4.begin(); and on doesn't exist)

This will permit you two establish several RX & TX lines. However this only works on the Arduino Due and Mega because they have more than on pair of RX TX pins.()

Here are the pins n the Due for example:
Serial: 0 (RX) and 1 (TX)
Serial 1: 19 (RX) and 18 (TX)
Serial 2: 17 (RX) and 16 (TX)
Serial 3: 15 (RX) and 14 (TX)

Multiple RX and TX communication is not supported on other Arduino Boards, sorry. smiley
38  Using Arduino / Programming Questions / Re: I know little about programming, and have a specific question. on: March 18, 2013, 07:52:40 pm
Here is exactly how to do it:

for(i=0; i<100; i++){
     sequence[i] = (sequence[i] * FREQ) / (intervalle * 1000);

The i<100 means it would repeat 100 times. Which is repeat until i is no longer smaller than 100. i++ means add one every time the for() function runs.

Read more about the for function:
39  Using Arduino / Programming Questions / Re: ATtiny85 20PU analogread on: March 18, 2013, 05:39:36 pm
Appart from getting instructions on how to program an Attiny85 you should also burn the bootloader into the Attiny85 itself. Burning the bootloader would make your Attiny more compatible with Arduino IDE sketches. To burn it, first setup everything you do when you programm the attiny, but instead of uploading a sketch go to Tools > Burn Bootloader don't forget to seect the right port int Tools > Board menu. After that is accomplished you could now program the Attiny85 again and hopefully your analog reading will be good.

Hope this helps.
40  Using Arduino / Storage / Re: An eeprom config library for arduino on: March 18, 2013, 04:17:50 pm
Nice, I will try it smiley
41  Using Arduino / Programming Questions / Re: Ethernet to iOS problems on: March 18, 2013, 04:14:00 pm
What errors does it give in the compiler?
42  Using Arduino / Storage / Re: Can't get any SD card to initialize on: March 18, 2013, 03:59:04 pm
Try re–formatting into a FAT32 system if that may be the problem.
43  Using Arduino / Project Guidance / Re: Syncinc LEDs with Music Tracks on: March 18, 2013, 03:54:17 pm
I think you should consider looking up what a "low-pass filter" is. Basically it filters out  different frequencies and then you could use does as inputs and write some code to it. I think thats a good step to start with. Consider "high-pass filter" a well.

44  Using Arduino / Project Guidance / Re: serial data logging on: March 18, 2013, 01:22:12 pm
The best way is using Processing.

This example may help you grasp the basics. It graphs an Analog reading for a pin.

Code for Arduino:

void setup() {

void loop() {

Code for Processing:
import processing.serial.*;
 Serial myPort;        // The serial port
 int xPos = 1;         // horizontal position of the graph
 void setup () {
 // set the window size:
 size(400, 300);        
 // List all the available serial ports
 // I know that the first port in the serial list on my mac
 // is always my  Arduino, so I open Serial.list()[0].
 // Open whatever port is the one you're using.
 myPort = new Serial(this, Serial.list()[0], 9600);
 // don't generate a serialEvent() unless you get a newline character:
 // set inital background:
 void draw () {
 // everything happens in the serialEvent()
 void serialEvent (Serial myPort) {
 // get the ASCII string:
 String inString = myPort.readStringUntil('\n');
 if (inString != null) {
 // trim off any whitespace:
 inString = trim(inString);
 // convert to an int and map to the screen height:
 float inByte = float(inString);
 inByte = map(inByte, 0, 1023, 0, height);
 // draw the line:
 line(xPos, height, xPos, height - inByte);
 // at the edge of the screen, go back to the beginning:
 if (xPos >= width) {
 xPos = 0;
 else {
 // increment the horizontal position:
45  Using Arduino / General Electronics / Re: 74HC574N, what's it good for? on: March 18, 2013, 01:18:48 pm
Shift Registers are cool when you want to free some pins on your Arduino.
Pages: 1 2 [3] 4 5 ... 10