Search results

  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.
  16. C

    Options for increasing program memory 28x2 ?

    Say for example you have a project which uses a 28x2 you run out of all slots/program space and estimate you need at least twice the amount of slots in total so 8x slots 4096 bytes. What options are there available for increasing program memory in a single 28x2 without it being overly...
  17. C

    28x2 adc confussion ?

    Im a little confused about using readadc on 28x2 what pin is the adc value read from a2 pin 4,b2 pin 23 or c2 pin 13 ? symbol adval1 = 2 readadc adcval,b0 How do i adjust the code to do the following read in adc value from these pins ? symbol adval1 = 'from a2 pin 4 symbol adcval2...
  18. C

    Picaxe cutoff circuit ?

    Looking for a circuit that will do the following a picaxe monitors the voltage supplied to it when it drops to a certain level it triggers a switch that will cut the power off to it self and other devices and stay that way until reset.The low voltage cutoff circuit must use under 1ma or better...
  19. C

    Voltage references ?

    Looking for a low current voltage reference that will give a fixed reference voltage but not draw any more than 100 micro amperes so i can roughly calculate the picaxe voltage ?
  20. C

    Program size question ?

    Recently emailed tech supplies about program size between 28x1 vs 28x2 they said the 28x1 has 2048 bytes but in the editor for the 28x1 it says 4096 bytes when i click syntax test which one is true little confussed? Question about the 28x2 can all 4 program slots be combined into one big...
Top