How do you come up with your own circuit?

Discussion in 'General Electronics Chat' started by stanman11, Sep 29, 2011.

  1. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    I want to make my own circuit but im not sure exactly where to begin.
    How do i know weather to put the resistor there or capacitor there or diode way over wonder?

    If I want my circuit to do something specific like control a servo with an automatic reset Where would I look?
     
  2. #12

    Expert

    Nov 30, 2010
    16,343
    6,828
    Start with exactly what you want to accomplish. That will point to the methods, materials, and precision you will need to use.

    For a servo with a reset, get the specifications of the servo and design something to drive it. When you get done with that, you will understand the circuit well enough to know exactly where is the best place to install the reset button.
     
  3. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    I have a traxxas servo and 10f200 PIC's with a china based programmer.
    From there im lost. I guess first i should study the chips data sheet?
     
  4. #12

    Expert

    Nov 30, 2010
    16,343
    6,828
    Study the chip's datasheet and you will probably find that a logic chip can not drive a servo. Get the specifications for the servo and design something that has enough power to drive it. When you get done with that, you will understand the circuit well enough to see how to make a reset.
     
  5. colinb

    Active Member

    Jun 15, 2011
    351
    35
    Do you know how write programs for a PIC? If not, make that your first task. Get a “Hello, World” program of some sort working on the PIC. For instance, make the classic “blinking LED” application. Get very familiar with the PIC. I don't know much about PICs (I'm an AVR/ARM guy mostly), but I think the 10F series might not support C, only assembly language?

    Then after you have some basic test programs of the PIC working, you can set about controlling the Hobby servos are controlled using a pulse-width modulation (PWM) signal, so learn about PWM and servo control. You'll have to write a PIC program to generate pulses of the proper length, at the proper interval to control the servo.

    Play and have fun!
     
  6. colinb

    Active Member

    Jun 15, 2011
    351
    35
    No, that's not true. The servo will have power (e.g., +6 V), ground, and signal connections. The PIC would only drive the signal connection, which takes nearly no current. The servo contains the electronics to read the signal and use the power input to drive the motor itself.
     
  7. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    so this 10f200 wont work?
     
  8. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    Oh sounds easy :(
     
  9. colinb

    Active Member

    Jun 15, 2011
    351
    35
    You might want to start simpler, say with an Arduino where you can program at a higher level and follow some tutorials. Arduino servo tutorial.
     
  10. #12

    Expert

    Nov 30, 2010
    16,343
    6,828
    I was thinking of a completely different kind of servo. Sorry about that.
     
  11. wmodavis

    Well-Known Member

    Oct 23, 2010
    737
    150
    And.... If you want to know "weather to ..." check the weather reports.
     
  12. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    So far good advice, nothing I would argue with.

    Part of it is experience, but as has been mentioned, define what you want to do. The better and tighter the definition, the more likely you can reach the point you want to go.
     
  13. oldtech33709

    New Member

    Sep 24, 2011
    26
    0
    Try designing to a "black box" . This allows you to start with a somewhat vague idea. Start with a single block. You only need an input, output and a power source (battery,wall outlet, etc). Work on defining these three things and you might have project.
     
  14. stanman11

    Thread Starter Member

    Nov 23, 2010
    230
    4
    im trying to write a servo command

    center to left center to right.


    What should the program codes look like when finished?
     
Loading...