Search results

  1. A

    PWM Help

    Hello everyone. I have the need to accurately control the speed of a DC Motor. I'll be using PICAXE at 4Mhz. The motor itself is rated for 5.3 RPM @24V through the use of a gearbox. I need to run the motor at 3 RPM, so 56.6% duty cycle. Is the code below correct to achieve that? Many...
  2. A

    Really strange READADC10 Behavior

    Hello everyone. I have been working on a project which is almost completed now. However, i have came across an issue that i am not able to resolve after many days of troubleshooting. The project is build on 14M2 chip with AD623 INAMP and a half bridge load cell. Within the MAIN program loop...
  3. A

    SSD1306 OLED Screen Help

    Hello. I am trying to learn on how to use OLED SSD1306 Screen 128x32 pixels. I have loaded the code into PICAXE Editor but upon Checking of the code i get an error (see attachment) Any idea what i might be doing wrong? I am using chip and not 40M The code i am trying to use was taken from...
  4. A

    PULLUP command for PICAXE14M2

    Hi Everyone. I am currently struggling to understand how to make pin assignments using bits. I have red the manuals and found examples but it is still not clear to me. Would any one be so kind to explain how to enable internal Pull Up resistors for PIN C.3 and PIN C.2. I will only be using...
  5. A

    Issue with PICAXE and Instrumental Amplifier AD623

    Hi everyone. I am building a strain-gauge and the controller using PICAXE 14M2 and AD623 Instrumental Amplifier. Everything is working as expected except for one small issue. Every now and again PICAXE would get a random reading lower then expected without any changes to the strain gauge. I...
  6. A

    Serial Terminal Issue

    Hi everyone. I am trying to run one picaxe to monitor the action of another using simple program. I am having some difficulties where Serial Terminal only is displaying [00] many times over. Any idea what might be causing it? Thanks very much in advance. Andrei. #picaxe 08m2 setfreq 4...
  7. A

    Addressing all PINS at once for LED Sequencer?

    Hi everyone. This is probably a very basic question, but howcan i address all pins at once on a PICAXE18 (X i think, 10 year old chip). I am making a Christmas jumper with 3D printed Christmas trees on it with 9 LEDS each. I am creating a program that would run them in a couple pf different...
  8. A

    Supervisory Watch Dog Timer using TPS3813

    Hi. I was looking for some ideas regarding a watchdog to monitor PICAXE program correct operation. I have came across a Supervisory Watch Dog Timer TPS3813 (LINK) Has any one used it in the past? I am trying to figure out how to set the watchdog to monitor PICAXE program running state. The...
  9. A

    Watchdog Picaxe as Fail-Safe?

    Hi everyone. I am designing a controller for which is important to stay within programmed parameters. The Controlling Picaxe (CP) will be sending a high signal on one of the pins for the length 100ms (the time will be adjustable between 40ms and 120ms in the final code) at a time when two...
  10. A

    Strange program behavior with programming cable plugged in and when out

    I have completed putting together a program for my strain gauge and all looks to be working perfect. However, as soon as i unplug the programming cable the "FIRE" routine is behaving differently. So when ADC reading is above or below preset value the program goes to FIRE routine. In the fire...
  11. A

    Problem picking lowest ADC reading with Strain Gauge

    Hello everyone. I am building a sensor using strain gauge. The sensor is built and amplifier made. I am using READADC10 to convert my voltage reading into a variable, nothing new there. I am not building a weighing scales but only a device that can monitor sensor reading and trigger a relay...
  12. A

    PICAXE 08M2 Using PIN2 (C.5) as input?

    Hello everybody. I am maxed out on my INPUTS/OUTPUTS and have the need to used PIN2 (C.5) as an input pin. So i have connected the pin to ground via 10K resistor. Then i am driving it high using push button bringing it HIGH. The problem is that when i press the push button the LED will only...
  13. A

    Is it possible to choose one of the two stored programs?

    Hi again. I want to use a strain gauge as an input device. When a certain amount of force is applied a relay will actuate. here is the problem for some users i need to monitor PULL force which will give me increased READADC reading and based on that i can trigger rely when its larger...
  14. A

    Recording Max value for READADC

    Hello everyone. I am at the very early stages of a new project that will involve the use of a strain gauge. One thing i can not figure out at the moment. Is it possible to have a routine that will do the following: Read voltage using READADC command In my case the voltage will be increasing...
  15. A

    Self triggering Issue

    Hello everyone. I have a very strange issue that i am trying to understand and possibly fix. For some reason, some times part of my code that should only trigger upon receiving HIGH signal gets triggered by itself. I am using latest PICAXE 08M2+ chip. The device is used on a motorcycle and...
  16. A

    Using IRL 540 with PICAXE

    Hi everyone. I am trying to improve a device by replacing a pair of mechanical relays with IRL540 MOSFETS. Everything seems to be working at first. I am reading an input on PIN3. The signal is a 12v stepped down using voltage divider with 1Kohm and 2.2Kohm resistors. When this signal is...
  17. A

    PICAXE keeps failing

    Hi everyone. I have a strange failure of the PICAXE M08 chips and i can not figure it out. The worst part about it after the chip has failed it send one of the PINS high which turns on a relay killing everything connected to it. Is it possible to have a Fail Safe to prevent that? I have used...
  18. A

    Random issue with self triggering

    I have completed a project and i am having an issue. Some times, for no good reason the Circuits gets triggered by itself. Basicaly, i have an input from PNP Induction proximity sensor connected to C.3. Proximity sensor outputs 12V so im using voltage divider to bring it down to 4 volts and also...
  19. A

    Serial IN Pin Question

    Hi Everyone. Happy new Year to all of ye. I have a quick question. Im designing a PCB and planning on leaving SERIAL IN Pin not connected to anything as i will not be using this PCB for programming. Is it OK to leave this PIN Floating or should i ground it or similar? Thanks very much.
  20. A

    Stack overflow error

    Hi everyone. Im just finalizing my code and came across the following error when running the code in Simulator (not straight away but after a while): Stack overflow - more gosubs then returns. The code looks good and everything is working fine. Is it just Editor error or will i have a problem...
Top