Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: sccoupe; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: A way to remove lookup tables and calculate those values?

    I tried using sin/cos calculations and it resulted in the same speed or maybe slightly slower. I am only using 9600 baud out. This may be where im hanging up. I didnt figure that it would be the...
  2. Re: A way to remove lookup tables and calculate those values?

    I just tried crunching the 4 seperate 8 bit lookups with a single 32 bit lookup2 and it didnt seem to help the speed at all.

    LOOKUP2 z, [$00000000, $0033003C, $008801A1, $01FF01FF], x1
    SEROUT...
  3. A way to remove lookup tables and calculate those values?

    I have a number of lookup tabes to represent a number of plot points for a serial graphics controller. These plotting points are the center points of circles that are drawn. The center points are...
  4. Replies
    2
    Views
    3,730

    Re: Running led blink at 64mhz with 18f26k22.

    Got it!



    define OSC 64
    DEFINE OSCCAL_1K 1
    OSCCON=%01110000
    OSCTUNE=%11000000
    LED VAR PORTB.0
  5. Replies
    2
    Views
    3,730

    Running led blink at 64mhz with 18f26k22.

    I have used the 12f628 for a long time and have moved on to the 18f26k22 for more horsepower. I am using the code below to blink an LED, but it blinks far slower than 500ms. In the programmer...
  6. Will these do for the capacitor situation? Cap...

    Will these do for the capacitor situation?

    Cap 10uf

    Cap .1uf


    If these are not used at all, how does that effect a pic that is being used to count rpm pulses?

    Thanks
  7. Thanks Charles. Here is the correct schematic....

    Thanks Charles. Here is the correct schematic. The first one was misdrawn from what I wired. Does this correctly address #2? On issue #1, do I need two seperate sets of caps for the regulator and the...
  8. Is this simple schematic electrically correct?

    Is the attached schematic electrically correct for an automotive environment? Press the switch and the LED comes on. Im doing some testing and this works but is it correct? Anything out of wack or...
  9. Replies
    2
    Views
    3,503

    Measuring p-p of a 1.5v to 12v ac signal?

    I am using a pic12f675 to measure the duration of a prox switch to determine rpm. The signal is a sine wave that increases in frequency and voltage with rpm. I have been running this signal right...
  10. I realize that the rpm is not constant, but im...

    I realize that the rpm is not constant, but im not saving it all of the time in any case. For instance, If I save a PULIN value for 400rpm and then change it to 6000rpm and reboot the pic, it may...
  11. Does that mean that I need to have a 10ms pause...

    Does that mean that I need to have a 10ms pause after the write instruction to make it wqork correctly?

    Ill do some research on what you mean by PULSIN 'swing'.

    For this part, I want to run an...
  12. READ WRITE not working consistantly on 12f675

    I am using a 12f675 and the read write commands and is doesnt seem consistant the way that they work.

    At the beginning of the program I use the following to grab the values.



    read 0, delay...
  13. Replies
    0
    Views
    1,829

    12f675 at 19200 without serin2?

    Without serin2 in the 12f series, it seems that the way to get 19200 baud from a 12f675 with an 8mhz resinator is the tell the chip its running at 4mhz and use 9600 baud? Is this correct or am i...
  14. Replies
    1
    Views
    4,871

    12F683 vs 12F675.

    I am currently using a 12F675 with external 8mhz resinator. Is the precision crystal in the 12F683 as good as the external that im using with the 12F675 as far as accuracy and temperature changes or...
  15. Replies
    1
    Views
    2,503

    Accurate serin usage?

    I have a project running with a 12f675 that ive been working on for a while using an rs232 input. My problem is that it isnt totally reliable, close, but not perfect. I have a 4 digit string coming...
  16. Replies
    4
    Views
    6,425

    Curious as to why I need the use of the charge...

    Curious as to why I need the use of the charge pumps if im not sending anything back to the PC, only reading from. If im not converting "to" rs232, why do I need them, just a need of the chip design?...
  17. Replies
    4
    Views
    6,425

    MAX232 minumum connections.

    If a max232 chip is only used to convert rs232 to ttl are only 4 pins used? I am sending serial from a pc to a pic with no tx from the pic. The datasheet says that the external capacitors are used...
  18. Replies
    2
    Views
    4,154

    Benefits of hardware usart over software?

    I was using a 12f675 in a project and after realizing i needed a max232 chip to get to rs232 voltage levels I decided to get some 16f688's that have a hardware usart. Much to my suprise, it also...
  19. Replies
    15
    Views
    10,602

    I just got this thing working. The interference...

    I just got this thing working. The interference that I was looking for wasnt there. I hooked up the scope looking for noise and realized that I wasnt looking at a TTL signal. After some research on...
  20. Replies
    15
    Views
    10,602

    Ok, with your help and a little from the data...

    Ok, with your help and a little from the data sheet ;), I ordered some 3 pin resonators at 8mhz and they work fine. Everything works at 9600 baud and all. I hook this project up to my car (ignition...
  21. Replies
    15
    Views
    10,602

    Hmmmm, will that also work for serin without a...

    Hmmmm, will that also work for serin without a max chip?


    What kinda of capacitors do I need for the external crystal? What pins to hook them up to and what code tells the chip what pins the...
  22. Replies
    15
    Views
    10,602

    Ok, everthing is working great at 2400 baud. The...

    Ok, everthing is working great at 2400 baud. The display and everything is working. Now I need to bump it up to 9600 baud. I read that this requires a faster crystal. Does a standard 2 wire crystal...
  23. Replies
    15
    Views
    10,602

    Ok, I checked the 03ff location on the 6...

    Ok, I checked the 03ff location on the 6 different chips that im messing with and two of them have 3fff in that location and as my luck would have it as I switched chips in and out, these are the...
  24. Replies
    15
    Views
    10,602

    I gave that a try and just got a different...

    I gave that a try and just got a different unknown character in hyperterm. I added DEFINE OSCCAL_1K 1 and got an even different result. I read that the 12f675 internal osc may need calibrated. I...
  25. Replies
    15
    Views
    10,602

    Doing some more testing and decided to try out...

    Doing some more testing and decided to try out sending serial from the 12f675 to hyperterm and get wierd results as well. Its like its not sending the right ascii codes. For instance if I send a 1...
Results 1 to 25 of 29
Page 1 of 2 1 2