Recent content by curry87

  1. C

    Some help with i2c ?

    Ive got a atmega 328 as the master and a 28x2 as the slave set up using the i2c protocol.Im able to send data from the master(atmega 328) to the slave(28x2) just fine by checking the hi2cflag and reading from the scratch pad .The problem im having is trying to work out how to get the slave to...
  2. C

    Axe033 date/time problem ?

    Hi ive set up an Axe033 with an 18m2 as per instructions.I have two problems though.Ok i upload and run the first code once to set the time and date and then upload and run the second code which constantly update the display.It displays the correct date/time for a while and then decides to reset...
  3. C

    Axe 033 problems help needed ?

    Hi, I bought a 16x2 lcd(axe033) few months ago decided to assemble it today but have run into some problems.Firstly its configured for serial not i2c and 5v or 6v supply, RB = 5.6ohm.The problem is i can send it serial data all day and nothing gets displayed on the display it just stays blank...
  4. C

    GLCD Module question ?

    Hi i have some questions about the Serial Graphic LCD (GLCD) Module or LED042 that tech supplies sell. After glimpsing briefly though the manuel when using it to display a bitmap it says "you will require GLICTalk_K software to perform the download" am i safe in saying this comes in the form...
  5. C

    Camera interface.

    Hi looking for an easy and very cheap camera that will interface with a picaxe without too many wires so i can set up a motion activated camera that records for x amount time when triggered.The picaxe basically automates the operation of the camera that a human would.It cant be a webcam and...
  6. C

    28x2 problems ?

    Ive gotta project going which is a remote motion detector which should light a led when motion is detector but doesn't .Whats wrong with the code highlighted in the "handlepirdetection" function it should flash the led but doesn't.Ive tested the code in another slot doesn't work even though the...
  7. C

    Math help ?

    I know it wasn't long ago since i created a thread about this before but am really scratching my head trying to understand how to do decimals with a picaxe. Basically trying to calculate the voltage on a adc input from a adc value but am stuck on how to do it when only whole numbers are not...
  8. C

    Designing programs ?

    Looking for some general advice on how best to design big complicated picaxe programs ?I know there's pseudocode but when programs get so big and complicated that you would need a piece of paper a mile long to write them down. What design processes do you use ?
  9. C

    Scratchpad code problem ?

    For some reason the simulator wont display the value 9999 of constant "n" in the scratch pad location view it works fine when n <= 255 but once n becomes >255 nothing shows.How do i store a constant value greater than 255 in the scratchpad ? #picaxe 28x2 symbol n = 9999 main: put 2, n 'put...
  10. C

    Decimal and picaxe help ?

    Im trying to use a 18m2 to calc the voltage at its power rail and display it to a decimal point the problem is how to multiply a number by a decimal. main: calibadc b0 b1 = 255 /b0 * '1.024v internal voltage reference for a 18m2 sertxd("voltage is ",#b1,".",#b3,"volts",13,10) 'here how...
  11. C

    Axe033 lcd help ?

    Looking for some ideas on what i could do to solve the following problem in this example code.When the second lot of text is drawn to the firstline of the lcd it still has existing characters from the first write operation now what would be the best way around this that doesn't slow the lcd down...
  12. C

    Finding ndigits in a number ?

    How do i do this say if i have a number in location w0 for example and i want to know how many digits make up that number in that location if it varies between 1 and 5 digits?
  13. C

    Peek/poke commands ?

    If a poke command is used to store a byte in the alloted fsr location will that byte remain unchanged unless "purposely changed" though the duration of a program i mean will the byte be treated just like a general variable b0,b1 etc ?
  14. C

    Low power mode question ?

    Whats the expected sleep current on the following picaxe when powered by 4v the 18x,18m2 and the 28x2 ?
  15. C

    Quick 18x question regarding eeprom.

    Does the 18x have its data memory shared with program memory according the manuel 2 the 18m,18m2 does but there is no mention about the 18x is it safe assume it does.
Top