Shop OBEX P1 Docs P2 Docs Learn Events
Philosophy or Mindset — Parallax Forums

Philosophy or Mindset

bxgirtenbxgirten Posts: 79
edited 2005-06-25 03:45 in General Discussion
I'm somewhat new to Javelin Stamp programming although I've been programming Java since 1997.

Here's my question: Should I eliminate small circuits where I can?

Example: Instead of using a 555 to blink an LED for an alert, just use a Timer object to throttle the LED.


Do I just use the manual circuits when I don't want to overload the processor?

Thanks in advance!

Comments

  • dandreaedandreae Posts: 1,375
    edited 2005-06-24 15:01
    You are correct that you do not need to use a 555 timer to blink an LED.· I believe you can use true/false statements to blink the LED.· Regarding the manual circuits, you need to keep in mind the current that is being sourced and sinked.· Each I/O pin can handle 30mA on source/sink and 60mA per 8 I/O.



    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Tech Support
    dandreae@parallax.com
    [noparse][[/noparse]url]Http://www.parallax.com[noparse][[/noparse]/url]

    ·
  • bxgirtenbxgirten Posts: 79
    edited 2005-06-24 15:17
    Thanks, Dave.

    If you could only see my "Homer Simpson stare". I'm a programmer first and understanding the hardware (circuitry) is where I'm still challenged. What's the gist of your explanation of the current source and sink?

    Thank you for your patience.
  • dandreaedandreae Posts: 1,375
    edited 2005-06-24 16:28
    I was referring to your comment "Do I just use the manual circuits when I don't want to overload the processor?"· I wanted to·inform you··that when connect the Javelin Stamp to a circuit that you were aware of the current specifications.· Some circuits may draw a significant amount of current and could possibly damage your Javelin Stamp.· Whenever you set up a circuit you need to·check the current draw of each device.· I hope this helps· If not, let me know.

    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Tech Support
    dandreae@parallax.com
    [noparse][[/noparse]url]Http://www.parallax.com[noparse][[/noparse]/url]

    ·
  • bxgirtenbxgirten Posts: 79
    edited 2005-06-24 18:03
    Dave,

    Got it! Thanks. You inadvertantly answered another question: how much current is "needed" to drive a circuit. I have learned that it all depends on the components that make up the circuit. This has been a very humbling experience as I have gone from Java stud to bumbling electronics idiot.

    I just remind myself: baby steps, patience, stay the course!
  • KenMKenM Posts: 657
    edited 2005-06-25 03:45
    Good advice to yourself.
    bxgirten said...

    I just remind myself: baby steps, patience, stay the course!
Sign In or Register to comment.