Show Posts
Pages: 1 [2] 3 4 ... 2314
16  Community / Bar Sport / Re: Lead free solder on: September 18, 2014, 12:09:44 pm
RoSH is but one example of stupid EU law made by ignorant  in the UK we have had to suffer from them for years.

Other stupid examples are the new power restrictions on vacume cleaners, hair dryers and electric kettles. This is in order to save power. Well you just have to have these devices on longer so there is no saving.

Low power light bulbs that take an age to come on.
All new cars have to be fitted with headlights that come on automatically in the day time.

Also the now repealed law stating that you could not advertise bottled water as being rehydrating.

The one that gets me is that in slaughter houses you have to have a seprate set of kit and a room for meat, for sale to the public and meat being sold to restaurants.
17  Using Arduino / Sensors / Re: Cheap Laser Distance Sensor on: September 18, 2014, 10:57:53 am
Anyone else have a quiet uneasy feeling about that thread. All the respondents seem only to answer that thread and all had very low post counts.
These parts are not cheap and I am not sure I follow the how of how it works.
Something "feels" not quite right and I can't pinpoint it.
How do others feel? 
18  Using Arduino / Programming Questions / Re: Send integer get 256. Arduino I2C comunication on: September 18, 2014, 08:39:07 am
Omg, unbelievable Let's say the ERW problem was my fault ok? HEIII now is working, FINALYY ! Stop talking about it please. YOU ARE OFFTOPIC.

NOW!

Is intended not to send more than 640 long ?  Could you please FOCUS ON THIS?

Or could you just tell us you dont know what is happening instead on focusing on the ERW  , that is in topic as Global Warming, Chemtrails and Diseases?

Wow, is that how you ask for help in other things?

You go to the doctor and say, please cure me.
Doctor says "what is wrong"?
You shout "I DON'T KNOW YOU ARE THE DOCTOR"
Doctor says "where does it hurt"
You shout "THAT IS NOT IMPORTANT WHY WILL YOU NOT CURE ME"?

What do you think the Doctor says next?
 
I say the same first word but change the second one from "you" to "off"
19  Using Arduino / Audio / Re: Using more than 16 analog inputs for a MIDI controller on: September 18, 2014, 08:27:34 am
Yes use linear pots any logarithmic content should be done in the actual controller that changes the volume.

The Arduino has only a 10 bit A/D converter, so you can do this two ways.
1) have a seprate corse and fine control
2) take one reading and split it up into two bytes like this
Code:
val = analogRead(A0) << 2;
val1 = val & 0x7F; // lower bit to fine control
val2 = (val >> 7 ) & 0x7F; // upper bit to send to corse controller

20  Using Arduino / Programming Questions / Re: Scan text and read on: September 18, 2014, 08:18:02 am
Use your Pi and hope you can find some Linux drivers for the hard part which is all of it.
Without this you are pushing an undergraduate project level of difficulty at least.
Optical character regnition is a tricky thing.
21  Using Arduino / Project Guidance / Re: HELP! ARDUINO UNO R3 DATA LOGGER SKETCH NOT RUNNING on: September 18, 2014, 04:22:08 am
You can not use the LED on pin13 because that is already being used by the SD card.
You will have to add an LED on another pin. You can not control the TX and RX LEDs from the arduino as there is no connection between them.
22  Community / Bar Sport / Re: Scotland Reveals Currency Plan on: September 18, 2014, 03:10:43 am
Yes I think you are right on this one.
Have you seen the cover of this weeks Private ( ock ) Eye?

One letter says if they do get independence then every setback will be viewed by the English as not schadenfreude but tartanfreude.
23  Using Arduino / Project Guidance / Re: HELP! ARDUINO UNO R3 DATA LOGGER SKETCH NOT RUNNING on: September 18, 2014, 03:05:21 am
No not on the sensors but on the Arduino's RX pin.

The RX and TX LEDs are not controlled by the Arduino but by the USB driver in the computer. They will not flash with the USB disconnected.
24  Using Arduino / Project Guidance / Re: proximity sensor only activated by certain things on: September 18, 2014, 02:46:40 am
Quote
Spi is the software way of handling the input, right?
Wrong. SPI uses a hardware shift register that is a bit like the hardware that serial uses. Only unlike the serial signals this system has data and a clock.

Yes that diagram looks right in principle.
25  Using Arduino / Project Guidance / Re: HELP! ARDUINO UNO R3 DATA LOGGER SKETCH NOT RUNNING on: September 18, 2014, 02:40:47 am
Without the serial how do you know it is not working?

Light up a few LEDs to show progress through the code.

Opening a file inside the loop function is a bit odd.

It could be that the input RX pin is picking up interference try a 1K pull up to 5V.
26  Using Arduino / Programming Questions / Re: Scan text and read on: September 18, 2014, 02:34:27 am
The only Arduino that could possibly tackle that is the Yun.
27  Using Arduino / Project Guidance / Re: proximity sensor only activated by certain things on: September 17, 2014, 05:29:43 pm
Quote
If I'm remembering correctly, I can't use more than one spi at a time,
You do not remember correction.
You can connect many devices to the same SPI bus, you just need a seprate chip enable signal for each device.
28  Community / Bar Sport / Scotland Reveals Currency Plan on: September 17, 2014, 12:14:47 pm
Looks like a good one.
29  Using Arduino / Programming Questions / Re: Sub Routine on: September 17, 2014, 11:39:52 am
Quote
in this case I want a sub to keep code tidy that's all
OK that is fine. In C these are not called subroutines but functions but the two words mean very much the same thing.

In general subroutines do not accept or return parameters where as functions do.
30  Using Arduino / Programming Questions / Re: Sub Routine on: September 17, 2014, 10:22:59 am
Do you know what a subroutine does?
From the sound of your question I think that you think it will execute a piece of code at the same time as other code is running. That is not a subroutine but a thread.
The Arduino is a single threaded machine as are all the other single code processors so it you want to make it look like it is doing two or more things at once you need to implement what is known as a state machine.

Get rid of all the delays and rewrite your code in the style of the blink without delay example.

This might also help:-
http://www.thebox.myzen.co.uk/Tutorial/State_Machine.html
Pages: 1 [2] 3 4 ... 2314