Show Posts
Pages: [1] 2 3 ... 39
1  Using Arduino / Project Guidance / Re: Delay command for a single line? on: March 25, 2014, 03:06:54 pm
Yes, you can have more than 1.
Just creat more variables.

long previousMillis = 0;       
long interval = 1000;
long previous Millis2 =0;
long interval2 = 2000;
long currentMillis = millis();
long currentMillis2 = millis();
2  Using Arduino / Project Guidance / Re: Delay command for a single line? on: March 25, 2014, 01:25:36 pm
 Try something like this (untested).
At the top of your code just above void setup() add the following 2 variables.
long previousMillis = 0;       
long interval = 1000;
At the beginning of void loop(), put unsigned long currentMillis = millis();
At the end of void loop(), put
 if(currentMillis - previousMillis > interval) {
    previousMillis = currentMillis;   
 motor.step(1, FORWARD, INTERLEAVE); //CCW
Change the value of interval to what you need.
3  Using Arduino / Project Guidance / Re: Using Wave Shield and Ethernet Shield on: March 25, 2014, 11:16:24 am
You have a pin  conflict . 
See if you can change the conflicting pins.
Pins 13, 12, 11 are always used by the SD card (they are the only pins that have a high speed SPI interface). Then there are 5 other pins used to talk to the DAC and SD card, but they can be set to connect to any arduino pin. However, by default, the library is configured to use pins 10 (for SD card) and pins 2, 3, 4 and 5 for the DAC. To chanage these pins requires modifying the library - the pins are referenced by their 'hardware' pin names (ie PORTD, etc) not by arduino pins.
Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 10, 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card.
4  Using Arduino / Project Guidance / Re: automated quadcopter on: March 25, 2014, 10:22:00 am
Iris from 3D Robotics has a follow me mode.
I wonder how they do it?
You should ask this on the DIY Drones forum.
5  Using Arduino / Project Guidance / Re: Delay command for a single line? on: March 25, 2014, 09:59:04 am
What you want is
6  Using Arduino / Project Guidance / Re: New and Looking for Advice on: March 21, 2014, 10:51:46 am
The LED you link to is a RGB LED.
If you are just starting I would use a regular 5mm LED like this for experimenting.
Here is a basic tutorial on how to use a button.
Also try out the sketch examples that come with the Arduino IDE (software).
Good luck
7  Using Arduino / Project Guidance / Re: how to run bootloaded microcontroller with sketch without arduino board? on: March 19, 2014, 02:56:13 pm
You are making a stand alone Arduino.
8  Using Arduino / Project Guidance / Re: Make a song play? on: March 19, 2014, 11:06:02 am
The  two ways of making sound with an Arduino are to use Tone or a shield.
This shield plays WAV files stored on a SD card.
For what you want, you will need a shield.
There are others shields that play mp3 files.
9  Community / Gigs and Collaborations / Re: Smartwatch on: March 18, 2014, 03:12:13 pm
This is not a beginner project.  Go buy a Pebble watch.
10  Using Arduino / Project Guidance / Re: What parts of the Arduino am I using? on: March 14, 2014, 08:24:26 am
Have a look at the stand alone Arduino I made for ideas.
11  Using Arduino / Project Guidance / Re: Project guidance for code-based locker opener on: March 13, 2014, 10:58:35 am
Try searching for a geocache box or reverse geocache box.
I remember reading about one a while back but can't find the link.
If I remember correctly, they had the same battery issue you do but had figured out a solution.

Good luck with your project.
12  Community / Gigs and Collaborations / Re: Help build a wall-climbing art-bot. on: March 05, 2014, 04:31:51 pm
Gecko robot from Stanford. 

Stickybot III uses special feet to cling to any surface.  The robot also has a long tail that helps decrease the weight load each sticky foot has to bear. The feet, inspired by a gecko, are made up of tiny hairs, each about 5 times smaller than a human hair.
13  Using Arduino / Project Guidance / Re: Weather Station on: February 28, 2014, 07:34:36 pm
I did a similar project using Jeenodes.  Wireless and Arduino all in one.
Dead simple to use.
Right now, mine just goes to an LCD screen, but there is a Jeenode on a USB  stick so you can get the data into your computer.

I have my outdoor sensors in a plastic box inside a Stevenson Shield -
The inside LCD screen & Jeenode are in an old cigar box.

Looks like you have done some research.  I'm not sure how a WiFi shield and an Xbee would work on one Arduino.
Make sure to check for any pin conflict on all the items you want to add.  I would start with sensors first and get them to work, then work on getting the LCD screen to work next, then worry about other stuff later.
Good luck.
14  Using Arduino / Project Guidance / Re: sound playing with arduino through computer or to light LED with wifi on: February 27, 2014, 11:33:51 am
Well, you could put the sensor near  the door and use long wires to put the
Arduino and speaker on your desk.
Or use long wires and make an led light up instead of using sound.

Or  try turning down the volume on your headphones.
15  Using Arduino / Project Guidance / Re: sound playing with arduino through computer or to light LED with wifi on: February 26, 2014, 01:52:26 pm
Check out this project.  Does exactly what you want, no PC needed.
Basically it makes a noise when the distance sensor changes dramatically.
Parts used.
Arduino Uno
WAV shield
SD card
Sharp distance sensor
Stuffed sheep
Pages: [1] 2 3 ... 39