Show Posts
Pages: 1 ... 5 6 [7] 8 9 ... 12
91  Community / Gigs and Collaborations / Re: Prototype PCB Builder/Makers Here :) - "Ghost In The Machine" - / Entry Contest on: October 23, 2012, 04:33:55 pm
the chip can emulate a keyboard mouse > have a look at the leonardo examples for controlling mouse/kyb


Ahhh OK i see now, you are pretending to be a keyboard/mouse smiley

92  Community / Gigs and Collaborations / Re: Prototype PCB Builder/Makers Here :) - "Ghost In The Machine" - / Entry Contest on: October 23, 2012, 04:06:30 am
So how would you get the drivers for your "HID" loaded onto the PC so that is can interact with the device you have just plugged into the USB port. Perhaps you are suggesting that it should also look like a mas storage device to the PC and run some kind of auto-run software when plugged in. If that is the case why not just do it all in software.

Cheers Pete.
93  Using Arduino / Project Guidance / Re: Robotic Hand on: October 23, 2012, 03:32:55 am
That looks good. Ill check around for those servos. how about bread-boarding? any idea how that would work?

This is a DIL chip and so will fit into your standard breadboard without any problems, I built my prototype on breadboard

I also used an atmega328 chip nativly and not an Ardiuno board as it keeps the cost of production down.

My design also used an SPI capacitive touch sensor breakout from sparkfun and so they both sat on the SPI bus together.


Cheers Pete.
94  Using Arduino / Project Guidance / Re: Robotic Hand on: October 22, 2012, 03:15:49 pm
If you use servos instead of motors, you don't need any special driver hardware (they are just controlled from a PWM analog output pin).

Depending how many servos you need to control, it may be difficult to drive them all from a single Arduino (difficult but not impossible - but adding multiple Arduinos might be an easier problem to solve than multiplexing servo outputs).

Or you could use one of these http://proto-pic.co.uk/20-channel-rc-servo-driver/

I am using one for client where the Arduino is tied up doing other stuff that messes with the timers and so the PWM. This solution passes PWM signal generation away from the Arduino and is very stable.

Cheers Pete.

95  Community / Gigs and Collaborations / Re: Help with a code on: October 16, 2012, 12:29:49 pm
OK so can you answer a few questions first

  • What Arduino platform are you using
  • What motion sensor are you using
  • What baud do you want the serial monitor to send data at

This is only a few lines of code once we have the required information.

Cheers Pete.
96  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 15, 2012, 04:24:47 am
Quote
or if its the batteries which cannot provide enough amperage for the servos under heavy loads (the battery pack is 4 AS's).
Ooh, ooh, I know. It isn't the software.

Oddly enough it could well be the software  smiley-confuse If the timing loop that is setting the time between the PWM is too long the servos stop trying to seek, they go into no resistance mode. If the servos are under a small load that causes them to move off the desired point slightly when this happens then they will indeed jitter or oscillate about the desired point.

But then a really big battery might fix it too  smiley-lol

Cheers Pete.
97  Using Arduino / General Electronics / Re: General question about transistors on: October 14, 2012, 07:28:32 am
I don't know a good upload service and used the first one google showed me. Do you know a bether one which u can recommend?

You could always have attached it directly to the post under the "Additional Options..." menu item when writing your post.

You might want to try Fritzing, It is a great breadboard centric layout system for creating electronic circuits. It can also be used for basic PCB design. It has a circuit diagram layout you can use as well. Best of all you can publish your fritzing files and other people can make suggestion and modifications directly to them.

Fritzing http://fritzing.org/

Cheers Pete.
98  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 13, 2012, 04:35:52 pm
Code:
        servoSpeed[roll]= inches/10;
        servoSpeed[pitch]= 2 * inches/10;
        servoSpeed[yaw]= 2 * inches/10;
        servoSpeed[Boo]=  inches/10;

If they are all to be the same speed then the code needs to be ...

Code:
        servoSpeed[roll]= inches/10;
        servoSpeed[pitch]=  inches/10;
        servoSpeed[yaw]=  inches/10;
        servoSpeed[Boo]=  inches/10;

although it might be quicker to calculate it once and use it several times

Code:
        int Speed = inches/10;
        servoSpeed[roll]= Speed;
        servoSpeed[pitch]= Speed;
        servoSpeed[yaw]= Speed;
        servoSpeed[Boo]=  Speed;

Cheers Pete.
99  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 09, 2012, 05:02:00 pm
OK so post the code you have to control the speed of the servos and the code for the ultrasonic ranger and i can look at knitting them together for you  in the way i described before.

Cheers Pete.
100  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 09, 2012, 02:49:52 pm
OK so first off what Ultrasound ranger are you using.

have you actually got it wired up to the arduino.

Cheers Pete.

101  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 06, 2012, 10:55:04 am
     OK so it sounds like you have already answered your own question.

      If you can vary the speed of the servos by altering a delay in between the setting of the Pulse width that sets the position of the servo just link this delay to the results from your ultrasound sensor.

     You can use the map function to map an input range from the sensor to an output range that fits in with how fast/slow you want to move the servo.


Cheers Pete.
102  Community / Gigs and Collaborations / Re: Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping))) on: October 05, 2012, 03:47:31 pm
do you actually mean Servos, generally these are thought of as the thing that is used in RC projects and their speed is not normally controlled but their position is with PWM and is maintained using an internal closed loop feedback in the servo itself.

 I can help, what is your budget.

Cheers Pete.
103  Community / Gigs and Collaborations / Re: Gig: Board Drafter for Simple Arduino PID control and pwm output design on: September 12, 2012, 01:13:31 pm
Hello,

Looking at your requirements I believe that I can help you with this.

I have sent you a PM with my details.

Cheers Pete.
104  Community / Gigs and Collaborations / Re: UART(COM port) baud rate converter? Help anyone? on: September 02, 2012, 07:44:54 am
OK .... so ...

We have two frequencies going on here, and some confusion as to the requirements of the "baud" rate.

The interface speed of the GPS is the baud rate, the rate at which it sends messages is the message rate, the two are not really inter dependent unless you are expecting to be transmitting data at 32 baud smiley

So even if the messages are coming in at 10Hz unless there is a VERY good reason why not then they can also go out at 10 Hz independently of the baud rates.

The very simple serial repeater posted by Rob will do what you want, all you have to do is extend it to have the number of ports you are expecting to repeat to and specify the pins you are intending to use for the soft serial library. Most NMEA sentences are quite short and will not require buffering but can just be squirted directly out.

If you need more guidance with the coding just shout, I am sure there are plenty of people including myself who can knock this up in 5 minutes for you.

If my understanding is too simplistic and you do need to be throttling the NEMA message rate then it all gets much more complicated.

Cheers Pete.
105  Community / Gigs and Collaborations / Re: UART(COM port) baud rate converter? Help anyone? on: September 02, 2012, 07:32:44 am
You just read from one port and write to another, probably 20 lines of code

Code:
setup () {
   Serial1.begin (115200);
   Serial2.begin (9600);
}

loop () {
   if (Serial1.available())
       Serial2.write(Serial1.read());
}

Make that 8 lines smiley

______
Rob



You may want to add the lines that define the pins used in the softserial library too smiley
Pages: 1 ... 5 6 [7] 8 9 ... 12