Show Posts
Pages: 1 ... 100 101 [102] 103 104 ... 114
1516  Using Arduino / General Electronics / Re: Dont Waste Your Time on: March 02, 2012, 12:57:43 pm
Hi,
   While there is certainly a lot of electolyte rich sweat in the Dubai heat, these strip boards are just plain bad quality. On some the copper strips visibly wander and on some the pin spacing changes, the worst do both ! I try to pick the best, but as there never seems to be any new stock my selection is getting worse and worse :-(

Duane B.

rcarduino.blogspot.com

1517  Using Arduino / Programming Questions / Re: Sending data directly to Excel on: March 02, 2012, 12:52:22 pm
Hi,
   While it looks like people have suggested successful approaches for getting data into excel, have you looked at using processing ?

   Its a visuallisation orientated programming language that talks very easily with Arduino. Have a look here -

   http://processing.org/

   You could create great graphics and animations fairly easily, have a look at some of the examples, I especially like the transforms for 2d and 3D work - not that I have done any, it just looks like a neat approach.

Duane B

rcarduino.blogspot.com
1518  Using Arduino / Project Guidance / Re: Radio Shack IR emitter/detector pair test on: March 02, 2012, 12:45:08 pm
Hi,

   Its good that you have something up and running, for your next project you can move anything that you want to do once only such as your print your intro into the setup function, its there to do one time setup and anything else you want to happen once before loop starts. I often do something similar to you and have my sketches send the sketch name and version to serial, put this into setup and you can take the if statement and extra variables out of loop, you can move setting the LED High into setup as well.

I don't know how interested you are in the programming side of things, it looks as if you might be interested because you are doing some very good things, I like that you have long readable variable names minVal, maxVal, oldVal instead of n,m,x,y etc. Its also really good that you are using define statements for your fixed values. If you had a look through loop you could find some lines of code that could be moved, for instance if its not a new value its not a new min or max value either so you could move these two tests inside the first test for a new value.

Its not essential, but it makes code easier to manage as you get onto bigger projects.

Duane B

rcarduino.blogspot.com



1519  Using Arduino / Project Guidance / Re: Basic Project on: March 02, 2012, 12:08:11 pm
Hi,
   Some of the online Arduino resellers have downloadable experimenter guides and online tutorials for intermediate projects, also checkout the playground section here.

Duane B

rcarduino.blogspot.com
1520  Using Arduino / Project Guidance / Re: Help buying Arduino Board on: March 02, 2012, 12:05:39 pm
Hi,

This is really good advice - 'get an Uno and save your money to buy sensors and other hardware' - the Uno is cool but on its own there really isn't very much to do, but follow wildbills advice and get a load of inputs and outputs and who knows what you will end up building.

Duane B

rcarduino.blogspot.com
1521  Using Arduino / Sensors / Re: Suggestions on IR communication on: March 02, 2012, 08:21:01 am
Hi,
   The 38 at the end of the part number tells you the frequency that the receiver expects, so in this case its 38Khz.

   You can use code to generate the 38Khz, but the 555 timer is such a fundamental chip to so many projects that you might as well figure out how to use one, it will also allow you to drive your IR Transmitter with much more power than an Arduino PIN, this will increase your range and reliability.

    Something quick to try is to build a 38Khz circuit with the 555 Timer, then use your Arduino to drive a servo signal which will enable/disable the 555 timer using the reset pin. On the receiver side, you 'might' be able to drive a servo with just a 5v power supply and the IR Receiver.

    If you want to get away from the requirement for a 38Khz signal, you can try an infra red detector instead of a receiver, but its so easy to generate the 38Khz signal with a timer (Arduino or 555) and it makes for a much more reliable system.

    Here is a quick update on one of my own projects where I am using an infrared detector the same as yours to detect my RC Car lapping. The RC Car has a simple 555 timer circuit (no arduino) outputting a 1 millisecond pulse of 38Khz IR signal.

http://rcarduino.blogspot.com/2012/03/punk-consoles-and-ir-transmitters-555.html

    One limitation of this is that if I want to use the system in bright sunlight I need to enclose the detector in a shade, this is no problem for me as I need the detection zone to be very tight anyway but If you plan on using your control system outside, IR might not be practical for you. If you decide not to go this way, build a 555 punk console, I have been dying to but haven't found the time.

If do you want to take the IR route, I would suggest that you do so in stages, and as a first stage I would suggest that you build the battery driven detector circuit from the Lady Ada link and build a 555 IR circuit. If you can activate the LED in the detector circuit with your 555 circuit, the next step would be to connect the 555 to the Arduino, let us know when you are ready to do that, you will need to add some decoupling capacitors first but we can get into that when we need to. After the decoupling capacitors it should all be simple enough.

EDIT: I have a nagging idea that its would possible to build the entire transmitter and receiver from a few timers, I have never tried it, but logically I can see how it could work.

Duane B

rcarduino.blogspot.com
1522  Using Arduino / General Electronics / Re: Dont Waste Your Time on: March 02, 2012, 07:30:08 am
Hi,
   Thats something I hadn't though of, I had a track appear to crumble away on a circuit recently, from what you say it was possibly another unseen short.

Here it is after bridging -



Duane B

rcarduino.blogspot.com
1523  Using Arduino / Project Guidance / Re: Help buying Arduino Board on: March 02, 2012, 07:04:13 am
Hi,
   This is a good example of what I mean by fitting projects to what you have, you can use shift registers (look up 74595) to massively expand Arduino outputs. You can chain a few of these chips together to get 8,16,24,32 etc etc outputs from three or four Arduino pins - with a little coding.

Duane B

rcarduino.blogspot.com
1524  Using Arduino / Project Guidance / Re: Help buying Arduino Board on: March 02, 2012, 05:39:17 am
Hi,
   Are there other boards more powerful than an UNO ? Yes, but with a UNO and a set of component kits to build more Arduinos you can do something really clever like have distributed Arduinos managing different functions of your projects, you can also make any of your projects permanent just by leaving a component Arduino in them at a cost of less than 10 dollars. The best part is that if in the course of doing something very clever you damage an Arduino you still have ten more.

It is all just my opinion, but I haven't been limited by an UNO yet, it might be that I am just not that imaginative or that I enjoy the occasional challenge of making a project fit what I have.

   Duane B

rcarduino.blogspot.com
1525  Using Arduino / Sensors / Re: Suggestions on IR communication on: March 02, 2012, 05:32:49 am
Hi,
   Ok, your project is as I previously understood it.

   The next question is, do you want control of the servo and the motor to be proportional ? if so its more functionality and more work than simple on/off left/right.

    Are you going for proportional control ?

    If so, my thinking is that you can generate a 38Khz IR signal from an Arduino timer or a 555 Timer and then pulse this signal on and off using the servo library.

    Are you planning to use two Arduinos ? or just one for transmitting or receiving ?

Duane B

rcarduino.blogspot.com
1526  Using Arduino / Motors, Mechanics, and Power / Re: Help connecting nonstandard servo? on: March 02, 2012, 04:35:34 am
Hi,
   If you can put up a picture of the connecter head on so that you are looking into the pin holes, this will help, the connectors are normally notched with either two corners cut or an extension tab on one side. If you have a picture I will have a look at one of my receivers and tell you which wire is which - the previous suggestions of opening the servo will also work, upto you.

Duane b

rcarduino.blogspot.com
1527  Using Arduino / Project Guidance / Re: Help buying Arduino Board on: March 02, 2012, 04:31:04 am
Hi,
   I would still suggest and 'UNO'. The one advantage I see of the smaller UNO board is that there are lots of low cost, well tried and supported methods of making your projects permanent.

So if you have the money I would suggest get a single UNO and with any money you have left over buy a few component packs for 'bread board arduinos' or 'standalone arduinos' you will learn a lot more this way and will be able to keep anything really cool that you make without using up your one and only UNO.

Duane B

rcarduino.blogspot.com
1528  Using Arduino / Project Guidance / Re: A game with Arduino and IR on: March 02, 2012, 04:27:12 am
Hi,
    You could experiment with using chained 555 or 556 Timers to generate pulses on the IR Emitter, each 'phaser' could have a different pulse width. Its not perfect, but its very cheap.

The basic idea is to have one timer generating a 38Khz carrier, then have another switch this one on and off using by connecting its output to the reset pin of the carrier timer. You would choose the frequency of the second timer, lets call it the control timer so that each phaser had a unique pulse period.

I am doing this in my Lap Timer project although at the moment I am only timing one car so have not looked too far into transmitting and capturing unique IDs through the pulse width. As the time I have to capture the pulse is so short I would probably go for a different encoding for this, but in your case I believe it would work.

http://rcarduino.blogspot.com/2012/02/rc-lap-timer-go-kart-lap-timer-part-2.html

I will try and put up a description of the IR Transmitter over the weekend, but you can find the basic idea all over the web, search for '555 IR' all I am doing is adding a second timer to pulse the first one.

EDIT: Here is a link to a relevant approach - http://rcarduino.blogspot.com/2012/03/punk-consoles-and-ir-transmitters-555.html

Duane B.

rcarduino.blogspot.com
rcarduino.blogspot.com

1529  Using Arduino / Sensors / Re: Suggestions on IR communication on: March 02, 2012, 04:16:44 am
Hi Marcus,
   Just to make sure I am not leading you in the wrong direction for your project, can you give a quick outline of what you want the end result to be, then we can make a better judgement on IR or any other alternatives.

Duane B

rcarduino.blogspot.com
1530  Using Arduino / Sensors / Re: IRremote library on: March 02, 2012, 04:14:53 am
Hi,
   Are you using Arduino 1.0 , if so I recently saw some threads about older libraries not compiling.

This is one example and includes the fix - http://arduino.cc/forum/index.php?topic=94126.0

Duane B

rcarduino.blogspot.com
Pages: 1 ... 100 101 [102] 103 104 ... 114