Search results

  1. Bill z

    PWMDUTY Circuit Testing

    Thanks a bunch both AllyCat and ibenson. Yes that fixed it. I misunderstood the importance of the pwmdiv4 statement. About the speed, Running this program with a pause 25 is plenty fast enough for my purpose (about 4 second cycle). I can connect pin C.2 to a 5 amp MOS module and do plenty...
  2. Bill z

    PWMDUTY Circuit Testing

    New guy here again asking for guidance with a 08M2 and its PWMDUTY command and circuit. In the editor, this program I found on this forum looks like it is working, and at one time I did have it running on my 08M2 chip. But now, the LED won’t light up. Terminal in the editor shows the program...
  3. Bill z

    Maybe the Next Release

    AllyCat, Thanks for the quick reply. Yes, my bad about variable voltage on C.3. That was a hasty written message. I was using a reverse LED to monitor light where the LED anode connected to C.4 and cathode connected to C.3. This does work somewhat when connected. Voltage does change and is...
  4. Bill z

    Maybe the Next Release

    Recently I wrote a 08M2 program using the Picaxe Editor that would do 1 of 3 things depending on voltage supplied to pin C.3. Picaxe editor doesn’t have an option to allow for anything except on and off even though the 08M2 will allow and respond to various input voltages. If the editor does...
  5. Bill z

    LED Light Brightness Regulator

    That certainly leans heavily to wilf_nv's mission -> "my mission in technology is to do more with less and ultimately, by reductio ad absurdum, to do everything with nothing. " Minimal number of components your way would be zero.
  6. Bill z

    Will 08M2 Run WS2812B LED/RGBWW

    OK. I have an Arduino that was given to me that I'll try something on. Thanks for all of your input and encouragement.
  7. Bill z

    Will 08M2 Run WS2812B LED/RGBWW

    So, trying to run LED Pixels with a 08M2 is a 'NO'? Please help me to understand why? Going forward, I would like to understand the limitations. I have just been introduced to Picax recently and I'm self taught.
  8. Bill z

    Will 08M2 Run WS2812B LED/RGBWW

    Being new, I used the search and was able to find several post where Arduino and 40X2 but no mention of the 08M2. This will be my first attempt with Picaxe chips doing this but using a Raspberry Pi, I was able to drive a 120 LEDs from one pin by sending a string out the TRX pin. The 08M2 has...
  9. Bill z

    PWM & 08M2

    OK. Thanks. I thought that, maybe, some routine had to install and it required 3000.
  10. Bill z

    LED Light Brightness Regulator

    Most all of the images and help I'm finding use this attached picture. Aren't C.4 and C.3 mostly used as inputs and C.2 & C.1 used as outputs? Maybe I'm guessing here. I was planing on using C.2 as my PWM output. Using C.4 & C.3 in the picture, connecting a yellow LED, I was able to get...
  11. Bill z

    LED Light Brightness Regulator

    What program do I use to receive the SERTXD report from the 08M2? Is there a setting or option in PICAXE Editor?
  12. Bill z

    LED Light Brightness Regulator

    Ibenson, How do I test what voltage will come from the LED I select? Is there a way to get the sertxd information from the chip? If not, I don't know how to get the 08M2 to report on what it sees between C.3 & C.4. Yes, I can measure volts but do volts measured equal what the chip values are...
  13. Bill z

    LED Light Brightness Regulator

    Sounds like a great idea and I'll try. What command do I use to check input voltage on pin C.4? I assume it will be between 0 and 5 volts and may not be linear. Is it -> readadc 4,b1 ? Then I can loop and pause, using a formula to set DutyCycle. Does that sound right? I'm guessing...
  14. Bill z

    LED Light Brightness Regulator

    Thanks all for your input. WOW! All of this information is quite interesting and I never thought of all of the variations. I didn't know what I didn't know. lbenson, I do see your point, but the LEDs are enclosed and illuminating the sign from inside. Imagine a 'Police Call Box' sign (if...
  15. Bill z

    LED Light Brightness Regulator

    Still a new guy here with some questions about a project on my mind. I’m wanting to use a 08M2 to check the ambient light outside and decrease LED brightness as the sun goes down using PWM. See, I want the LEDs to appear to have the same brightness all of the time with respect to bright...
  16. Bill z

    PWM & 08M2

    Yes, this works. Thanks. Seems the 08M2 is slow enough that I just commented out the 'pause' command and incremented by 10 with 102 loopCnts. I'm curious about why the 'pwmout pwmdiv4, pLED, 249, 0' with the 'pause 3000' at the top of the program, then right after it the 'pwmout pwmdiv4...
  17. Bill z

    PWM & 08M2

    Thanks so much for the sample code. Please understand that I'm NOT complaining but attempting to learn. Making some changes to your code to fit my needs, it is difficult to see using the PICAXE Editor 6.1.0.0 because C.2 doesn't turn green when running when C.3 is yellow. But when running on...
  18. Bill z

    PWM & 08M2

    Thanks, I mistakenly thought 08 was shortened for 08M2. Please help a new guy again. PWMOUT has both 'Period' & 'Duty Cycle' . From the definition, I can't tell which one to increase / decrease to brighten or dim the LED. If it is duty cycle, then what would max and minimum range be & what...
  19. Bill z

    PWM & 08M2

    Brand new guy here. Is there a way to gradually increase and decrease LED brightness using a 08M2? I want to gradually increase a LEDs brightness from zero to its brightest over a 5 second period. Documentation about PWM says ‘Applies To: All (except 08, 18, 18A, 20M, 28, 28A)’. I'm...
  20. Bill z

    Using the (M2's) DSM module for a simple logic function (e.g. inversion).

    Alan , This is sort of like the chicken or the egg paradox. You can't program the 08M2 without a cable and if you have a cable, then do you need an inverter? In my case, I do want one because, well, just because I want to learn. However, I'm not at this level yet regarding all of your...
Top