Show Posts
Pages: 1 ... 24 25 [26] 27 28 ... 96
376  Using Arduino / Programming Questions / Re: Help with modulo. 25%10 always rounds off to 6. on: April 13, 2014, 05:15:00 pm
void processNumber(int number)
  int x;
  unsigned int ones;
  int tens;
I don't know if it's what's causing your problem but you don't need to round (number) before dividing it by 10 as tens is an int and can't hold the fractional part of the result.
Also, why the brackets around number?
You are calling a function from within a function. I seem to remember reading that that's a no-no.   smiley-confuse
377  Community / Bar Sport / Re: The next big thing in battery technology on: April 13, 2014, 01:37:37 pm
Their was a program on the tv the other day about battery's powered by sugar. They said they could be in mobile phones within 3 years or so.  You just put some more sugary water in them when they run out. The price of cheep fizzy drinks suggests they will be very cheep to run.
But as soon as they become popular, the price of sugar will double.
378  Using Arduino / Project Guidance / Re: Shooting Target Reset system on: April 12, 2014, 04:40:28 pm
I really want to have it wireless.  Right now I can reset the targets with the pull cord setup.  But dealing with 50+ yards of pull cord is not fun.   Same thing would happen if I had a wired switch.

I liked the blue tooth idea and setting up an app so that if I ever started selling these I would not have to provide a controller.  All I would have to do is tell them download my app and they would be set and be able to use their phone which nearly every human on the planet now has which would save money and keep the cost down.
   I   don't have a phone capable of downloading apps! But then, I'm not interested in target shooting.
379  Using Arduino / Project Guidance / Re: Newbie with a feasibility question. on: April 12, 2014, 04:26:29 pm
It appears that you need some kind of manometer.
Scroll to bottom of the page to see diagram.
380  Community / Bar Sport / Re: The perfect arduino murder! on: April 11, 2014, 10:39:13 pm
I would use it to snatch bad toupees.
A hair trigger?  smiley-mr-green
381  Community / Bar Sport / Re: The next big thing in battery technology on: April 11, 2014, 10:34:41 pm
The batteries may be smaller but a cable to carry 240A will have to be about 3/4" in diameter (each core) and probably cost $100 a meter/yard.
382  Development / Other Hardware Development / Re: List of tools for surface mount work on: April 11, 2014, 10:03:44 pm
Depending on your eyesight, a large magnifying glass on a stand might be useful.
383  Using Arduino / Displays / Re: TVout and RGB Video on: April 11, 2014, 09:39:00 pm
To add VGA colour to the TVout library and circuitry is quite simple.
The downside of this is that the TV can only output ONE colour at a time, but I think you will find this is better than just white all the time. The possibilities of this will give you 24bit colour !!!
I hope others can find this as useful and adaptable as I have - good luck :@)
Thanks for the schematic, but where will I find the code you're using?
384  Using Arduino / Project Guidance / Re: Shooting Target Reset system on: April 11, 2014, 02:42:41 pm
Why not just have a button and the Arduino by the shooter and connect it by wire to the servo at the target. An ABS project box would be all you need to protect the Arduino from pellets if it's next to the shooter. One Arduino can control several servos and switches, depending on which model you use.
385  Using Arduino / Project Guidance / Re: Advice on programming a accessory decoder for a computer controlle train layout. on: April 11, 2014, 02:10:57 pm
I suggest that you get in touch with MERG (Model Railway Electronics Group)
They designed DCC, so know much about it. There's some stuff on their homepage and there's a forum, but I think you have to be a member to use it.
386  Using Arduino / Microcontrollers / Re: Arduino Tre Price on: April 07, 2014, 09:17:51 pm
I never seem to get taxed for parcels from China. I have been taxed on a couple of high-value items from the USA.
UK Customs don't look at anything below about £15 (about US$25) as it's not cost effective to try to collect £3 ($5). The Post Office charges them that much to collect the payment on their behalf. Spanish Customs is probably the same.
Chinese shippers often mark the customs declaration for small items as 'gift'.
The most annoying thing is that Customs also tax the shipping charges. Your $211 shipping would become $253.20 here!
387  Using Arduino / General Electronics / Re: Thermo Electric Cooler/Heater. on: April 07, 2014, 08:10:45 pm
See these spring arms? They are made to work with the motor running so they drag away from the attachment point.

"Backwards" would be running in the other direction.
You're still calling the direction they (were designed to) run best in Forwards.
For a better motor with carbon brushes in holders with springs behind them, they can wear into a set. Or, as in the image below, they are made so they are angled and are meant to run in one direction.

I'm not saying that you can't run these in the other direction. I'm saying they may not work as well.
Agreed, when you use the terms 'one direction' and 'other direction'.
388  Using Arduino / Project Guidance / Re: Bee Hive Scale on: April 07, 2014, 05:57:49 pm
This is the one I mean:
389  Using Arduino / General Electronics / Re: Thermo Electric Cooler/Heater. on: April 05, 2014, 10:30:43 pm
Heh. Some cheap DC motors use a strip of springy metal rather than a spring to press the brushes against the commutator. So if run backwards, the angle of the brushes may change, causing them to not quite make as good a contact.
Or vice versa.
It's not your mechanics/electronics that I'm questioning but your nomenclature. A free running brushed DC motor has no forward or backward until you arbitrarily designate one direction as forward. Someone else may designate the other direction as forward and you would both be correct from your respective standpoints. Similarly, clockwise and anticlockwise [counterclockwise]  are meaningless without a definition of which end is being looked at, especially with double ended motors.
All you can say is it's 'turning in one direction' or it's 'turning in the other direction.'
Even when you apply a load, it's the load that is being turned forwards/backwards, not the motor.
390  Using Arduino / Project Guidance / Re: Bee Hive Scale on: April 05, 2014, 08:59:54 pm
Not that one, although it is a good link. The one I mean was specifically about how to weigh beehives.
Pages: 1 ... 24 25 [26] 27 28 ... 96