Search results

  1. S

    Serial OLED & IRR.

    Hi all, happy New Year. I am trying to run an OLED, AXE131Y, as a clock using a DS1307 RTC from a 28M2 with the ability to change the time via an IR remote. The project works fine as a clock until I include the irin C.1, infravalue ; read input C.1 into infravalue line, then the program hangs...
  2. S

    OLED serial code.

    Hi all. I am using an AXE13Y that is fed a message from an 08M2 to display a SIRC code received via infrared. Now I'm not proud of this but my code looks like: ' This program loads into an 08M2 and takes an infrared input on pin 6 then outouts ' it's SIRC value to on OLED conected to pin 7...
  3. S

    POV Clock.

    I work as a Science and Engineering Ambassador running an afterschool club with a small group of children. I saw a POV clock on YouTube and though what a wonderful project for my group of eleven year olds. After a few iterations I arrived at the current design, the wand or disc is circular for...
  4. S

    Printing programs.

    Hi all. Does anyone else have trouble printing directly from PE6, all my programs come out containing 'Structured gibberish.' All is fine if I output to PDF and then print though!!!! Thanks.
  5. S

    DS1307 & i2c

    Hi all. Has PE6 changed the way it deals with i2c code? I thought I had it cracked last year but have just come to use some code I wrote back then and now it won't work! I have changed to 'Read' & 'Write' commands to HI2COUT & HI2CIN but to no avail. Thanks in advance. #picaxe 40X2...
  6. S

    Shift register?

    Hi all. I have read quite a bit on POV displays and most of them use a shift register. Reading on LED cubes lastnight and low and behold the mention of shift registers cropped up again. Thinking that these shift register things must be a good thing I researched them in an effort to workout how...
  7. S

    irin & Anything else!!!!!

    Hi all. I am trying to use 'setint' triggered by a Hall effect switch, and 'irin' in the same program. Each individual part of the program works on it's own, but when I put the two together only 'irin' works! Can these two be made to work together, will 'irin' allow anything else to run at...
  8. S

    Propeller Clock.

    Hi all. I have been working on a propeller clock for a few months now and I'am almost there. The problem now is that as the speed of the motor varies so does the spacing of the display, too slow and there is a gap at the end of the display, too fast and the display isn't complete. Each...
  9. S

    Hall effect and interupt.

    Hi all. I am in the process of making a POV display, a rotating Hall effect switch triggers the sequence when it passes by a magnet. The code checks the state of the Hall input using an 'If' statement at the start of a loop, the problem is that unless the Hall switch is triggered at the same...
  10. S

    08M2 motor drive.

    Hi all. I am using an 08M2 to drive a motor through a FET with PWM. I started out using two seperate power supplies, 4.5v for the picaxe, 6v for the motor, but have modified the circuit using a voltage regulator so only one power supply is needed. The problem now is that the picaxe appears to...
  11. S

    08 M2 pin 7 as input.

    Hi all. I'm having some difficulty reading a button press on input 7 of an 08X2. This pin also serves as the serial in for programming, is there a command to reconfigure this pin? Thanks. main: ' This is the program for the 08M2 that transmits IR codes. 'dirs =%00000000 All pins inputs...
  12. S

    08M2 Motor control.

    Hi all. I'm trying to control the speed of a motor by counting the N° of revs per second, using a Hall effect switch. The problem I'm having is that the AND condition appears not to be working on the IF THEN ELSE line. I need this condition so that the program doesn't count the same pulse more...
  13. S

    PWM motor speed control.

    Hi all. I have replaced the BC108 with a FET of type IRF520, and added an LED to show that the PWM is working. The LED dims & brightens as the pot is turned but the motor runs at a constant speed, the FET appears to do nothing! Some examples I've seen have resistor before the gate, do I need...
  14. S

    DS1307

    Hi all. I am trying to use a DS1307 RTC with an 18M2 picaxe. I've read and re-read the data sheet and tutorial but must be missing something fundamental as my code appears not to work. Here it is: #picaxe 18M2 #no_data symbol seconds = b0 symbol mins = b1 symbol hours = b2 symbol day = b3...
  15. S

    PWM motor speed control.

    Hi all. I'm having a few problems controling a motor directly from a 08M2. Ultimately I intend to run the motor through a L293D but I'm trying to get the general jist of how it works first. My current code looks like this: #picaxe 08M2 #no_data pwmout 2,99,400 'pwm acts on pin 2 Main...
  16. S

    08M2 Simulation.

    Hi all. I am trying to simulate a program for an 08M2 but cannot find this chip in the drop down. 08 & 08M are there but not the 08M2. My simulator version is 1.1.0 Thanks.
  17. S

    Hall switch.

    I have for some time been trying to get an 18M2 to respond to the A1120EUA-T Hall effect switch with no success. I have tried using count and pulsin to measure the frequency on the device but couldn't get this to work. My latest attempt below reads the port directly but doesn't work either. Any...
  18. S

    L293 or L298

    Hi all. I'm hoping to design and build a line follower type robot and can't decide on which driver to use, the L293 or L298. I intend using two DC motors and require forward and reverse with pwm speed control. I have read up on previous posts but I'm still unsure, can anyone advise please...
  19. S

    Servo driver.

    Hi all. I'm trying to control the position of a r/c servo using a variable resistor and an 18M2, my code looks like this: Symbol SERVO1 =c.0 main: readadc c.1, b1 pulsout SERVO1,b1 goto main Generally it appears to work but the servo is hunting and jittering quit a bit, anybody any ideas...
  20. S

    Reading from a pot.

    Hi all. I am trying to read an analogue value from a variable resistor, my code looks like this and simulates fine: main: readadc 0, b1 'b1 =21 if b1 > 20 then high 0 else low 0 end if goto main My question is this, which physical pin of my 18M do I read from, the manual appears...
Top