Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,467

    Re: Receive Data From Ethernet Module

    Final Update just to close out the thread. I hate dangling threads.

    Messed around with a lot of different things today and I ended up using Hyperterminal so I could send random data to the...
  2. Replies
    3
    Views
    1,467

    Re: Receive Data From Ethernet Module

    Sayzer,

    Yes another user recommended I add "DEFINE HSER2_CLROERR 1" which seems to fix the one and done issue.

    My issue now appears that the TCP packet is a larger box with my data packet...
  3. Replies
    3
    Views
    1,467

    Receive Data From Ethernet Module

    BACKGROUND:

    I'm using a 18F6520 PIC and a USRIOT Ethernet module (USR-TCP232-T2). This is a nice little module that seems to work very well and is inexpensive ~$12. I've been using this for a...
  4. Replies
    2
    Views
    1,565

    Re: Trying to stay on wifi network

    Henrik,

    It is using DHCP but the lease time is a couple days, so it's maintaining the same IP when it reconnects. The AP just drops it when it sits quiet for a while.

    I ran a test and set up a...
  5. Replies
    2
    Views
    1,565

    Trying to stay on wifi network

    I have a board set up which is attached to an Microchip wifi module MRF24WGOMA. The project is for this to receive a signal.

    On some networks, if it sits too long, the access point kicks it off...
  6. Replies
    4
    Views
    1,564

    Can MCSPX be used with Arduinos?

    I was reading in SERVO magazine an article about using Great Cow Basic compiler to write code in basic for Arduino. Since I'm already familiar with the Pic Basic Pro, I was wondering if this could...
  7. Replies
    2
    Views
    2,104

    Re: Multi timer interrupt question

    I'm trying to start with just getting one timer to work and do the usual "Flash an LED", or actually toggle between 2 LED's so I can tell where in the timing sequence it is. With what I have below,...
  8. Replies
    2
    Views
    2,104

    Multi timer interrupt question

    I'm going to use Darrel Taylor's interrupt program and want to run 2 separate timers. So when input 1 is on the timer starts and runs and can be reset. While it's timing I want to turn different...
  9. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    8,178

    Re: Interrupt 101

    I did a search and think I found some examples, sorry for the premature post.
  10. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    8,178

    Re: Interrupt 101

    I'm finally back looking at this again and would like to use the RX2 pin as the interrupt trigger when a serial string comes in on my 18F6520 chip.
    I'm currently using a hserin command and just...
  11. Replies
    10
    Views
    2,114

    Re: Change a variable to the opposite?

    Doh! Since you posted the truth table, you are correct that I did not RTFM. Before my original post I tried to but didn't know where to look. Now I do and since most of the code uses binary I...
  12. Replies
    10
    Views
    2,114

    Re: Change a variable to the opposite?

    Megahertz,

    If I understand yours correctly, you're raising the value to the power of 15? How did you come up with 15? Is that a function of the 4 bits? So if it is an 8 bit variable what would...
  13. Replies
    10
    Views
    2,114

    Re: Change a variable to the opposite?

    I came up with:

    For I = 0 to 3
    if BCD_In.0[I] = 0 then
    BCD_In.0[I] = 1
    else
    BCD_In.0[I] = 0
    endif
    next I
  14. Replies
    10
    Views
    2,114

    Change a variable to the opposite?

    I want to connect a BCD thumbwheel to my board. However, instead of 1001 = 9 which is what the thumbwheel outputs, I need 0110.

    I'm not sure why the circuitry is like this but I was wondering if...
  15. Replies
    1
    Views
    1,772

    Re: Hserin Array Question

    Okay, so I think I was over thinking this a bit. I'm able to switch my RxDATA1 & 4 to binary so now I can just use:
    hserin [bin RxDATA1, skip 1, dec RxDATA2, dec RxDATA3, bin RxDATA4]
    This seems...
  16. Replies
    1
    Views
    1,772

    Hserin Array Question

    I just started to test out using Hserin.

    I first did a test using

    Hserin [dec Data]
    if Data > 1 then
    LED = 1
    else
    LED = 0
    endif
  17. Replies
    8
    Views
    3,648

    Re: SPI, SCK Pin set up

    I was doing some more reading on the shiftin/shiftout on the forum and it looks like that replaces the hardware pins and you canít use them together. Since I donít need interrupts, it looks like...
  18. Replies
    8
    Views
    3,648

    Re: SPI, SCK Pin set up

    So I'm finally back home and somewhat on a regular schedule and digging back into this. I like the idea of using the shiftin/shiftout command as I could use existing pins and maybe be able to use an...
  19. Replies
    8
    Views
    3,648

    Re: SPI, SCK Pin set up

    Henrik,
    Yes, the pic will be the master and the other device will be the slave. I'm hoping someone has worked this out and can explain how to do this.
    Hylan.
  20. Replies
    8
    Views
    3,648

    Re: SPI, SCK Pin set up

    Also, just found some info on the slave unit. It says it uses (mode 1) for clock phase and polarity. So the SCKline idles high and data is setup on the falling edge of the clock and latched on the...
  21. Replies
    8
    Views
    3,648

    SPI, SCK Pin set up

    I'm using a slave module on a project and so I need to tie my SCK pin on my pic (18F6520) to the other device. I was using the pin originally as a standard variable port.

    I was looking through...
  22. Replies
    4
    Views
    1,402

    Re: 128 bit variable???

    Henrick,

    This is very helpfull. I just got Hyperterminal running so I can see the output. I will begin trying this out.

    Thank you! Thank you!
    Hylan
  23. Replies
    4
    Views
    1,402

    Re: 128 bit variable???

    Henrik,

    I really appreciate it. I haven't used arrays before, so this will be good learning for me.
    So what is the $55 ?
    I sort of understand how the loop is adding to the array in each pass....
  24. Replies
    4
    Views
    1,402

    128 bit variable???

    I'm playing with an encryption module where I want to combine 3 bytes and it will pass 128bits encrypted back. I will then pass this on and reverse the process later. I'm using an 18F6520 chip with...
  25. Thread: Interrupt 101

    by Hylan
    Replies
    16
    Views
    8,178

    Re: Interrupt 101

    Beautiful! I've got the interrupt working properly on the one pin. Now I can start playing with all the other layers and types. I'm sure I will have more questions but at least I've got a starting...
Results 1 to 25 of 62
Page 1 of 3 1 2 3