Search results

  1. L

    Byte Variable Reasssigning

    Hi all, Quick query. I'm making an LED clock, the intricacies I won't be going into here. It uses a PIC28x2, MAX7221 and a DS3234. The 7221 and the 3234 use SPI for comms. My knowledge of this protocol is still in its infancy but I have working code for communicating with both the 3234 and the...
  2. L

    MAX7221 startup and display problems

    Hey, so I am reluctantly asking yet another question after trawling the forum, and the rest of the internet, for any hints on what I'm about to ask, for what seems like an eternity. I can't, for the life of me, get my MAX7221 to display, sequentially, the numbers 0-9. I am running it off of a...
  3. L

    DS1307 Problems Again

    managed to get the picture up. Hope everything is visible
  4. L

    DS1307 Problems Again

    Hi, This is the third time I have had to ask for help with regard to this problem, with the previous 2 times, thankfully, being solved but in two different ways each time. Now the problem has resurfaced. My DS1307 RTC, connected correctly to a Pic28X2 via the SDA, SCL lines with appropriate...
  5. L

    Var Byte query

    Hey all, I found this code, open source for a project i am doing. the original editor used a ds1307, max7221 and a picaxe 28x2 all of which i am also using in my project. I downloaded the code but whilst loking through i noticed lines of code that consisted of Var byte labels. I have never come...
  6. L

    Binary clock problems

    Hi. A while ago i sucessfully built a binary clock using the DS1307 RTC and a pic 28X2. One problem I had whilst compiling the code to run the display is that the seconds, hours and minutes would come on at the same time. I managed to solve this and got the clock working. Now, about 4 months...
  7. L

    DS1307 problems

    Hey all, Many months ago I asked a question about programming and reading a DS1307 RTC module and got great help and my clock working. However, after not using the circuit for at least 4 months, I find that when I come to check its still working, I get a constant square wave o/p from the RTC...
  8. L

    binary clock query

    Thanks for the reply. I tried using a bcdtobin command without much success (Most likely due to inexperiance). I have done a quick, very quick, diagram of my circuit. See below. My diagram doesn't show current limiting resistors or the pic! thanks
  9. L

    binary clock query

    Hi, I have built myself a binary clock to read seconds, minutes and hours from DS1307 into a pic 28x2. I am using 20 LED's (7 for the seconds, 7 for the minutes and 6 for the hours) which are multiplexed in 3 rows of 7 (minus 1 for the hours). I currently have a very long piece of code which is...
  10. L

    DS1307 interface with 28X2

    Hi, I have a DS1307 module hocked up to a picaxe 28x2 with SDA connected to pin 15 and SCL connected to pin 14 both with appropriate pull up resistors and an led connected to the SQW output which is flashing at a very steady rate I am glad to say. I have a small amount of code to set the time...
  11. L

    MP3 output

    Quick question. Is there a picaxe capable of playing MP3 files. Many thanks
  12. L

    LED battery level indicator

    Hi, Quick question. Is it possible for a picaxe to display the power level of 2 AA batteries (3V) on a set of LED's. I have between 1 and 16 LED's to use for the display but up to 8 would, I am sure, be plenty for the display. If I need any sort of external circuit then that would be fine. If...
  13. L

    28X1 Outputs

    Hi, I am trying to program a 28X1 but I can't figure out how to make output 0-7 go high. The manual just labels them as OP 1 2 etc but no A B C etc. I am at a loss as to what to write in the code. Any help would be appreciated. Many thanks
  14. L

    picaxe 28X2 download help

    Hello, I have been trying to download my code onto a 28X2 but every time I test, after download, to make sure it works, all it does is make an LED flicker. I have tried it with very simple code like Main: If pinc.1 = 1 then high b.7 endif goto main But it does the same thing, it makes the LED...
  15. L

    Simulating LEDs

    Hello, Bit of a daft question I know. In the sim' I have some code to cycle through 16 leds two at a time but the sim goes one after the other if you see what I mean. Here is the code in question. I know it's a bit cumbersome, please forgive me. main:high c.3, c.4 low c.3, c.4 high c.2, c.5 low...
  16. L

    Programing 28X2

    Hello, Just a quick question about the download circuit for a 28X2 chip. Am I right in thinking that I need to build the circuit shown on page 35 of picaxe manual 1 to be able to download my code into my chip. Many thanks
  17. L

    interrupt using 28X2

    Hello again, I am having trouble with setint commands. I am using a 28X2 and want the interrupt command to activate when B.1 = 1. I thought this would work setint %00000010,%00000010 LEDon: pause 1500 do if pinb.2 = 1 then high d.7 goto LEDon else loop endif interrupt: high b.4 if pinb.1 = 1...
  18. L

    Simulating Buttons

    Hello forum, I am having problems with the picaxe simulator. Namely trying to simulate a momentary push button. As I am new to picaxe, I haven't got to grips with everything the sim' has to offer. I was wondering if it was possible to, for example, press C.1 in the sim' for it to go high and...
  19. L

    Star Trek Type 2 phaser power bar circuit

    Hello to all, I am currently re-building a Star Trek type 2 phaser, if that means anything to anyone. I would like to know how to create a circuit that does the following: There are 16 LEDs in two rows of 8. I would like to cycle through them one after another with 2 button switches. ie press a...
Top