Search results

  1. C

    Can someone explain this I/O behavior on 20M2?

    I was helping a student with a program to control a tri-color LED, when I ran across some unexpected behavior. The issue is that SERRXD turns pin C.5 on the 20M2 to an input. This was confusing, since in this program, pin C.5 is already being used as an output. My understanding from the...
  2. C

    Simplest Datalogger

    As is typical for me, I've taken a project which could be created by any of the regulars here in less than 20 minutes, and turned it in to a week's worth of effort in a demonstration that anything (especially software) can be over-engineered... But I do hope the result is worthwhile and useful...
  3. C

    Tokenization question: IF/ELSE vs multiple IF statements

    This code tokenizes to 26 bytes if b1=0 then pause 5 elseif b1=1 then pause 10 elseif b1=2 then pause 20 endif whereas the following code tokenizes to 21 bytes if b1=0 then pause 5 endif if b1=1 then pause 10 endif if b1=2 then pause 20 endif What the difference in tokenization that...
  4. C

    PICAXE Sweetdreams Nightlight

    This is a nightlight that projects color changing patterns on the ceiling. It is a pleasant companion for kids to use when drifting off to sleep at night. Built with a PICAXE 20M2 and a superflux RGB LED, it has a few different color blending algorithms. The picture is printed on a...
  5. C

    Robotoy V3

    Here's my take on a simple microcontroller driven autonomous robot. The PICAXE and L293D motor controller are mounted on veroboard (stripboard) with screw terminals for the motor hookups. But because I always think that I might want to add just 1 more feature, I mounted the I/O devices (LDRs...
  6. C

    What is the simplest way to sense/measure source battery voltage?

    I like my projects to be aware of the battery voltage that is driving the PICAXE. In the past, I've hooked a 2.5v regulator up to one of the ADC pins and, then measured the ADC value. Since the PICAXE ADC changes with source voltage, but the pin voltage is constant because of the regulator, I...
  7. C

    Software only PICAXE clock

    After creating the simplest nightlight possible (but with very neat functionality) using just a single PICAXE 08M2 chip and an LED, I became intrigued by what else I could do with a minimum of components. A clock using a single-bit input and single-bit output seemed like the natural...
  8. C

    efficiency of Joule-thief vs series cells to power Picaxe

    The Joule-thief (http://en.wikipedia.org/wiki/Joule_thief) is a small self-oscillating circuit which circuit which can use nearly all the energy in a battery. I've seen some posts (eg, http://www.picaxeforum.co.uk/showthread.php?14547-Joule-Thief-powered-PICAXE) discussing how a Picaxe can be...
  9. C

    power-optimized self-calibrating PWM driven light-sensing electro optical circuit

    Despite the long title, this is nothing more than the simplest night-light imaginable... a single LED hooked up to a Picaxe; not even the current limiting resistor of the typical "hello world" intro project. It's amazing that even the simplest Picaxe chip now available can be programmed into a...
  10. C

    disablebod and enablebod

    Although I've been building solar powered picaxe projects for a while, I haven't used this command yet. But I suspect it will let me get a bit more performance out of my devices, however. Unfortunately, there are only a couple of prior postings on the use of "disablebod", although...
  11. C

    Simplest bidirectional motor control

    I was thinking about smart BEAM bots built around the 08M. But using a L293D for motor control seems like overkill and probably is not very efficient. Are there any suggestions for simple and efficient methods of controlling very low-power motors (e.g. pager motors)? What about for...
  12. C

    synchronizing data collection on picaxe

    My beatbox made the Makezine blog! No doubt it will guide some new minds to experiment with these neat little chips as I've already received a handful of emails. One email was from someone pointing out a similar beatbox concept located at <A href='http://extraversion.co.uk/beatbox/'...
  13. C

    Feature requests

    You've done a wonderful job on the editor and it just keeps getting better. I do have a few requests, however: 1) Equation parsing with proper operator priority, or at least parenthesis (looks like this might be included in May version!) 2) Allowing computations in declaration of constants...
  14. C

    Beatbox code optimization question

    Ok. I've posted another Picaxe-08M project on site at <A href='http://www.medcosm.com/picaxe_beatbox.htm' Target=_Blank>External Web Link</a> . This is a device which can repeat a rhythm which is tapped on input pads. Pretty simple and very inexpensive (a $5 beatbox!) but surprisingly, I...
  15. C

    Sculpture code optimization

    Like most of my 08M projects, I end up writing and rewriting code to fit within the memory. Ongoing desire to add new features means rewriting the code to free up a few more bytes and perhaps a variable (or two if I'm lucky). Inevitably, OOP (object oriented) programming style gets cut back...
  16. C

    Call for picaxe robot pages

    I've scoured the web for all sorts of small DIY robots: sumo bot, microbot, symet, pummer, photovore, and the like. Amazingly, I see a very small number of robots using the picaxe, even though I can't imagine a more capable microcontroller with a straightforward development environment in such...
Top