Show Posts
Pages: 1 2 [3] 4 5 ... 10
31  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:

https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz) from SparkFun for about 4$
https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) from SparkFun for about 5$

http://www.ebay.com/itm/315Mhz-WL-RF-transmitter-and-receiver-link-kit-for-Arduino-ARM-MCU-/370776247168?pt=LH_DefaultDomain_0&hash=item5653fc8b80
Ebay Just $1.50 a pair!
32  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:
https://www.sparkfun.com/products/250
33  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:
http://ledcalculator.net/
34  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:
https://www.sparkfun.com/products/10534
But I barley believe that it will work.
35  Using Arduino / Programming Questions / Re: Serial.Begin statements on: March 19, 2013, 12:59:08 pm
There are four functions in the Arduino IDE:

Code:
Serial.begin();
Serial1.begin();
Serial2.begin();
Serial3.begin();

(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
36  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:

Code:
for(i=0; i<100; i++){
     sequence[i] = (sequence[i] * FREQ) / (intervalle * 1000);
     Serial.println(sequence[i]);
}

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:
http://arduino.cc/en/Reference/For
37  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.
38  Using Arduino / Storage / Re: An eeprom config library for arduino on: March 18, 2013, 04:17:50 pm
Nice, I will try it smiley
39  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?
40  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.
41  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.

http://en.wikipedia.org/wiki/Low-pass_filter
http://en.wikipedia.org/wiki/High-pass_filter

Tutorial:
http://www.instructables.com/id/Arduino-Waveform-Generator/?ALLSTEPS
42  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:

Code:
void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println(analogRead(A0));
  delay(2);
}

Code for Processing:
Code:
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
 println(Serial.list());
 // 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:
 myPort.bufferUntil('\n');
 // set inital background:
 background(0);
 }
 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:
 stroke(127,34,255);
 line(xPos, height, xPos, height - inByte);
 
 // at the edge of the screen, go back to the beginning:
 if (xPos >= width) {
 xPos = 0;
 background(0);
 }
 else {
 // increment the horizontal position:
 xPos++;
 }
 }
 }
43  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.
44  Using Arduino / Displays / Re: touch screen interfacing on: March 18, 2013, 01:17:02 pm
Here is a small one:
 https://www.sparkfun.com/products/8335

But you should also consider Processing to control your robot wirelessly, there are unlimited possibilities you could do with processing and the Arduino:
http://processing.org/
45  Using Arduino / Displays / Re: Using LED display? on: March 18, 2013, 01:13:43 pm
Here are some references on how to multiplex 7 segment displays:

http://www.extremeelectronics.co.in/pictutorials/images/SevenSegMux1.gif
http://www.best-microcontroller-projects.com/image-files/seven-segmentx4.png
http://arduino.cc/forum/index.php?topic=19776.0
http://www.instructables.com/id/Seven-Segment-Display-Tutorial/?ALLSTEPS

I Think this is the best one:
http://learn.parallax.com/4-digit-7-segment-led-display-arduino-demo
Pages: 1 2 [3] 4 5 ... 10