Search results

  1. chopnhack

    Electronics certification

    Sorry Alex, the translation is not coming across in formatted english that we understand. We gather from your post that you need help. You are trying to decide between two projects. If you have low level of skills, go with the siren project as there are fewer connections to make a mistake with...
  2. chopnhack

    Design Simple microcontroller circuit

    Hi sid, can you elaborate on what specifically happened. You said that you are not able to program the 12F510 - are you having issues getting the chip configured? or getting any output from the chip?
  3. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    Thank you for input NorthGuy - I was having trouble tracing the flaw in the logic. Frankly, I still am, because the desired behavior is for GP5 to stay on while current is above the threshold and to only turn off after it falls below. The rounds around the count variable are such as to prevent...
  4. chopnhack

    Designing a Time Delayed Relay

    Gold! Thanks guys :D I will go there when I get stumped to see how the pro's resolve issues ;)
  5. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    To expand on my bounce theory: I am using my development board as a means to test this code using a pic12f675 (same as intended project). I am using GP4 as an indicator LED to let me know each time the program has cycled through at least 120 times. GP5 is my targeted on/off for my relay, which...
  6. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    LOL, thanks Bob. Looks like that is correct for this pic anyway. Edit - Turns out the compiler auto promotes to the proper type. I got the code to work, but this is something to keep in mind also. At this point I am looking into a potential 'bounce' that is causing the circuit to not perform...
  7. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    On this pic and the pic10LF320 I have not had to switch banks that I am aware of to do anything with them as of yet. I will look through the XC8 compiler manual to see if there is anymore information on this. I have seen issues before mentioned on various web searches of pic and pic programming...
  8. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    Good thoughts Adam, I looked through the manual and it says that the RP0 register is only used for direct addressing. I have accessed the ADC before successfully with directly addressing it. As you mentioned this pic only has two banks, one for the GPR and one for the SFR's. On another forum...
  9. chopnhack

    Help with ADC conversion registers in PIC or possible logic in code flaw

    Hi all I am trying to get a rather simple program cobbled together to run some tests on my run delay board. Since that thread is a bit long and was mostly dedicated to producing the board as well as a running commentary on the project, I will break this problem out as it can stand alone. Can...
  10. chopnhack

    LM317 2N3055 Variable Circuit Problems

    Keep at it Heavy :-), the water's fine but deep so keep swimming. It is really important to put some time in to learn the background and basics of what you are dealing with otherwise it becomes too difficult to grasp and apply to your next project. I feel like I come up against similar questions...
  11. chopnhack

    Designing a Time Delayed Relay

    :DLOL:D Chris, this may be true, but I ask myself this.... "Do you enjoy eating?" and since the answer is yes, I persevere. Coding may not always be fun, but its necessary to get these little devices to do what we want ;)
  12. chopnhack

    Designing a Time Delayed Relay

    LoL, thanks Chris. I reviewed my code last night and intend to add some lines to enable the GP4 led on the pic dev board to light and clear each time my counter hits 128 to try and see why GP5 comes on and stays lit and to see if I am cycling through the program (and perhaps how fast that...
  13. chopnhack

    Designing a Time Delayed Relay

    Back to software.. I have a test rig set up now to make life easier :D yes, very ghetto, but it works and keeps things safe. @hevans1944 - check it out Hop :D :cool::D:cool::D I used the wife's hair dryer plugged into that outlet in the test rig to give me a 4A draw through the run...
  14. chopnhack

    Designing a Time Delayed Relay

    @CDRIVE - that is brilliant Chris, well done. I wish I had thought of that!! I will have to pickup a soldering gun on the cheap to make into your desoldering idea ;) Success, board saved, new transistor fitted into place. I did a little foldma-gami on the pins :rolleyes: and it popped right in...
  15. chopnhack

    Designing a Time Delayed Relay

    Believe it or not, it took three hours to desolder three legs.... I had a solder sucker, solder wick, flux gel and had to use them all as well as some other tricks like retinning the area, using another lead to super heat and push through, etc. I give much credit to the board manufacturer, the...
  16. chopnhack

    Designing a Time Delayed Relay

    Thanks Chris, I think I will follow the simple route and unsolder the existing part and fit in a new one with the legs bent to make it to the crossed holes. A little bending with pliers and perhaps some heat shrink tube for added protection and we're off again ;)
  17. chopnhack

    Designing a Time Delayed Relay

    Back on the hardware side of things, I successfully energized the circuit with no magic smoke! ;) I was able to verify that the 7805 was doing its job via the J1 and J2 pins to a LED. LED lights when power is on. Only odd thing I noticed is that as soon as I powered up, the relay clicked... I...
  18. chopnhack

    Designing a Time Delayed Relay

    Step 1, LOL, thanks Hop!! I would love to probe the Allegro, but in reality, I think I will have to rely on good enough - the chip is a tiny soic and I really don't want to mess with trying to solder on test leads. If I must I will, but I think by going with the nameplate ratings, I should get...
  19. chopnhack

    Designing a Time Delayed Relay

    Back to basics.... So that is just what I did, I was getting lost in the details, so this was quite helpful to get back on track, thanks! The code seems to function, if you keep in mind the parameters of what should be entered - values along a sinusoidal wave. For instance, at Vcc 2.5v with a...
  20. chopnhack

    Designing a Time Delayed Relay

    :DEnvious:D This is what I have come up with previous to your post: What I need to work on is rolling up the last statement that turns off the relay to be in one continuous loop with the rest of the program. int main(void) { // SET UP int AN3_AD_IN_110; // variable...
Top