Show Posts
Pages: 1 [2] 3
16  Using Arduino / Programming Questions / Re: how to control servo's stopping point? on: January 05, 2013, 06:09:47 pm
http://www.sparkfun.com/datasheets/Robotics/SM23-33%20Servo%20_E.pdf

is this what you want to see?
17  Using Arduino / Programming Questions / Re: how to control servo's stopping point? on: January 05, 2013, 06:03:50 pm
Quote
Without extra hardware, that is never going to happen.

Hint: it isn't a servo anymore, despite what the seller tells you.

I think, under UK law, you'd have a very strong case for a refund.

So what you are saying is that I have the wrong type of "servo" for what I want to accomplish?

18  Using Arduino / Programming Questions / how to control servo's stopping point? on: January 05, 2013, 05:31:59 pm
I recently purchased a servo https://www.sparkfun.com/products/10189 and am wondering how to write a code to start and stop the servo at certain points. Here is what I would like to do...

Using an arduino UNO:

when you power up the UNO the servo will find the "center" and stay there
when a simple pushbutton https://www.sparkfun.com/products/9190? is pushed once the servo would turn 90 degrees
when the button is pushed the second time it would rotate 90 degrees further (to the 180* point from center)
when the button is pushed the third time it would rotate 90 degreees further (to the 270* point from center)
when the button is pushed the forth time it would return back to the center position.



thanks for your help
19  Using Arduino / Project Guidance / Re: HackHD not recording! on: December 26, 2012, 12:12:50 am
what I am asking is...Do you think it could be something with the microSD card?
20  Using Arduino / Project Guidance / HackHD not recording! on: December 25, 2012, 11:27:51 pm
I received my hackHD in the mail and have been playing with it...I can get it to record a few seconds but does not record any longer...and it had some white lines in it... I tried formating the 8GB class4 card and not it don't record at all!! :-( what is wrong? I have everything hooked up just like the  paper says that came with the camera!! :-(

Thanks
21  Using Arduino / General Electronics / Re: HackHD on: December 24, 2012, 09:09:53 am
Awesome!! Thanks for the input it's supposed to be coming in the mail today so I will give it a try!

22  Using Arduino / General Electronics / Re: HackHD on: December 21, 2012, 07:52:25 pm
Thanks michael_x I will try it as soon as I get the camera!! Just placed the order last night should hopefully get it soon after Christmas!! :-)
23  Using Arduino / General Electronics / HackHD on: December 20, 2012, 08:05:03 pm
I am trying to use an ATtiny84 to "press" the shutter/button on the hackHD. From my understanding of how the shutter/button works you have to pull it to ground (pin5) correct me if I am wrong. So what I am planning on doing is build my circuit like illustrated in the picture attached... Does it look like it would work?

1-ATtiny84
1-hackHD
1-NPN Transistor 2N3904   https://www.sparkfun.com/products/521
?? 1-4k7 resistor (Im not sure if I need this??)

Thanks for your help!
24  Using Arduino / LEDs and Multiplexing / Re: Rescue Squad lightbar on: December 16, 2012, 09:08:51 pm
I can't wrap my mind around the NPN transistors!!!  smiley-mad
25  Using Arduino / LEDs and Multiplexing / Re: Rescue Squad lightbar on: December 16, 2012, 09:00:33 pm
Quote
I don't see any current limiting resistors in the Base traces to the transistors.

Thanks I completely forgot about those! Will a 1k resistor be enough?

Quote
I also don't see any capacitors on the regulator input/output or decoupling capacitors on the MCU voltage pins.

I wasn't sure if I needed capacitors on the regulator due to the fact that the ATtiny84  I am going to use to flash the LED's in different sequences can handle voltages from 4.5v - 5.5v If I still need these let me know...I am new to this type of stuff! Thanks

Quote
for a start the transistors seem to short out your battery
How do I hook up the NPN Transistors? I have the 9v+ flowing into the collector the -(negative) hooked to the emitter and the ATtiny84 switch hooked to the Base.


26  Using Arduino / LEDs and Multiplexing / Rescue Squad lightbar on: December 16, 2012, 08:26:28 pm
My plans are to hook up everything as the picture shows... I used Fritzing to create this PCB. If there is something you see that isn't hooked up right please tell me... I am not familiar with the NPN transistors but from what I could find online I think I have them hooked up right. I am planning on testing everything using a breadboard before I start soldering everthing! This will be my first prototype that I've put together!

Thanks
27  Using Arduino / LEDs and Multiplexing / Re: ATtiny84 controlling LED light bar??? on: December 10, 2012, 10:29:18 pm
Do you have a link to a good tutorial on how to use an NPN transistor?

Thanks
28  Using Arduino / LEDs and Multiplexing / ATtiny84 controlling LED light bar??? on: December 10, 2012, 08:31:57 pm
I am trying to make a light bar for my truck. I run with a rescue squad and decided to try to make my own lightbar.... here is what I would like to do and I would like to have ya'll help with this to make sure I got the right idea. BTW I am new to this type of stuff  smiley-grin

First of all my power source will be 12v from the truck and I would like to have 30 white LEDS and 30 red LEDS

I will hook 12v to a PCB from Radio Shack
I will use this  https://www.sparkfun.com/products/107 to take the voltage to 5v
That will supply power to my ATtiny84 that I am going to program with a few different flashing sequences
I know that I will not be able to run very many LEDs with the 5v supplied from the ATtiny84.

My question is would the best option be to use this  https://www.sparkfun.com/products/10349 to up the supply power coming from the ATtiny so I could power more LEDs or am I misunderstanding something??

Thanks any help will be appreciated!!


29  Using Arduino / Microcontrollers / Re: What commands does the ATtiny84 support? on: December 09, 2012, 09:49:07 pm
Thanks for your help!! I got it figured out and everything works perfectly!! I love this forum!!
30  Using Arduino / Microcontrollers / Re: What commands does the ATtiny84 support? on: December 09, 2012, 05:48:57 pm
ATtiny84(internal 1MHz clock) and i am using Arduino 1.0.1
Pages: 1 [2] 3