Search results

  1. foTONICS

    spreading out the PWM on a PIC16F627a

    I'm currently using the PIC16F627A because it's what I have at my disposal so it should be capable of speeds up to 20MHz. but if necessity recommends I'll get a different one
  2. foTONICS

    spreading out the PWM on a PIC16F627a

    there will be two sections, they will run independenly of each other and will be carbon copies of each other so I am just working out the one side. I just got ahead of myself with that last comment and listed ALL the led's, my mistake
  3. foTONICS

    spreading out the PWM on a PIC16F627a

    would it be able to switch fast enough for 6 rings of 6 led's a piece to fade without noticing a flicker?
  4. foTONICS

    spreading out the PWM on a PIC16F627a

    +1 for that idea!, I'm researching the TLC5940 and it seems to be able to drive what I need, and if I need more the datasheet says cascading can be done up to a limit of 40 chips (which is way more than the 3 I would probably use) . The only thing that was a little confusing in that datasheet...
  5. foTONICS

    spreading out the PWM on a PIC16F627a

    Do you think it would be a waste of time to write a script that mimics PWM, by say using a couple of variables that represent the duty cycle? lets say on_led is equal to how long the led is high for a period and off_led is the rest of the period, think that would work? I've been putting...
  6. foTONICS

    spreading out the PWM on a PIC16F627a

    I have 6 sets of LED's, each set consists of around 5 LED's (give or take an LED) arranged in a circle. I wanna use the PWM pin on the PIC to fade these lights in and out but I know I can't drive that many LED's with a single pin. Would it be feasible to use the PWM pin to source 6...
  7. foTONICS

    searching for sensitive load cell

    In my final year of schooling I have chosen to design and build an electronic beer pong table. Nothing fancy, just a circle of LED's that shine one color when the glass is full, a different when it is empty, and off when nothing is there. I've started to research into what kind of sensor...
  8. foTONICS

    turning off timer1

    ya the programmer is connected. I disconnected but still nothing. writing 0x00 to T1CON on bank 0 should work right? or is it 0x01? side note: the program i pasted shows l8 (pin13) not ever set to turn on, it stops at l7(pin12) then reverses direction. I have corrected that so all 8 LED's...
  9. foTONICS

    turning off timer1

    So this is the code I'm using, nothing fancy, just a string of LED's lighting in sequence from one end to another. My problem is with pin13 (RB7/T1OSI/PGD). that LED won't light and I've tried turning it off and configuring it as an output but still nothing, I believe I'm pointing to the right...
  10. foTONICS

    knight rider code

    omg nevermind, just realized I had the Vdd in the ground bus (chalk one up to "There's nothing wrong with my circuit!")
  11. foTONICS

    knight rider code

    so I'm writing some code to have a set of LED's flash in sequence like the knight rider. I tried turning on and flashing only 2 LED's and that worked, but when I added another 6 to make 8 total nothing turns on. I checked my circuit and everything seems okay so I was wondering if it's my code...
  12. foTONICS

    understanding the pic16f627a

    so bsf PORTA, RA0 will work?
  13. foTONICS

    understanding the pic16f627a

    So I've been doing lots of reading and researching and I feel I can confidently program one of these babies except for one thing. My problem is any tutorials i read i can't seem to find how to initialize one of the outputs. I dont know what to call them when writing my program. looking at...
  14. foTONICS

    multiplexing using assembly

    oh ok, that's my problem then, I thought that if my result was 0 'Z' would clear and if it was 1 it would set
  15. foTONICS

    multiplexing using assembly

    so when I xor two numbers that are the same my Z bit goes high?
  16. foTONICS

    multiplexing using assembly

    Under the xorwf ones,w shouldn't it be 'btfsc' instead of 'btfss'?
  17. foTONICS

    multiplexing using assembly

    Hey guys, I've been teaching myself PICS by going through this tutorial website someone on here posted a while ago www.googligum.com. and I find it extremely useful and informative. Attached is a screenshot of a section of code used to increment the value of some digits (being sent to a 7-seg...
  18. foTONICS

    How to start off in microcontrollers?

    I stumbled upon this thread b/c I will be taking an uController class next semseter and wanted to get my feet wet. I have had poor results googling 'uController tutorial' but this seems to be EXACTLY what I was looking for, thank you!
  19. foTONICS

    Arduino in North York/Toronto area?

    Hey guys, I'm looking for a place that sells Arduino's in the North York/Toronto area. The only place I have found is charging about $50 for one and I wanted to see if I could find it cheaper. Online is out of the question since I do not have a credit card, many thanks!
  20. foTONICS

    logic probe

    The only thing that changed from the schematic you posted was how I connected the power. I had to use a dual supply in series mode to get the 741's to work. I gave them +/- 5V but this required me to have my biasing resistors connect from the +5V to ground instead of the -5V. This required me to...
Top