Show Posts
Pages: [1] 2 3 ... 5
1  Using Arduino / Project Guidance / Re: Servo's or Stepper motors? on: February 26, 2014, 04:29:17 am
thanks for the info guys. I've ordered some 180deg  servo's to have a play with. I'll go and have a search now for servo control.
2  Using Arduino / Project Guidance / Re: Servo's or Stepper motors? on: February 25, 2014, 11:41:45 am
if I used something like this:
http://www.ebay.co.uk/itm/Feetech-360-Degree-Continuous-Rotation-Servo-3kgcm-FS5103R-Arduino-Raspberry-Pi-/321280971134?pt=UK_Computing_Other_Computing_Networking&hash=item4acdd6917e

would it be easy to "zero" to find a start position?
3  Using Arduino / Project Guidance / Re: Servo's or Stepper motors? on: February 25, 2014, 10:36:12 am
Thanks for the info Robin, I guess 180 deg would be enough for me, so I'll have a look for some cheap servo's and have a play
4  Using Arduino / Project Guidance / Servo's or Stepper motors? on: February 25, 2014, 09:33:51 am
I want to create a little project using an uno, into a car dashboard, I would like to have two analogue style gauges for speed and RPM, and an LCD display for temperature, and other information.

First question really is what would you advice I use for the analogue gauges, stepper motors or servo's? I do want to try and keep this project cheap, but if one is better than the other then I am all ears.

Thanks
Jim
5  Using Arduino / Project Guidance / Re: LTC2400 24bit ADC with strain guage on: December 23, 2013, 11:14:26 am
Thanks for getting back to me,
The load cell I'm using is 500kg, I want to be able to read fom 0 - 400kg at every .5kg, Would I have enough resolution?

How would I connect a strain gauge to a ADS1231, is it simple enough?
6  Using Arduino / Project Guidance / Re: LTC2400 24bit ADC with strain guage on: December 20, 2013, 10:35:16 am
is it possible to connect a load cell to a 24bit ADC without amplification?
7  Using Arduino / Project Guidance / LTC2400 24bit ADC with strain guage on: December 17, 2013, 04:53:19 am
Hello,

Has anyone every used one of these devices to read the input from a strain gauge without an amplifier?

http://www.ebay.co.uk/itm/111005456125?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649

I would like to connect one of these device to my uno, and then connect a strain gauge inside my load cell to this. Would I need an amplifier also??

Any help would be magic.

Thanks
Jim
8  Using Arduino / Sensors / Re: Reading 5v analogue sensor on: April 17, 2013, 02:55:46 pm
Thanks Mike, I'll have a read.

For anyone else here is the link
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
9  Using Arduino / Sensors / Re: Reading 5v analogue sensor on: April 17, 2013, 02:42:42 pm
Sorry to be lame, but what do you mean by coupling?

Maybe I should start from the beginning, can anyone point me in the direction of a diagram of the minimum components for an arduino where I can read analogue voltages accurately?
10  Using Arduino / Sensors / Re: Reading 5v analogue sensor on: April 17, 2013, 12:49:44 pm
The sensor is a load cell, I've also replicated the problem using a diode between 5v and analogue input 3. When tested with a digital multi meter it shows around 4.2v but stil 1023 on the serial monitor. There is nothing else in my code, the complete code is above.
11  Using Arduino / Sensors / Re: Reading 5v analogue sensor on: April 17, 2013, 09:56:25 am
I'm just using an atmega 328 on a breadboard, there is nothing connected to pin21 Aref, is this where I've gone wrong?
12  Using Arduino / Sensors / Reading 5v analogue sensor on: April 17, 2013, 09:40:47 am
I have a sensor which outputs  0-5v analogue output.
I've noticed that when the sensor has an output of 4v, and I do a analogRead(A3) it returns 1023.

I was expecting to see a figure of 800.

This is the code I used to test the sensor:
Code:
void setup() {
  Serial.begin(57600);
}
void loop() {
  Serial.println(analogRead(A3));
  delay(50);
}

Would you expect to get a value over 1000 or around 800 back?

Thanks

Jim
13  Using Arduino / Programming Questions / Re: Split a string into two integer values on: April 17, 2013, 09:34:46 am
it's not my code, it's what I hacked from the sensornet example, I 'm still not really sure whats going on to be honest. I'm still learning
14  Using Arduino / Programming Questions / Re: Split a string into two integer values on: April 17, 2013, 05:25:49 am
Paul, thanks again for your help. With your comments I understood a bit more what is going on, and I've broken the data being received into two separate variables.

Code:
char* S_message::toString(void)
{
  snprintf(buffer,sizeof(buffer),"%1u",
      temp_reading >> 8//,
     // ( temp_reading & 0xFF ) * 100 / 256,
   //   voltage_reading >> 8
    //  ( voltage_reading & 0xFF ) * 100 / 256
      );
  return buffer;
 
}
char* S_message::volts(void)
{
  snprintf(buffer,sizeof(buffer),"%1u",
   //temp_reading >> 8,
     // ( temp_reading & 0xFF ) * 100 / 256,
      voltage_reading >> 8
    //  ( voltage_reading & 0xFF ) * 100 / 256
      );
  return buffer;

Code:
struct S_message
{
  uint16_t temp_reading;
  uint16_t voltage_reading;
  static char buffer[];
  S_message(void): temp_reading(0), voltage_reading(0) {}
 // char* toString(void), volts(void);
  char* volts(void);
  char* toString(void);
};
15  Using Arduino / Programming Questions / Re: Split a string into two integer values on: April 15, 2013, 10:03:54 am
Thanks Paul,

where did you find the code below?

Code:
int tempWhole = temp_reading >> 8;
int tempFrac = (temp_reading & 0xFF) / 256;
float temp = tempWhole + tempFrac;
Pages: [1] 2 3 ... 5