Show Posts
Pages: 1 2 [3] 4 5 ... 2327
31  Using Arduino / Project Guidance / Re: Window controlled by water sensor on: September 27, 2014, 03:13:35 am
Thanks.

How is this wired up?
I ask because you normally do not drive a stepping motor by giving a left and right signal like your code is suggesting. Normally you have a step and direction input to a motor. You either have a diffrent driver or you are missunderstanding how to drive it.
32  Using Arduino / General Electronics / Re: Darlington Array with Bipolar Stepper Motor on: September 27, 2014, 03:08:16 am
Bad choice of chip.
But you wire it up like it says in the data sheet.
You code it like it says in hundreds of examples that google will show you.
33  Using Arduino / General Electronics / Re: Resistor value on: September 27, 2014, 03:05:46 am
The values are not critical.
Just work out the base current you need in the transistor to ensure it is turned on fully.
You need to know the gain of the transistor and the current load it is going to take.
Base current = load current / gain

34  Using Arduino / Project Guidance / Re: Window controlled by water sensor on: September 27, 2014, 02:57:37 am
You need to post all your code. You have not.
35  Using Arduino / General Electronics / Re: Resistor value on: September 27, 2014, 02:51:26 am
What is wrong with the values already shown?
36  Using Arduino / Programming Questions / Re: Wii camera project servos not moving correctly on: September 27, 2014, 02:19:15 am
Looking at the code I think you do need continuous rotation servos.

If it dosn't say continuous rotation servo in the description then it is not.
These types of servos are not common. I have seen one on spark fun's web site though so unless you are into modifying the servo you have then you need new ones.
37  Using Arduino / Programming Questions / Re: Wii camera project servos not moving correctly on: September 26, 2014, 11:53:21 pm
Continuous rotating servos are a bit of a missnomer. You can not set the angle of one, only control the speed.
38  Using Arduino / Motors, Mechanics, and Power / Re: Can I use a 12v relay for controlling a 3v or 5v dc motor? on: September 26, 2014, 11:42:40 pm
A 6V relay will probbly work at 5V but it will not be as reliable. As you bring the voltage down there will be a point where it stops working.

If you have a 5V arduino the it is simple to use a 5V relay although you still need a transistor to boost the output current. You will not find many 3V relays.
There is no need to use a regulator to drive the relay if your supply is so close to the working voltage.
39  Using Arduino / Project Guidance / Re: proximity sensor only activated by certain things on: September 26, 2014, 11:37:41 pm
If you have a bit pattern of
0011 0001
And shift it to the left by one place you get
0110 0010

So 0x31 becomes 0x62, in other words you multiply it by two. Shifting to the left by eight places multiplies the number by 256.

a bitwise OR is a way of setting bits in memory. Here you are using it to combine two bytes. Read this

https://www.inkling.com/read/arduino-cookbook-michael-margolis-2nd/chapter-2/recipe-2-20

In fact you can simply use the plus operation but an OR operation is what you are doing. If you have the number 0x43 and you shift it to the left by eight places you get the number 0x4300.
If you then OR this number with 0x21 you get
4300
0021
=
4321

At the bit level
0 OR 0 = 0
1 OR 0 = 1
0 OR 1 = 1
1 OR 1 = 1

If the read tag int had to be inside the loop you are doing it wrong, seprate the reading of the tag from the definition of the variable.
40  Using Arduino / Programming Questions / Re: Why the condition is not respected while I have a coma on: September 26, 2014, 03:10:24 pm
Quote
Here is the code now
Are you using the Arduino IDE?
If so that code will not compile because there are statements outside of any function definition.

If you say it does compile then you are not posting all your code or you are lying.
41  Using Arduino / Displays / Re: 59 - 09 in LCD and RTC on: September 26, 2014, 03:01:25 pm
Quote
If you do not get my point now then you just never will
And I will say exactly the same to you.

What is the point of posting code that is a hundred times longer than it need be? It only shows that you have absolutely no idea of how to code. Yes it is another point of view but it is so inept as to be not worth posting.
42  Using Arduino / Installation & Troubleshooting / Re: Arduino is not working any more. TX led on all the time. on: September 26, 2014, 02:56:53 pm
Quote
do you think everything is ok with by board or I do really broke something
From what you have posted it all seems to be working.

Quote
coz it need two external softwares that doesn´t work on my studio´s computer (win 8.1 x64)

Then that code stands no chance of working. However, I am surprised that hairless does not work on your system.

The only way round a helper application like that is to use a real MIDI interface from the Arduino into a real MIDI interface into your computer. However if you are using a Teensy then that can make the Arduino look like a MIDI device to your computer.
43  Using Arduino / Displays / Re: 59 - 09 in LCD and RTC on: September 26, 2014, 02:29:59 pm
Quote
Still missing the point, there is more then one solution and I offered a different view
Sure there is more than one route to get between New York and Boston. But going through Las Vegas is nether practical nor sensible.
44  Using Arduino / Installation & Troubleshooting / Re: Arduino is not working any more. TX led on all the time. on: September 26, 2014, 02:25:38 pm
OH no. Not another instructiables heap of crap!

Sometimes I get so fed up with trying to sort out the rubbish put on that site.

The code is horrendous and almost impossible to follow. I suppose you have no idea what it is doing.
It is a perfect example of write only code and my guess is that it has had zero testing.

Where is the schematic I asked about?  Instructables usually miss them out because the authors do not understand electronics.

Quote
one pode to the GND and other pole to the ditital pin 0.
That would normally be fine ( but not on pins 0 & 1 ) except the idiot of an author did not enable the internal pull up resistors so that stands no chance of working correctly anyway.

You really should not be playing with this sort of stuff that is way beyond what you can understand.

Find a simpler sketch one that just sends one value. Look at it and try to understand it, then try and expand it.

If you are stuck then look at the code in this project:-
http://www.thebox.myzen.co.uk/Hardware/Pendulum.html
It sends note on messages in response to a magnet going over a reed switch.
45  Development / Other Software Development / Re: pcb design schematic on: September 26, 2014, 02:08:20 pm
Quote
I encircled new antenna with red circle
What makes you think that is an antenna? It is nothing like the antenna on the sample board you were pointed at.

Quote
and about ground plane the blue and red polygon around the pcb i think is the ground plane.
No it is not.
A ground plane is a large area of copper again on that sample board it is the area covered in vias. ( holes joining front to back ).
Pages: 1 2 [3] 4 5 ... 2327