Search results

  1. S

    HI2CSETUP error on Address=0

    Is there a bug or restriction in the HI2CSetup command that means address $00 cant be used? When I use $00 the code seems to reset. I am trying to use I2C communication to the AS3935 Franklin Lightning module. In the code below, when I set the address=0 for the I2C communication, the code...
  2. S

    AS3935 Franklin Lightning Sensor

    https://www.tindie.com/products/TAUTIC/as3935-lightning-sensor-board/ I just received mine, has anyone played with this yet? Just to whet your appetite this is I2C or SPI, 2.4 to 5V and estimates leading edge of a storm lightning from 40km to 1km in 14 steps. I will post some code when i have it...
  3. S

    Picaxe28X2 to WiFly to COSM , anyone?

    I have a project that i would like you use the WiFly by Roving Networks. Has anyone got a basic working example using any picaxe chip connecting to a WiFly and then to the intertubes? I want to push weather data to COSM.
  4. S

    Adding Memory for working variables via 23K256 or 23K640 SRAM

    I am providing this as a working example of accessing the Microchip 23K256 SRAM chip using a 28X2 Picaxe chip. This chip has 32768 x 8bit Bytes available. I had to slow down the SPI but that might be due to the wiring using long leads etc. 'Written 26-JUL-2012 to 28X2 'Written/Modified by...
  5. S

    BMP085 pressure and temperature readings via a 28X2

    This is a working solution. I am using the BMP085 to provide pressure data in a remote weather station setup. I have used the Q16.16 Arithmetic Module by Jeremy Leach and a paper Floating Point Calculations for the BMP085 The readings were a little variable so I used the oversampling to...
  6. S

    OhmArt latest comic PicAxe Famliy

    OhmArt has his latest offering, a tribute to the Picaxe family. http://www.zazzle.com.au/the_picaxe_family_tree_mousepad-144422375186978385
  7. S

    Serial in the cold

    Here in Australia, middle of winter and it is getting cold in the shed, about 12deg C. Too cold for a Cleverwatts meter to talk at 57600 baud to a Picaxe 28X2 with a 8Mhz resonator. As soon as the shed temperature comes back up above 12 deg C, communications are all good again. How do I auto...
  8. S

    18X and ShiftOut

    A quick question, does the 18X support shiftout, spiout? I get a syntax error when I try it. From reading the forum, it seems to be the case, I did want a definit answer, before I go bit-banging. Oh, the manual does say YES, well, it has the 18X bolded on the manual pages for SHIFTOUT &...
  9. S

    DS3234 RTC Code

    Here is a give-back to the forum. I have the code for setting and reading a DS3234 RTC chip that come on a break out board from the land of SparkFun. Here is a basic working version. Enjoy. #PICAXE 28X2 #terminal 19200 #no_data #no_table SYMBOL StdFreq = M16 'Has 4MHz Xtal...
  10. S

    Editot 5.3.6 and Datalink

    Editor 5.3.6 and Datalink I installed the version 5.3.6 , upgrading from 5.3.3 and every time I ran the software, the data-link (F9) dialog kept popping up. I could not stop it, every second I closed it then it was back after 1 to 2 seconds. I did have a connected and running PixAce28X2 that...
  11. S

    18X and setint to count pulses

    I have a 18X chip and i want to count the pulses per minute. It should be in the range on about 20 per minute. The problem is, the main loop seems to be not running. I started with the code from the manual SETINT section. I think I should see this X.....Count=1 .........Count=2 ..Count=3...
  12. S

    Multi-slot code

    In a Picaxe28X2, is the a way of programming all 4 slots automatically? If not, can this option be added to the editor? Maybe via directive in the SLOT0 code, to program slots 1,2,3 before doing slot 0. Cheers
  13. S

    PicAxe controlled voltage output required

    I need to stun a fish ... ok, let me back up a bit, I have a request from a PHD student who is working with Zebra fish and he needs to provide a stimulation voltage to make the fish do something sciencey ... Anyway the Picaxe stuff is easy, but what I can not think of is a neat way to provide...
  14. S

    14M and D18B20

    Can someone tell me which pins on the 14M can be used for readtemp command when hooked to the lovely D18B20 temperature sensor? What is the syntax to use them? READTEMP 1, B0 As for the 14M2, I assume it will work on all the pins, C.0 to C.5 and B.0 to B.5 READTEMP B.1 B0 Thanks
  15. S

    Slot swappies and hserptr

    I have a 28X2 project that is using SLOT 1 and SLOT 2. SLOT 1 parses the scratchpad, looking for data in a XML stream which is typically 200 characters long. The XML is generated by a CleverWatts power monitor and comes is at 57600. I am capturing via back ground High Speed Serial which does the...
  16. S

    OpenLog Commands and file creation

    References... http://wiki.github.com/nseidle/OpenLog/command-set http://wiki.github.com/nseidle/OpenLog/datasheet I have an OpenLog device connected to a Picaxe28X2. I am using Pins C.1 and C.2 . I have a 2GB uSD card installed. I am trying to create a file name in the form yyymmdd.txt. Seems...
  17. S

    Serin receiving into scratchpad on 28X1

    No Problem here but an example for others. I have two serial devices attached to a 28Xx chip and I wanted to have both data streams end up in the scratchpad. With only one HSSERIN (pin 18) I tried the following with good results.;) I am using the same pin 18 as the HSSERIN here for testing...
  18. S

    FTDI USB to PicAxe 08M (IT WORKS)

    I have a good news story to share and document for the future. I bought the really cool USB to RS232 breakout from SparkFun and it uses the FT232RL USB to serial IC. http://www.sparkfun.com/commerce/product_info.php?products_id=9115 From the breakout board, I wired the GND, 5V, TX, and RX to my...
  19. S

    Parsing NMEA $GPGGA $GPRMC with a 28X1 to display TIME

    Parsing GPS NMEA $GPGGA $GPRMC with a 28X1 to display TIME For those wanting a start on how to read NMEA strings from a GPS, I found this works well enough. It does not get every string, but it will get every second or third string. If you remove the comments the sertxd's you can see which...
  20. S

    Baudmode 9600 for 08M

    Can I get a stock 08M to serout at 9600? In the manual, Serout page suggests that not all modes operate on all chips but does not mention what ones do. Where is that infomation? I remember way back, a comment that on a 08M, T300 is used for T4800 and that combined with a SetFreq m8 would do the...
Top