Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: recommendations for attiny or arduino newb?

  1. #11
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    If you have a 555 dev kit (sounds like it) then find the RC values it is using. You should then be able to determine what frequency it is running at. A couple cents worth of capacitors and resistors and you can change the frequency.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  2. #12
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    I just edited my post. It turn out blank first time round.

  3. #13
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    You should be able to set the frequency much higher than that.

    Link you might find useful >

    http://www.arduino.cc/cgi-bin/yabb2/...num=1234764073

  4. #14
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by 2k1Toaster View Post
    If you have a 555 dev kit (sounds like it) then find the RC values it is using. You should then be able to determine what frequency it is running at. A couple cents worth of capacitors and resistors and you can change the frequency.
    I think he want to get into MCUs, solving the problem with a 555 isnt going to help him

  5. #15
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    If you want to learn how to use microcontrollers, use a microcontroller.

    An ardunio is too "high level" to learn anything. The only reason to use one is to get a project done fast. So to get a project done fast the 555 will work faster.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  6. #16
    MySQL Error soundman98's Avatar
    Join Date
    Jan 2008
    Location
    on the border of northern IL/IN
    Posts
    5,820
    thanks for the info ibf!

    Quote Originally Posted by 2k1Toaster View Post
    If you have a 555 dev kit (sounds like it) then find the RC values it is using. You should then be able to determine what frequency it is running at. A couple cents worth of capacitors and resistors and you can change the frequency.
    kind of-- i got really side tracked..

    i started at this thread, breadboarding the linked circuit(not a dev kit, but i have all the components):
    http://www.hidplanet.com/forums/viewtopic.php?t=3962

    in the process, i realized that i required some npn transistors to convert the output pulse to a negative signal so that i could pull down the enable pin on my 12v regulator that drove my custom led board. while at radioshack, i bought the arduino, and it kind of cascaded from there.

    so it started with a "i just need to change the component values to meet my needs"

    doing the math, it looked like i needed a 1nF capacitor to get what i believed i needed-- a 1k hz pulse rate at a 50% duty cycle. i already had all the resistors needed..

    i didn't have a cap like that, and failed to locate one going through frys electronics shelves(that is a hour drive away..)..

    i have multiple packs of assorted resistors, and even picked up a assorted pack of electrolytic caps-- but the lowest they go is 1uF..

    i did try the circuit with lower resistors, but it wasn't enough.

    so that means a mouser/digikey order for a single component(well, i 'could' get more stuff from either, but i've ordered enough for a while)..

    so this adds some frustration..

    so in my trip to radioshack for those npn transistors, i found that they had some arduino's on the shelves, and i kind of realized that i could keep running in circles chasing after analog components to just barely make something work, or i can step into the digital realm, and get something that should be able to meet my specific needs better.

    and if it's not right, it is only a slight code change instead of another drive to a electronics store for a part that may or may not actually be on the shelf...




    edit:

    missed some..

    while i am always pushing to get projects done fast, i've learned that is rarely the best way to get them done right..

    so if it takes years instead of months to do it correctly, i'll do it..

    the arduino just landed in the spare parts bin
    Last edited by soundman98; 01-03-2012 at 11:40 PM.

  7. #17
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by soundman98 View Post
    thanks for the info ibf!



    kind of-- i got really side tracked..

    i started at this thread, breadboarding the linked circuit(not a dev kit, but i have all the components):
    http://www.hidplanet.com/forums/viewtopic.php?t=3962

    in the process, i realized that i required some npn transistors to convert the output pulse to a negative signal so that i could pull down the enable pin on my 12v regulator that drove my custom led board. while at radioshack, i bought the arduino, and it kind of cascaded from there.

    so it started with a "i just need to change the component values to meet my needs"

    doing the math, it looked like i needed a 1nF capacitor to get what i believed i needed-- a 1k hz pulse rate at a 50% duty cycle. i already had all the resistors needed..

    i didn't have a cap like that, and failed to locate one going through frys electronics shelves(that is a hour drive away..)..

    i have multiple packs of assorted resistors, and even picked up a assorted pack of electrolytic caps-- but the lowest they go is 1uF..

    i did try the circuit with lower resistors, but it wasn't enough.

    so that means a mouser/digikey order for a single component(well, i 'could' get more stuff from either, but i've ordered enough for a while)..

    so this adds some frustration..

    so in my trip to radioshack for those npn transistors, i found that they had some arduino's on the shelves, and i kind of realized that i could keep running in circles chasing after analog components to just barely make something work, or i can step into the digital realm, and get something that should be able to meet my specific needs better.

    and if it's not right, it is only a slight code change instead of another drive to a electronics store for a part that may or may not actually be on the shelf...
    I can see your frustration.

    1nF is a common value, you should be able to find one on old circuit board?

    Getting into MCU is a big step though so be ready to take alot of headaches. Once you start, you be glad you done it.
    Last edited by ibf; 01-03-2012 at 11:40 PM.

  8. #18
    MySQL Error soundman98's Avatar
    Join Date
    Jan 2008
    Location
    on the border of northern IL/IN
    Posts
    5,820
    unfortunately, i got rid of my stockpile of old pcb's.. something about "a big mess that i'll never use" ..

    some days, i think i spend just as much time trying to avoid microcontrollers as i would learning them, so i might as well take the dive..


    2k1toaster, what do you mean by "too high level"?
    Last edited by soundman98; 01-03-2012 at 11:45 PM.

  9. #19
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by soundman98 View Post
    unfortunately, i got rid of my stockpile of old pcb's.. something about "a big mess that i'll never use" ..

    some days, i think i spend just as much time trying to avoid microcontrollers as i would learning them, so i might as well take the dive..


    2k1toaster, what do you mean by "too high level"?
    FYI, Mouser does USPS shipments for a single capacitor for only $5. It would probably have been cheaper to buy the correct parts and pay the $5 shipping than buy anything at Radioshack.

    The Arduino language is poor. Writing in C or assembly is much nicer. Using an actual microcontroller that you can poke and peek the registers is the best. And you can also learn the most doing it that way. Learning that you need to write a bit to a register to turn a physical pin on or off is better than "TurnOnPin(1)" or whatever.

    Do you have a breadboard? I would recommend an actual microcontroller development kit if you don't. I personally like the Microchip offerings as I feel their product line is the best and their support is top notch. Also you can get free samples express shipped for free 2-3 times a month. The "best" microcontroller and architecture is fiercely debated, Microchip is just my personal favourite.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  10. #20
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by soundman98 View Post
    unfortunately, i got rid of my stockpile of old pcb's.. something about "a big mess that i'll never use" ..

    some days, i think i spend just as much time trying to avoid microcontrollers as i would learning them, so i might as well take the dive..


    2k1toaster, what do you mean by "too high level"?
    I avoided learning C for a long long time and stuck with pascal and basic until I realised learning C is a step forward. I regret avoiding it for that long. My only knowledge of PIC is how to flash it with the HEX I get off the net. It was only when I bought my first demo kit 7-8 years ago and started flashing LEDs and learnt alot from it. Made a shut down controller, made a tracking device, etc etc and never looked backed ever since. Hell I hate seeing 555s, Ill rather use a PIC + 2 push buttons to control the frequency/PWM = result is accuracy.

    Arduino is more of a learning tools and to get things done quickly without much effort. While they are pretty much capable and can do alot of things but I would never consider them the right tools to learn about microcontroller. They remind me of those paint software where you can choose a background, put a house, a tree add some grass and a sun and call it your work. Maybe not quite like that but I think you get the idea.

    Dont get me wrong they are great tools but they target different audience. If you are that audience and want to get things done quickly then why not.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. OBDII Arduino Shield
    By bwallen in forum Hardware Development
    Replies: 6
    Last Post: 02-14-2012, 12:35 PM
  2. Arduino for OM - In progress
    By jmullan99 in forum OpenMobile
    Replies: 22
    Last Post: 03-13-2011, 05:43 PM
  3. Using Arduino to Auto-dim LED EBY701?
    By stevey500 in forum LCD/Display
    Replies: 29
    Last Post: 08-21-2010, 01:04 AM
  4. Arduino BT CarPC power controller
    By d_mc_a in forum Hardware Development
    Replies: 4
    Last Post: 03-18-2009, 10:20 PM
  5. Replies: 4
    Last Post: 06-08-2008, 11:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •