Search results

  1. D

    Using 2-lead bi-colour LEDs with PICAXE

    That does make a lot of sense, Hippy... :-) I suspect it's just my systems engineering mindset coming through into my hobby - too much work and not enough play 😂
  2. D

    Using 2-lead bi-colour LEDs with PICAXE

    I think the easiest way to describe my (completely bizarre) mindset is I like to have "dedicated" solutions - so a central "processor" - a microcontroller etc. - which does what it's designed to do, process & controll; and specialised "independent" chips, such as the HT1632C, doing specifically...
  3. D

    Using 2-lead bi-colour LEDs with PICAXE

    I know, I know... Like I said, I'm wierd - for some reason my brain isn't a fan of the multiple PICAXE solution. Perhaps it's because I'm "wasting" processing power in a certain way...? It's a very good idea, and one I would use if it came to it - for some reason I just can't seem to "like" it...
  4. D

    Using 2-lead bi-colour LEDs with PICAXE

    Like I said - I'm a wierd twit :LOL: It's just me, for some reason I'm not a fan of distributed processing. Please don't ask why - I'll happily do it if nothing else works, but I always try and find another solution... just my wierd brain!
  5. D

    Using 2-lead bi-colour LEDs with PICAXE

    I had feared as much... multiple modules would obviously work well, it would just be messy (in my mind - I'm a wierd character!)... I'll see what comes of the offer of custom 3D-printed mounts for the 3-lead LEDs... if that works I can go back to my original plan to use a bog-standard LED matrix...
  6. D

    Using 2-lead bi-colour LEDs with PICAXE

    Morning folks, Sorry for the late reply, but I got one email notification about a reply and never got round to opening it... unfortunately busy working :-( The Charlieplexing does seem like a good idea... but I see the problem of having large numbers of LEDs connected to an array, meaning very...
  7. D

    Using 2-lead bi-colour LEDs with PICAXE

    I'm afraid I tried that... that's what the aforementioned Dremelw as used for :-( The panel I'm using is constructed of 9mm ply (because it's what was available, and the model railway club couldn't use the piece for anything else as it was slightly warped). I used LED mounts which fit through a...
  8. D

    Using 2-lead bi-colour LEDs with PICAXE

    After two hours with a dremel, soldering iron, pliers, snips and lots of four-letter Anglo-Saxon words, I can most definitely confirm that is the case!! :LOL: The problem is that they come out the bottom of the LED moulding, and immediately "swing" outwards to beyond the outer limit of the...
  9. D

    Using 2-lead bi-colour LEDs with PICAXE

    Yep, that's what I originally planned to use when I wanted to use the HT1632C - I went out and bought some 3mm bi-colour LEDs with 3 leads (2 anodes and a common cathode). That would've worked perfectly fine using a normal matrix driver... But when they arrived I discovered the legs were too...
  10. D

    Using 2-lead bi-colour LEDs with PICAXE

    Aye, that's what I'd "normally" do with these LEDs, if I didn't have so flippin many of them 😂 I'm a numpty... I completely forgot about Charlieplexing! Search incoming!! Thank you!!
  11. D

    Using 2-lead bi-colour LEDs with PICAXE

    Morning folks, Is there an easy way to use a large number of 2-lead bi-colour LEDs with a PICAXE chip? I'm needing to drive approx. 100 of them, each individually switchable - not just between colours, but fully off too. Up until now I was using 3-lead LEDs with an HT1632C driver, but I've...
  12. D

    Programming best practice - decision based on many input variables

    Sorry for the slow reply guys, I've been doing some testing with the various options on a PICAXE, Teensy and an Arduino all at once to try and work out what the best option should be... But I think you're right Hippy - I'm rushing in a little too quickly without properly defining what needs to...
  13. D

    Programming best practice - decision based on many input variables

    In fact, thinking about it even more (dangerous, I know), I could eliminate the "conflicting routes" check by doing the following: When a route is set, it "reserves" itself by setting the bits for all the track circuits on the route. (only happens in the interlocking, not on the display). Then...
  14. D

    Programming best practice - decision based on many input variables

    Hey guys, cheers for the replies... only just now got around to typing up a reply :-) In terms of scale, I'm currently looking at between 50-100 possible routes in the system, each with its own scale in terms of checks required. As an example, a route from E499 to E503 (real signal numbers, not...
  15. D

    Programming best practice - decision based on many input variables

    Afternoon folks, bit of a different conundrum today... I'm trying to work out the best / easiest / most efficient way to build a "condition list" in PBasic... My use-case is interlocking for a model railway, with the sequence of events happening as follows: "requested" command received (eg...
  16. D

    external resonator on 28x2 chip

    let us know what happens - I'd be VERY interested to try a PICAXE at 256MHz!! :LOL::LOL::LOL: Mind you, it would take me a while to come up with a proper use-case that would make use of such a high clock speed!
  17. D

    Binary division and modulo from first principles

    Thanks for supplying this - going to be very dangerous for me... I already find it difficult to use higher level languages, as I've got used to the bit-level mathematics of PICAXE and other microcontrollers, so this is just going to reinforce that! :LOL::D
  18. D

    HT1632C Train Describers code

    Good afternoon folks, This is a project I'm currently building to use six 8x8 matrices controlled by a HT1632C, representing two Train Describers as seen in signalboxes on the railway. Each train describer is one half of the "full" display, at 8x24 each. In addition, the chip can also use the...
  19. D

    i2c EEPROM addressing

    That's perfect - I tested this earlier, and it seems to work :D hurray for | !
  20. D

    Capability question - reading an RS485 bus while pushing results to PC

    Yep, that makes sense... The thing with the Cobalt Digital though is it has the pushbutton option of being switched, so I could set them like that.... Or, of course, use this thread - send the switching commands over the DCC bus, and only use MCUs to detect the position! Much easier 😁
Top