Search results

  1. O

    Creating a map subroutine

    I have been doing a fair bit of C programming, and using the map function, somemthing that is missing from the picaxe system. So i thought it will work in interger maths and breaking ti down into its seperate parts to correct for order of operations should allow it to work on the picaxe. Well it...
  2. O

    08m2 supply voltage

    I know this has been posted before but as you can imagine anything with "supply voltage" or the like returns rather a lot of posts to go through any ideas how low a 08M2 can go and still be useful? Thanks
  3. O

    Replicating commands from ar***no

    Someone has asked me to produce a small circuit. The thing already exists based on Arduino, it uses 3 ADC and input/output switching its gong to take a little bit of work to get it to go over to 08m2 but I think it entirely possible. However there are some constructs in the code that I don't...
  4. O

    Interesting LED dimmer circuit

    This isn't directly connected to picaxe, but thought that some here would be interested. I have just purchased a white LED strip with dimmer. I don't need the housing on the dimmer and while removing it thought I would take a closer look at the circuit. It wasn't long before I started to get...
  5. O

    Musings about timer 1

    Been thinking about projects and bits an pieces. With the work that hippy did with a 20x2 based timer a few years ago I thought about adapting it to a 28x2 instead. I ran into difficulties and then life took over. However now I think I may have gotten closer to what I need, full control over the...
  6. O

    High value Digital potentiometer

    I have gone beck and looked at a long running project (I keep getting side tracked with work and other things). In an ideal world I would need 11 M/ohms, however I think the 1M/ohm will be fine. The current prototype uses a rotary switch and 11, 100k/ohm resistors. The application will be in an...
  7. O

    Switching between analogue inputs

    Is there a simple and cheap way to get a picaxe controlled setup for switching between analogue input. There are 2 possible sources for 2 analogue inputs. I thought about using a DPDT read relay, or maybe 2 DPST reed relays. I have only been able to find DPDT ones that cost around £18. Having...
  8. O

    Conflicts from equipment

    I have been spending a little more time on my long running project in the form of breadboarding. I have found that to get the desired scale I need to run one of the op-amps in the sensors at 7+ volts. I thought before connecting to my 20x2 I would check the output with a measure 7.3v input. the...
  9. O

    Maths on #macro parameters

    I am working with some APA102 LEDs. One of the variable functions is the brightness. To get the correct set of bit to send to the LEDs a number between 0 and 31 is or with %11100000 alter_bright = brightness | %11100000 it did dawn on me that instead of having this before calling the send...
  10. O

    Through hole plating

    I am toying with making a double sided board for a project that I have been working one for a while. While there has been a bit talk on the forum about through hole plating, there hasn't been much more The chemical option seems as though its going to e time consuming and could easily go wrong...
  11. O

    Self learning - with match boxes

    A video popped up in my youtube feed the other day https://www.youtube.com/watch?v=R9c-_neaxeU a self learning computer made from match boxes. I thought it was a pretty nice way to introduce machine learning. Then I thought, you could apply the same idea to picaxe (or any other programmable...
  12. O

    Sound amplifier

    I have had a search through and there are plenty of threads making use of the LM386 to amplify the sound output from a PICAXE. However I like to be difficult, and I have some spare op-amps on an LM224. As it stand there is a single op-amp used for a photodiode light detector which works great...
  13. O

    Resistor size @ 3v

    I have a little project to do, a set of toy traffic lights. Nothing complex 3 LEDs and an on/off switch and some batteries. The final circuit isn't going to have a download circuit so the serial in will be ties low with a 10k. However a standard LED with a Fv of 2.5 and VI of 30mA would only...
  14. O

    Looking for substitute Coomponents

    I found this little sparkfun module: https://learn.sparkfun.com/tutorials/sound-detector-hookup-guide (Data sheet: http://www.ti.com/lit/ds/symlink/lmv324.pdf) Looks like a good little board, but thats the problem. While it would be fine to have this for testing purposes its not going to work...
  15. O

    Best way to interface with rotary encoder

    I picked up some rotary encoders the other day. And am struggling for software ideas that will be fast enough for fast turning of the knob...
  16. O

    I need some RGB Ideas

    I am currently printing a sabretooth skull on my 3D printer and think that it may look good nicely lit up in a delightful selection of colours. I am currently thinking about some of those APA102 LEDs, but I need to go and have a read of the data on the forum. I am open to suggestion, it would be...
  17. O

    Can an interrupt be called as a normal subproccedure?

    As the title really. I have the interrupt doing a set off tasks that need to be carried out by another section of the programme but not quite so urgently and under more complex triggering requirements. The compiler seems to accept it but I am unsure if its going to cause any other issues. If not...
  18. O

    Timer 1 Less accurate the Longer it runs

    I have been playing with the timer on a 20X2. Ideally I would need it to activate and deactivate from picaxe input. I tried this #no_data #no_table setfreq m8 #terminal 9600 main: do while pinb.3 = 0 loop settimer 65521 do while pinb.4 =0 and timer < 60000...
  19. O

    @bptrinc cannot be used as for variable

    I just got the above syntax failure. Its an older piece of code that I am looking through for inspiration on how to implement ideas on my current project. This was originally written on an older version of editor 6, currently running is 6.0.8.11 (same issue on 6.0.9.3) because I haven't gotten...
  20. O

    A quick battery level percentage

    I was thinking about a battery level meter as well which would need a constant voltage to compare against. The project will hopefully be powered by 3AA batteries, so my initial thought was 3.3v regulator as a reference point (I know the 20x2 doesn't have external reference, or easy access...
Top