Show Posts
Pages: 1 ... 328 329 [330] 331 332 ... 836
4936  Using Arduino / Project Guidance / Re: How can i Interface CMOS video camera with arduino mega or UNO ? on: August 18, 2013, 11:31:36 am
i want to know what are those plenty of ways of transmitting video wireless.... no one is going to give me suggestion on this topic..

So basically you are looking for a wireless video transmitter, is that the issue? Have you looked for this yourself at all? My first search using the obvious keywords turned up over four million hits with a dozen very relevant looking products on the first page.
4937  Using Arduino / Project Guidance / Re: Sending picture from digital camera through USB to Arudino & GSM on: August 18, 2013, 11:27:41 am
There is a GSM shield that has an integral camera which can be commanded (by the Arduino) to capture and send a picture over GSM. Other approaches which involve the Arduino receiving and forwarding the image data are going to be problematic because any sensible image size is going to exceed the available memory by a large margin.

I have read about a 'wireless SD' card that takes the place of a conventional SD card within the camera and does some wireless magic to upload the 'stored' images to some remote location. I don't know what sort of wireless technology is involved or how expensive they are but I know they exist so perhaps that's an area you could research.
4938  Using Arduino / Project Guidance / Re: Help with pulling down a door handle using a motor on: August 18, 2013, 08:51:48 am
Can you link to your curtain puller as i am interested in doing something similar ?



It consists of a Pololu  Baby Orangutan from HobbyTronics, a small DC motor and epicyclic gearbox combination similar to these, an nRFL24L01+ transceiver for wireless logging, a 12V wall wart to power everything, plus an LDR and a few bits of wire and so on. The gearbox output shaft drives a pulley which has the pull cord wrapped around it a few times. The whole thing is tiny - the biggest component is the motor+gearbox assembly which is only about 20mm diameter and 50mm long. I haven't measured the output torque but the stall torque is several times higher than needed to operate the curtains and the motor is only lightly loaded.
4939  Using Arduino / Project Guidance / Re: How can i Interface CMOS video camera with arduino mega or UNO ? on: August 18, 2013, 08:33:20 am
You are wasting your time trying to solve this problem with Arduino, and it doesn't matter how many times you ask the same question or challenge the answers you are getting - the answer is not going to change just because you want it to change.

If you want to transmit video wireless then there are plenty of ways to do that and none of them involve Arduino.
4940  Using Arduino / Programming Questions / Re: Going to the Start of the Loop after an Interrupt on: August 17, 2013, 07:17:39 pm
Hi everyone, I was wondering if it would be possible to go back to the start of the loop after an interrupt is over rather than going back to where we left off when the interrupt was called.

Almost anything is possible if you're determined enough, but if you want the main code to resume somewhere other than where it was when the interrupt handler was called, then you're probably solving your problem the wrong way.

If you want the interrupt handler to inhibit the main code from taking some action then set a (volatile) flag in the interrupt handler and test the state of that flag in the main code before taking the action, nothing clever needed.
4941  Using Arduino / Programming Questions / Re: Arduino Build, retain foo.cpp on: August 17, 2013, 07:13:05 pm
If you enable verbose output for compilation and look at the output you will see the name of the working directory. After compiling ("verifying") your sketch, you should find the intermediate .cpp files left behind in the working directory.
4942  Using Arduino / Project Guidance / Re: Help with pulling down a door handle using a motor on: August 17, 2013, 07:04:44 pm
I don't see this as a problem that calls for a stepper motor - I think you just need a straight forward small cheap DC motor.

