Show Posts
Pages: [1] 2 3
1  Using Arduino / Project Guidance / Re: ATTiny45 Servo8Bit Library Problem on: March 27, 2014, 02:39:54 pm
Hi Gang

All sorted. The problem appears to be because of two reasons. Bad ground and overheating the ATTiny45 when soldering.

Cheers

Jase smiley
2  Using Arduino / Project Guidance / ATTiny45 Servo8Bit Library Problem on: March 24, 2014, 05:47:43 am
Hi Gang

I've been experimenting with the ATTiny45 and the Servo8Bit Library.  All works fine provided I use a small servo. If I try to use a large servo it doesn't work. I've connected everything as per the diagram below.

My hunch is that it has something to do with the clock speed. The ATTiny internal clock runs at 1MHz by default but can be changed to 8MHz (which is recommended and I've done) vs Arduino Uno which is 16MHz. Has anyone experienced a similar problem?

Cheers

Jase smiley

3  Using Arduino / Project Guidance / Re: Arduino Uno AREF on: March 08, 2014, 03:30:00 pm
Hi Mark

Thanks for the reply. I'm relatively new to electronics so I'm not quite sure what you are saying here?

Quote
AREF needs a low impedance voltage reference, it has significant current flow, so
a voltage divider won't be very accurate (about 0.15mA which may vary during conversion)

I thought impedance was related to AC? Will using a voltage divider reduce the current flow too much even though it will be the correct voltage?

Cheers

Jase smiley
4  Using Arduino / Project Guidance / Re: Arduino Uno AREF on: March 08, 2014, 03:17:27 pm
Hi PaulRB

Thanks for the reply. I'm relatively new to electronics so I don't quite follow your suggestion;

Quote
If you know the supply voltage is stable, or you are using an external voltage regulator or the Arduino's regulator, you can measure the regulated supply with your DMM and not bother with the internal reference. Internal voltage ref can be very useful if the Arduino is powered by batteries and you are bypassing the voltage regulator to increase battery life for example.

If measuring such a small range of voltages using the ~5V supply as reference is not sufficiently accurate, you can use a voltage divider to scale down the voltage to be measured. You could do this with the internal reference also.

Are the above simply general characteristics of AREF?

Cheers

Jase smiley
5  Using Arduino / Project Guidance / Arduino Uno AREF on: March 08, 2014, 05:39:45 am
Hi Gang

I'm trying use an Arduino Uno to read the RSSI voltage of a video receiver which varies between 0.5V and 1.15V. I'm thinking my simplest solution would be to use analogReference(INTERNAL); which is 1.1V to give me the best resolution. My concern is that I 'may' exceed the AREF voltage by 0.05V. Will this be a problem?

Cheers

Jase smiley
6  Using Arduino / Project Guidance / Arduino Servo Library & GWS 125-1T/2BB/J on: March 03, 2014, 05:16:29 am
Hi Gang

I've recently purchased a GWS 125-1/2BB/J servo. This is a 360 degree servo. I've tried using the Arduino Servo Library but it over rotates  (turns more than 360 degrees). If I use a servo tester it works fine. My hunch is has something to do with the attach() function. Specifically the min and max parameters. I've tried checking ServoDatabase.com but there is surprisingly little information on this popular servo.  Has anyone had any experience with this servo or can possibly guide me?

Cheers

Jase smiley

7  Using Arduino / Project Guidance / Re: High Torque Servo on: February 24, 2014, 01:18:04 pm
Hi cr0sh

Thanks for the reply. I'd not considered using two BECs.

Cheers

Jase smiley
8  Using Arduino / Project Guidance / Re: High Torque Servo on: February 23, 2014, 06:03:17 pm
Hi PaulS

Thanks for your reply.

Cheers

Jase smiley
9  Using Arduino / Project Guidance / High Torque Servo on: February 23, 2014, 06:25:12 am
Hi Gang

I was wondering if someone could clarify something for me? I'm wanting to connect a high torque servo to my Arduino Uno. In all the material I can find on the subject it suggests that a separate power source should be used for the servo however my preference would be to use just one power source. I was wondering if the following would be acceptable?

Cheers

Jase smiley



10  Using Arduino / Project Guidance / Re: Arduino Mini TimerOne Library on: November 03, 2013, 07:09:06 pm
Hi mrburnette

Thanks for the reply. My sketch works fine on my Uno and Nano. I want to confirm that it will work on a Mini (05 Atmega 328) before purchasing. Can you confirm? Any help would be greatly appreciated.

Cheers

Jase smiley
11  Using Arduino / Project Guidance / Arduino Mini TimerOne Library on: November 03, 2013, 05:30:44 pm
Hi Gang

I was wondering if Arduino Mini will work with the TimerOne Library? If so what pins? The only information I can find is the following;

http://www.pjrc.com/teensy/td_libs_TimerOne.html

Cheers

Jase smiley
12  Using Arduino / Programming Questions / Re: How to square a number? on: October 30, 2013, 08:13:12 am
PaulS = Legend smiley-wink
13  Using Arduino / Programming Questions / Re: How to square a number? on: October 30, 2013, 08:06:56 am
Hi PaulS

Thanks for the reply. Can I do the following?

Example

nn instead of n * n

OR

(20-n)(20-n) instead of (20-n) * (20-n)

Cheers

Jase smiley
14  Using Arduino / Programming Questions / Re: How to square a number? on: October 30, 2013, 07:58:15 am
Hi AWOL

Thanks for getting back to me so quickly. Do you mean I need to do the following?

Example
n * n

OR

(20-n) * (20-n)

Cheers

Jase smiley
15  Using Arduino / Programming Questions / How to square a number? on: October 30, 2013, 07:42:15 am
Hi Gang

I know this might sound like a silly question but how do I square a number? Surely I don't need to use the pow() function? I simply want to square a variable.

Example
n2

OR

(20-n)2

Cheers

Jase smiley
Pages: [1] 2 3