Recent content by TheChief

  1. T

    goto within if loop question

    I am running into some difficulty with the structure of the below piece of code, I have simplified the below as much as I can as an example of what I am attempting in a slightly more complex scenario. Basically what I want to happen is for eg. in this example below is for the "send" subroutine...
  2. T

    Seconds to next half hour from epoch

    I'm trying to figure out a way of getting the number of seconds to the next half hour from a UNIX/epoch timestamp. For example in epoch the below is the time in seconds from 1 Jan 1970: 1357842530 which equates to Thu, 10 Jan 2013 18:28:50 GMT Currently the epoch timestamp is stored in byte...
  3. T

    Effect of interrupt on HSerOut/HSerIn

    I think I saw reference somewhere on the effect of triggering an interrupt while a HSerOut or HSerin is in progress. Is there any info on this in the manuals? Will the trigger of an interrupt abort a HSerOut mid transfer, conversely will the triggering of an interrupt effect a HSerIn background...
  4. T

    USB interface

    Ya I think I'll have to abandon this project. The board does have a Wavecom main GSM module and the PL-2302HX USB module. That smt stuff is a bit small to start tinkering around with.
  5. T

    USB interface

    I'm wondering is it as straight forward as I imagine or is there some gotcha that I may be overlooking. What I want to do is interface a PICAXE with a USB device. I can successfully connect to the device via a terminal and issue AT commands from my computer. Is it simply a matter of butchering...
  6. T

    20X2 Parallel Task

    I know that the X2 range does not support parallel processing. Im wondering is there a way I can work around this for a particular situation. What I want to do is set a timer and then count pulses in on a pin for a period. Once the number of pulses have been counted for that period I want to...
  7. T

    timer question

    Simple question but I must be missing out on some basic theory. I have a 20x2 and want to display the value of the "timer" command for debug purposes. I have tried using "timer" as a variable but I get no value returned. I see if Issue the debug command I can see a variable named timer3. I'm...
  8. T

    Process background HSERIN data

    Hi, I have a noob question, basically I am issuing a command to an AT interface and wish to wait on a returned value before continuing with the rest of the program. I seem to be able to process the first part correctly ie. in the "wifly1" subroutine but after it enters the "wifly2" subroutine...
  9. T

    Picaxe28X2 to WiFly to COSM , anyone?

    Ok, I have finally got this working reasonably well, It works mostly however at times it just seems to hang after it enters command mode as if perhaps the PICAXE has missed the return "CMD" signal. I can probably overcome this by adding a time out and breaking out of the loop? EDIT: I have...
  10. T

    Picaxe28X2 to WiFly to COSM , anyone?

    Thanks Technical for your response, I have tried something like you suggested but using a qualifier on the serin which I think is correct if I want to listen for a specific response. I'm not sure now is my issue the fact that the Wifly is responding too quickly for the Picaxe, ie. that it...
  11. T

    Picaxe28X2 to WiFly to COSM , anyone?

    Looks like I'm beat on this for the moment there must be something else going on in the Wifly that I don't understand. I took your advise and rand the Picaxe on the same 3v3 rail as the Wifly, also I used an 10k pull down on the data pin. See attached scope traces from both N and T serout.
  12. T

    Picaxe28X2 to WiFly to COSM , anyone?

    Thanks for your response, just to clarify I am attempting to connect directly to the Wifly unit from the Picaxe I don't have an FTDI chip in the mix here as is on the adaptor zigbee board. See attached photos which show that now I am just connecting Vcc Gnd and take the serial connection from...
  13. T

    Ethernet

    I'm sure this question may have been asked before but I'm wondering if there is any way of interfacing a Picaxe so that it would allow basic tcp/ip connectivity. Essentially what I wish to do is push data to a server via maybe FTP. I know there are embedded devices available that can do this but...
  14. T

    Maximum serial baud rate?

    I can't seem to find any info in the docs about the maximum baud rates for chips. If anyone could point me in the right direction? More specifically I need to know do any chips support 5700bps serial. If not is it possible to get some buffer device to mesh them?
  15. T

    Simple serial out issue to computer terminal

    Hi please excuse my basic question but I'm new to this. I currently have 2 zigbee modules setup in AT mode and I have successfully got them to communicate via terminals eg. minicom I am now trying to connect one of these modules directly to a 08m2 and send a piece of text along with a variable...
Top