If you fit a long enough lever to the handle then you ought to be able to reduce the required force as far as you like - at the expense of needing more time to operate. Depending how big an angle you need it to move through, you might need to attach a quadrant to the handle so that the pull cord has a constant leverage. I would have thought it ought to be possible to start with a small DC motor and integral gearbox and a small diameter pulley, and I'd envisage a solution similar to my electronic curtain puller, with a tiny 12V motor driven off a wallwart and using a cheap Arduino clone with an integral H-bridge driver - far less expensive than an official Arduino and motor shield. I would look to attach the motor+gearbox+pulley assembly to some solid object at floor level rather than try to get a reliable mount using suction cups etc.
4943  Using Arduino / Project Guidance / Re: Wiring Arduino Uno's together for same COM Resources? on: August 17, 2013, 06:53:32 pm
My question is, since I cannot use both shields stacked on top of each other, and since I have a few Uno's laying around; Is there a way that I can wire the 2 Arduino Uno's together so that I can connect to the USB port on one of them and talk to them both through the same serial program (Putty)?  (or say, 2 Arduino Uno's on Com3)

Well, if you connect the ground, 5V and Rx lines from the first Arduino to the second Arduino them the second Arduino ought to receive everything that was received by the first Arduino. If you messaging protocol has some way to address the two Arduinos and each Arduino knows which one it is then you ought to be able to run them like this in parallel without explicitly creating a SoftwareSerial output from the first Arduino and forwarding commands over it. This approach gives you no way to get serial output from the first Arduino, though. If you want that then I think you need to establish a separate serial connection between the two Arduinos and have the first one relay messages to and from the second one.
4944  Using Arduino / Project Guidance / Re: A simple project (for someone who knows the Arduino :) ) on: August 17, 2013, 06:45:45 pm
If that is all the functionality you require, it might be cheaper and easier to implement with a 555-timer.

Yes, I would have thought a pair of 555 timers would give you a far simpler, cheaper and more robust solution. I don't see any need to use a microcontroller for something this simple.
4945  Using Arduino / Project Guidance / Re: help! programming attiny85 (only have a little over a week left to finish) on: August 16, 2013, 05:29:46 pm
it is the board that is programmed and not the chip

Have you modified the host board to prevent it resetting? A capacitor connected between reset and gnd is the method usually recommended.
4946  Using Arduino / Programming Questions / Re: Legitimate uses for pointers? on: August 16, 2013, 06:34:15 am I once worked on, you had a program with over 800,000 lines of source code...

Can you please elaborate on this?  I have a hard time picturing someone or even a group of people writing an 800k line piece of code. I'm not doubting you, I'm just curious what this was for.

800K lines is not particularly big in commercial software terms. Of course it's not one file of 800K lines - a project that size will comprise thousands of much smaller files.
4947  Using Arduino / Programming Questions / Re: Problem with Software Serial on: August 16, 2013, 06:23:07 am
SoftwareSerial myserial(rxpin, txpin);      


The online reference for SoftwareSerial says it supports up to 115200 bps bps, but I have read comments that it is not reliable at high speed. 38400 bps seems rather high to me and it's possible that the problem is the SoftwareSerial library just isn't handling that speed reliably. The symptoms of noise/character corruption at the start of transmission are consistent with that. This also explains why the vendor has advised you to use hardware serial.

I haven't used it, but there is an alternative software serial library (AltSoftSerial) which has several advantages over the standard SoftwareSerial and perhaps if the standard one is the problem it would be worth trying that.
4948  Using Arduino / Programming Questions / Re: Reading from Serial1 requires that I write to Serial. Why?? on: August 16, 2013, 06:16:09 am
I didn't post the code because there's too much of it and it's spread over multiple files.

Serial port handling is usually simple and only involves a few lines of code. I suggest you write a test sketch that demonstrates your problem in the simplest possible way, and then post it here.
4949  Using Arduino / Programming Questions / Re: another dumb newbie question: header files, define const on: August 16, 2013, 06:11:51 am
I place the "ChipNames.h" file in the directory
"C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino"

That's the wrong place for it.

Coding Badly has explained in excruciating detail exactly what he did, which worked. Have you followed those instructions exactly and had the same results?
4950  Using Arduino / Project Guidance / Re: Finding position in 3d space on: August 16, 2013, 06:05:01 am
I've seen projects where people have used clever combinations of surface contacts to work out which faces of items are plugged into each other, but I think that would only be feasible if the stacked blocks are precisely aligned. Is that going to be the case here?

I don't know of anyone who has got 'indoor GPS' working, and getting resolution down to centimeters (as I guess you will need) would be extraordinarily challenging. The easiest way I can think of to get X+Y position would be to use an overhead camera and object detection software. Sensors in the block could work out which way up it is and which way it is oriented. Perhaps you could use some sort of pressure/force weight sensing to work out the stacking order?
Pages: 1 ... 328 329 [330] 331 332 ... 836