Recent content by Andrei IRL

  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

    Image showing two different ADC readings, one from the MAIN program and one from WAITQS1 subprogram. The load on the loadcell remained untouched.
  3. 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...
  4. A

    SSD1306 OLED Screen Help

    I managed to figure out some of the code but not enough to make the letters display fully. All letters are cut off at the top and bottom. The line of text on the screen is THIS IS A TEST. There is something funny going on. Any idea on how to fix it and possibly make it larger at the same...
  5. A

    SSD1306 OLED Screen Help

    This is what i see on the screen at the moment with the current code below: ' 08OLED_128x64 writes strings to lcd #picaxe 08M2 #no_data #terminal 38400 'Display command constants Symbol TWI_BUFFER_LENGTH = 32 Symbol LCDWIDTH = 128 Symbol LCDHEIGHT = 32 Symbol SETCONTRAST =0x81 Symbol...
  6. 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...
  7. 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...
  8. A

    Issue with PICAXE and Instrumental Amplifier AD623

    I have used the code below (thanks hippy) to test the system. 'this code will display MAX and MIN values recieved by PICAXE on PIN4 using READADC command. #Picaxe 14M2 #Terminal 9600 SetFreq M8 Symbol val = w0 Symbol minVal = w1 Symbol maxVal = w2 ReadAdc10 C.4, val minVal = val maxVal =...
  9. A

    Issue with PICAXE and Instrumental Amplifier AD623

    Schematics are attached below. Also see the CODE. #picaxe 14m2 setfreq m8 ` Running at 8Mhz, all pause values are x2 times symbol greenled=B.1 `GREEN LED symbol redled=B.2 'RED LED symbol RELAY1=B.3 symbol RELAY2=B.4 'Assuming when sensor is PULLed READADC is increasing symbol push_but=pin2...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
Top