Search results

  1. M

    Component values for op amp voltmeter?

    Hi, I'm trying to build a voltmeter which will be part of a larger project to SMS my car battery voltage daily so I know when my battery is going flat (classic car stored away from home). I'm having success using the following basic circuit and code but would like to learn how to use op amps...
  2. M

    Stepper motor with Easy Driver, maximum speed?

    Hi, I'm driving a stepper motor using an Easy Driver v4.4 and generating the required square wave running a Picaxe 14M2 at 32mhz. I can't seem to get a square wave more than about 1350hz as I'm measuring that my loop code takes 370uS to complete, therefore the low part of the wave can't be any...
  3. M

    DYP-ME007 Ultrasonic sensor not working, but scopes correctly?

    Hi, As in the title, I have bought a waterproof ultrasonic sensor from China on eBay (linky) which I am trying to get working with my 14m2 Picaxe: ' Sample program for my DYP-ME007Y ultrasonic range finder #picaxe 14m2 setfreq m16 pause 400 ' pause 100ms for frequency to...
  4. M

    Deciphering IR codes automatically... has it been done?

    Hi, As some of you may be aware I have recently been playing around with NEC remote codes and have successfully decoded and replicated a remote control, this was a major project for me, made harder by having to teach myself how to use an oscilloscope as I went along! After doing a lot of...
  5. M

    Decoding my IR remote control

    Hi, I've been reading up on decoding remote controls for a project I'm working on, I've not done anything like this before so please bear with me! I bought an AXE040 and am scoping pin 1 of the LED020 receiver to see if I can decode (and replicate) a single button of a non-Sony remote control...
  6. M

    HSerin background receive handling question

    Hi, I'm starting to get the hang of serial coms using my 14m2 chip, but now I'm trying to grasp the concept of background receive on a 20x2. Before I go ahead and spend weeks writing a program, does my code below look like a good starting point, or am I asking for trouble with data loss at...
  7. M

    serout shows strange value

    Hi, I'm 2 days into learning about serial coms, starting by interfacing 2 Picaxe 14M2 chips on a data bus. I am doing quite well (in a controlled environment I get all the data transmitted by timing it right) but I have a problem when I try to use a qualifier. When I do: b1 = 50 b2 = 60 b3 =...
  8. M

    How to loop through variables?

    Hi, I want to loop through some variables, b0 to b5 and output them to an LCD as a string. I've tried all sorts to do it, I can't work out how to reference the bytes and the closest I can get is to use a table. If I am on the correct path, how do I get the bytes into the table? 'copy bytes...
  9. M

    Program terminates for no apparant reason

    Hi, I've recently modified my code to try to do without an interrupt that was causing a strange "return without gosub" error. I have 2 tasks running, the first is the main program and the second is taking readings from a distance sensor. When I run it now the simulation terminates at a pause...
  10. M

    AXE033 reacting very slow.. looks like a typewriter :o(

    Hi, I'm having trouble with my AXE033 in that when outputting data to the display is reacts very slowly. It displays from top left to bottom right and probably takes around 0.5 seconds to fully display my messages. This looks really tacky and not at all professional. I've been experimenting...
  11. M

    Has anyone built a digital countdown timer?

    Hi, Before I embark on yet another project I thought I'd just ask the question. I need a digital countdown timer for my biodiesel reactor. It needs to permamantly energise a relay, but when triggered by a PID controller it must count down a preset time (around 180 minutes) before...
  12. M

    Creating a menu using an interrupt?

    Hi, I'm trying to create a menu that allows settings to be changed, depending on which settings get changed will affect where in the program structure I want the menu to exit at, hence I can't use a return command. I'm struggling a bit as I can use a return in the situation where the menu is...
  13. M

    Unable to simulate LCD operation in Logicator

    Hi, I am unable to simulate the LCD in Logicator when using Serout or Sertxd :mad: The only way the LCD panel will display anything at all is by using the limited functionality of the LCD command. Is this a bug in Logicator or can others see data in the simulated LCD panel when using Serout...
  14. M

    SerOut commands not working as expected..

    Hi, I'm new to Picaxe and programming and whilst at the start of my learning curve I'm using Logicator to write a basic program. I'm trying to simulate the coffee machine at work! :D I want it to display "Initialising...." on the top line and I want it to display blocks from left to right...
  15. M

    Automotive 12v transistor switching problem

    Hi, I'm pulling a Picaxe input pin low using a switched 12v live in a car. I have the pin connected to the collector of an NPN transistor with a pullup resistor to 5v. The Emitter is obviously connected to ground, and the base connects to a 10k resistor which then connects to the 12v switched...
  16. M

    Could you please check my circuit diagram for me?

    Hi, I'm quite new (since Xmas) to electronics and PICAXE in general, but I've jumped in with both feet to try and design and build my first project :rolleyes: It's a solenoid valve controller for a diesel engined car, to enable it to run on vegetable oil. Basically all it does is wait for the...
  17. M

    Simple transistor switching question?

    Hi, Can anyone take a quick look at this section of my circuit and tell me if it's going to work or not please? :confused: I'm switching a +ve 12v ignition switched supply (automotive) at X6-3 to a pair of small solenoid valves connected to X2-1 & X3-1 respectively :rolleyes: Obviously the...
  18. M

    AXE033 PCB, Double sided or Multi-layered?

    Hi, Can anyone tell me if the AXE033 printed circuit board is multi-layered or not? I ask because I want to cut off the excess where the battery holder is to reduce the size of the PCB. Looking at the tracks this should be safe to do provided the PCB is not multi-layered. Thanks, Mark.
  19. M

    Another AXE033 Backlight Question

    Hi, I'm new to the world of Picaxe (and microcontrollers in general) :) I've read loads of posts saying that you cannot fit a backlight to the LCD that comes supplied with the AXE033. I have just received my AXE033 from Rev-Ed and notice that there appears to be a cutout on one side of the...
Top