Show Posts
Pages: [1] 2 3 ... 540
1  General Category / General Discussion / Re: 3D printer on: Today at 08:09:13 am
Try the RAMPS controller:
http://reprap.org/wiki/Arduino_Mega_Pololu_Shield
2  Using Arduino / Sensors / Re: SPI Sensors Values Way Off on: Today at 08:04:11 am
Code:
theTime = ((unsigned long)dataArray[0] << 24) + ((unsigned long)dataArray[1] << 16) + ((unsigned long)dataArray[2] << 8) + (unsigned long)dataArray[3];
You are re-assembling the time backwards.  Element 0 is the LSB. Try:
 
Code:
theTime = ((unsigned long)dataArray[3] << 24) + ((unsigned long)dataArray[2] << 16) + ((unsigned long)dataArray[1] << 8) + (unsigned long)dataArray[0];
3  Using Arduino / Project Guidance / Re: difference between these two shields on: Today at 07:15:21 am
Looks like the SparkFun WiFi Shield is a clone of the official Arduino shield so it will probably work with the Arduino library and examples.  The adafruit shield uses a different chip and would require a different library.
4  Using Arduino / Project Guidance / Re: temperature controller with pt100 for 0 to 300 degres cilcius on: April 18, 2014, 07:54:24 pm
Probably best to use a chip dedicated to converting the measurement to digital, like the Maxim MAX31865.
5  Using Arduino / Project Guidance / Re: Create wireless magnetic knob on: April 18, 2014, 03:46:25 pm
Does the button also needs 5 magnets (apart from the center magnet) or is 1 enough?

I expect the button will either need more magnets or a ferrous metal structure to concentrate the magnetic field into multiple poles.   If you had 5 magnetic poles the magnetic field would fade out on all 5 sensors at the same time and then fade in again.  You would not be able to tell which direction the disk was rotating.  With a number of legs that is not a multiple of 5 you should be able to detect direction of rotation.   I would try something with 6 legs.
6  Development / Other Hardware Development / Re: How to lower power output on laser diode? on: April 18, 2014, 03:31:04 pm
So, I would need to build my own driver in this particular case?

Yes


Or buy one already built.
7  Using Arduino / Project Guidance / Re: Create wireless magnetic knob on: April 16, 2014, 12:32:10 pm
It appears there is a central magnet to hold the knob in place an several hall-effect sensors under the knob to detect tipping and rotation.  If you can buy a replacement knob and measure the pattern of magnetic fields that should get you closer to an understanding of how many hall-effect sensors are under that cooktop.
8  Using Arduino / Installation & Troubleshooting / Re: Arduino Unknown Device on: April 16, 2014, 12:20:24 pm
Unknown Device probably means that you do not have the proper driver installed. What model Arduino?
9  Development / Other Hardware Development / Re: How to lower power output on laser diode? on: April 16, 2014, 12:17:26 pm
I think the laser diode package usually includes a photodiode that measures the light output so the control circuitry can adjust current to the desired output. Perhaps you should specify which laser diode you are using and what driver circuit you are using.
10  Using Arduino / Sensors / Re: Problems with Ultrasonic Range Finder - Maxbotix LV-EZ1 on: April 16, 2014, 09:09:31 am
If you are trying to avoid problems with overlapping beams you should probably run then sequentially instead of simultaneously:

http://www.maxbotix.com/documents/LV_Chaining_Constantly_Looping_AN_Out.pdf

When they say "Then the micro controller will have to return it's pin to a high impedance state " they mean set the pinMode() to INPUT.

In both cases you only need one output pin as shown in the schematic diagrams.
11  Using Arduino / Installation & Troubleshooting / Re: Cannot upload application to a UNO-board from Mac Pro on: April 15, 2014, 06:32:42 pm
Bad USB cable or port?
Have you tried the loopback test (stickied) to see if round-trip communications is possible.
Do the Receive and Transmit lights on the Arduino blink when you try the upload?
12  Using Arduino / Project Guidance / Re: Two power systems, reading voltage off both without magic smoke. on: April 15, 2014, 06:24:06 pm
Question 1: Will tying the ground of both power systems together cause any system destroying issues?
No.

Question 2: Should I be slapping a diode from ground to the voltage reading analog inputs for protection?
That would only provide protection against reverse voltage by shorting out the battery.  The diode would then die, followed by the Arduino.  A diode in series would protect against a reversed battery but  it would offset any voltage reading by the voltage drop of the diode.  Use a voltage dividers to get the voltages being read down to a safe voltage (typically 5V or less).
13  Using Arduino / Networking, Protocols, and Devices / Re: SainSmart W5100 Network Module (not shield) pinout needed on: April 15, 2014, 06:15:10 pm
I wonder if it is a clone of the ermicro board: http://www.ermicro.com/blog/?p=1773
14  Using Arduino / Project Guidance / Re: help please on: April 15, 2014, 06:04:08 pm
The pin is fixed because it uses the Input Capture Pin of a hardware Timer/Counter.  On the Arduino UNO there is only one ICP and that is Pin 8: ICP1.  On the Arduino MEGA you can also use Pin 48 (ICP5) or Pin 49 (ICP4) because Timer4 and Timer5 have that feature.
15  Using Arduino / Project Guidance / Re: How to run a loop only once while having constant update on a sensor? on: April 15, 2014, 05:53:45 pm
Instead of:
Code:
     x= analogRead(2);
    while(x>300)
    {
      tone(8,500);
    }

you mean:
Code:
    while((x = analogRead(2)) > 300)
    {
      tone(8,500);
    }

or

Code:
    x = analogRead(2);
    while(x > 300)
    {
      tone(8,500);
       x = analogRead(2);
    }

or

Code:
    while(analogRead(2) > 300)
    {
      tone(8,500);
    }
Pages: [1] 2 3 ... 540