Search results

  1. C

    Another problem with a new installation

    New computer with a super sensitive touchpad that I haven't yet completely mastered. Somehow, I have messed up the two panes on the left side of the window, "Workspace Explorer" and "Simulation". I can put them both side by side, full height, at the left side or floating anywhere but that...
  2. C

    Simulating macros

    When stepping through a program with Macros, the simulator goes directly from the line with a Macro name on to the next line in sequence, not displaying progress through the Macro line by line. Is there a way to alter this behaviour?
  3. C

    Install trouble PE6 on new windows 11

    When I run the installer, it pauses to ask permission to install .NET (which I think is there already) then after clicking OK, the wizard comes back to say it was interrupted and is stopping. What should I do to get it to continue?
  4. C

    Testing variables for ~ equal

    Is there a neat way to test if 2 variables are different by less than a small amount? For my application I need to be able to test across a rollover as well. The application is an MSF clock. This normally returns time in hours and minutes. I convert that to total minutes, a word variable mn in...
  5. C

    Inputs over 5V

    I'm planning a monitor/alarm module for a diesel engine with nominal 12V alternator and lead-acid battery. Some digital inputs to a 14M2 will be at the alternator/battery voltage which could conceivably be between 10 or 11 and 15V. Is this from post 4 in this thread be the sort of circuit that...
  6. C

    Reliability of Piranha RGB leds

    Since 2010, I have built several Mood lights using up to 32 Piranha RGB leds. Intensity of R, G and B is regulated using PWM at 250Hz or 1kHz using either 3 08Ms or in later versions a 14M2. A power MOSFET drives each colour. Recently, two of these lights have developed an intermittent flicker...
  7. C

    What to avoid to keep TIME working?

    Is there a list of commands and other things to avoid if using TIME on an M2? I'm sure this has been covered before but I can't find anything apasrt from SERVO which is mentioned in ENABLE..., DISABLE... and TIME pages of basic commands. Derek
  8. C

    Reading from EEPROM to System variable

    I can't read a WORD variable from EEPROM as 2 bytes into s_w1 but w1 works fine: ' TestInternalStorage #picaxe 14M2 #TERMINAL 4800 Symbol JDN = s_w1 ' 'Symbol JDN = w1 ' Symbol addrs = b26 ' EEPROM read/write address addrs = 0 READ addrs, WORD JDN...
  9. C

    Nested Interrrupts

    I am developing a device that incorporates a clock (an MSF device that operates through an 08M2) and other functions. The clock updates each minute, using an interrupt to the main controller (14M2) before sending the new time data which the 14M2 forwards to the display. Meanwhile, other...
  10. C

    Compact Date Storage & Retrieval

    I am trying to make a Calendar/Appointments device. Clearly, date and time storage are significant. TIme of day can readily be stored in a byte at 10 minute intervals. Date is more involved. I found this post describing a modified Julian Date Number (JDN) calculation which covers the years...
  11. C

    Utilities for mobile homes, boats etc.

    This project began as a device to display how much hot water is in the calorifier of a yacht with auxiliary engine. (The calorifier is a 60 litre tank of fresh water that is heated by the engine cooling water for washing etc.) The temperature is detected at different levels in the tank using 5...
  12. C

    Frequency Meter

    I have taken Kranenborg's frequency meter (itself based on an earlier design by Jeremy leach) and modified it to incorporate the LCD (or OLED - untested) display driver in the28X2 that's doing the frequency metering. Port C is used for the display's 8 bit parallel data, B.0 is the ENABLE line...
  13. C

    Driving OLED with 28X2?

    I am hoping to use a 28X2 instead of the usual 18M2 to operate an OLED such as AXE133Y 16 by 2 but without the driver board. The objective is to incorporate the display driver into Kranenborg's frequency meter. As a first step, I am trying to get a 28X2 to drive an OLED using a modified version...
  14. C

    A crude signal generator

    The attached code (Sig gen 2) uses PWM output of an 8M2 to generate a square wave at 61Hz to 4MHz. Frequency output is altered by 2 momentary push buttons, Up and Down. There are 2 possible sets of frequency outputs - multiples of 1 ,2, 5 or multiples of 1, 1.25, 1.52, 2, 5, 3, 4, 5, 6, 8...
  15. C

    Install PE6 on XP needs .net 3.5.1

    I want to install PE6 on a Windows XP machine. I followed the link to MS download from the Picaxe Software page and that successfully downloaded dotnetfx35setup.exe. Running that I got "failed to connect to server". I tried several times and it reported that it tried 5 times for each run. Has MS...
  16. C

    Transfer PWM output to a different pin?

    I would like to obtain PWM out from a Port C pin of an 18M2 instead of from B3 or B6. I want to use PWM along with an OLED display and using the display's 18M2 for PWM is attractive - the 18M2 has plenty of code space and 3 unused pins, C0, C1 and C2. I suppose using 4 bit mode of the display...
  17. C

    Understanding the Versabot

    Do you have any experience working with Versabot? It's a bit old but available very cheaply. I had success assembling and running the supplied programs but then I tried to combine IR control with Bump sensors to accommodate poor driving. For a long time, I couldn't get the combo program to work...
  18. C

    Download cable problem

    I tried to program an 08M using the AXE026 download cable - the one that connects to the laptop serial port. All a bit retro but there were reasons. I got "Hardware not found" error so I ran the Download Cable Test. It passed the continuity test but the Voltage test showed +5.8V when 5V was...
  19. C

    An occasional keyboard for Picaxe

    I was moved to devise a simple way to connect a keyboard facility to a Picaxe for occasional use. My original project (still not much further progressed) is a clock/calendar that can give reminders/alarms with explanatory messages at the appropriate times. After some delving/research/Googling...
  20. C

    Simulator surprise

    I simulated a short program to try to find what I can do with pinsB: #picaxe 18m2 dirsb=255 pinsb = 5 b1=pinsb pinsb= pinsb+1 pinsb=pinsb+2 b2=pinsb At first I was disappointed to see that pinsB stayed=0 according to the view in Code Explorer/System Variables but b1 and b2 came out as...
Top