Recent content by Buzby

  1. Buzby

    Not happy, 2 dead 40X2 chips

    Nothing on a PICAXE is as fast as assembler, but PICAXE is plenty fast enough for most applications, and far easier to program. The interrupt mechanism on PICAXE is not an interrupt from the underlying processor. It is a check performed by the firmware between each PICAXE instruction, looking...
  2. Buzby

    Not happy, 2 dead 40X2 chips

    What frequency are you running the 40X2 at ?. I ran the 28X2 ( same as 40X2, but less pins ) at 64MHz and had no problem with 1mS interrupts. As long as your interrupt routine is correctly constructed, something like this ... ' Main routine ' --------------- settimer Tpreval...
  3. Buzby

    BD Robot Dance

    This video shows a tiny bit about how they did it, whilst goofing with biscuits, playing on wheelies, and advertising T-shirts.
  4. Buzby

    Interfacing a Digital Caliper Data Plug

    This page http://www.pcbheaven.com/exppages/Digital_Caliper_Protocol/ seems to show that there are at least three different protocols used in these calipers.
  5. Buzby

    What have I got myself into.

    Hi Zef, Yes, there are lots of improvements you can make !. Firstly, it's difficult to see what the range of each random value is suppposed to be. Much easier if you do it something like this .... symbol RandWrksp = w2 ' Workspace symbol RandRange = w3 ' for symbol RandResult =...
  6. Buzby

    Axe027 cable and or (download cable)programming error

    If you plug the cable in and get the 'ding', try PE 'Refresh COM ports' in the left-hand menu. If the drivers are working, the 'loop-back test can be used to check the cable.
  7. Buzby

    What have I got myself into.

    Hi Zef, You don't need more than one task to perform the actions you require. Just a single 'do ... loop' will work fine .... Do If EyeInput = 1 then ' Get Eyeinput High EyeLight ' Turn EyeLight on else Low Eyelight ' Clear Eyelight if EyeInput is off endif...
  8. Buzby

    What have I got myself into.

    The music plays some randomly selected tracks, say 1,2,3,4,5,6. Tracks 1 to 5 are music, and 6 is the gun sound. So some code structured like this will play all tracks randomly, but also trigger the flash only when track 6 is started ..... do { ... Make random number for TrackNum,1-6...
  9. Buzby

    What have I got myself into.

    Hi Zef, Welcome to the forum !. Looking at your code, it looks like your 'Music' board is just playing random selections one after the other. Your requirement "What I would like is the gun light to flash and as it does so send a signal to the SPE035 to play the gun noise." could be done...
  10. Buzby

    Thoughts on adding additional I/O

    No probs, I've ordered some, just waiting for delivery. As it is, I've got a couple of other projects to finish first, so I won't get to try before Christmas anyway. Thanks, Buzby
  11. Buzby

    Thoughts on adding additional I/O

    If you can test it on a real set of MCPs I'd be really pleased. Mine have not arrived yet. Cheers, Buzby
  12. Buzby

    Thoughts on adding additional I/O

    Here is what I hope will be the core of my future project. It needs to operate 64 outputs using 4 MCP23017 chips. It's not an 8x8 LED array or anything like that, it needs to switch pins in sequences that are not preset. Also, I will need to read some pins immediatley after setting some...
  13. Buzby

    Thoughts on adding additional I/O

    You can access more pins on your IO chips if you use a subroutine to calculate the chip and pin number. The code below is a rough idea of how to control 64 bits, which you then send to your MCPs. It can be improved by using indirection ( using @ ), but it's too late tonight for me to do that...
  14. Buzby

    Anyone know what this is?

    I built a couple of these 'totally passive' programmers on stripboard. They needed a proper serial port to work, but this was back in the days when computers only had proper serial ports. I've no idea who David Tait is, or was, but if it wasn't for his programmer I would not have started with...
  15. Buzby

    Anyone know what this is?

    It looks like a PIC programmer. Google 'David Tait PIC programmer' for lots of links, one of which might give you the answers.
Top