Search results

  1. foTONICS

    lighting a 7 segment LED

    //Here is what my code looks like #include <xc.h> #pragma config FOSC = INTOSCIO // Oscillator Selection bits (INTOSC oscillator: CLKOUT function on RA6/OSC2/CLKOUT pin, I/O function on RA7/OSC1/CLKIN) #pragma config WDTE = OFF // Watchdog Timer Enable bit (WDT disabled) #pragma...
  2. foTONICS

    lighting a 7 segment LED

    I was just being paranoid because I didn't want to damage my programmer by powering all 7 at once
  3. foTONICS

    lighting a 7 segment LED

    I'm thinking that it's that I just don't have the juice because the same segments that light when a "1" is shown are brighter than when a "8" is shown
  4. foTONICS

    help with picaxe

    I don't know how to program Picaxe but make sure you have some sort of debouncing stuff in there somewhere or you will end up with spurious results
  5. foTONICS

    lighting a 7 segment LED

    Hey all, I'm writing some code that counts the number of times an interrupt has occurred then displays it on the 7-segment display. When it comes to lighting each individual segment (a,b,c,d,e,f,g) is it normal practice to light all of them at once or in sequence? I ask because I've noticed...
  6. foTONICS

    Wireless trigger for LEDs and buzzers

    Okay I've got I/0 and some timing stuff down, next I'm going to get familiar with interrupts, then serial communication then this thing shall start taking shape
  7. foTONICS

    Climbing the inside of a pipe with only £20

    what if you used the chain as a counter weight to keep the wheels spread out? Once you reach the top you release the chain, there is no more weight keeping the wheels pressed to the inside of the tube and the climber falls to the bottom. See attached for what I mean (excuse the MS paint)
  8. foTONICS

    what is difference between memory address and memory location

    Could that be compared to using RP0 and RP1 to select between memory banks on a uController?
  9. foTONICS

    solar tracker

    I was working on a solar tracker for a bit as a school project and did my fair share of searching. here is the link to a discussion I started a little while back: https://www.electronicspoint.com/solar-tracker-t258794.html I went the analog route, seemed simpler but it's entirely up to you
  10. foTONICS

    Wireless trigger for LEDs and buzzers

    oooooooooooookay I see what I did. I had it configured to #pragma config FOSC = INTOSCCLK but it should have been #pragma config FOSC = INTOSCIO since I wanted to use the internal oscillator. I would then assume that the intermittent blink of my LED was do to with me having nothing...
  11. foTONICS

    Wireless trigger for LEDs and buzzers

    crap ignore what I posted, just read what you said again and realized what you meant
  12. foTONICS

    Wireless trigger for LEDs and buzzers

    so I can just leave out the pragma setting where I configure the FOSC and everything should be okay?
  13. foTONICS

    Wireless trigger for LEDs and buzzers

    I've been having issues with my setup. All I'm trying to do is turn on an LED (there is commented-out code to make it blink) but it works intermittently, sometimes not at all. My setup: - PIC16f627a with a PICkit2 programming in circuit - LED and resistor coming out of RB5 and going to...
  14. foTONICS

    Wireless trigger for LEDs and buzzers

    configuring Hey guys, So working on the configuration of my PIC. now this is not how it will be configured once I get to working on the wireless transceiver, I just wanted to know if when configuring registers, ports, etc if a function call is the industry norm....or am I just wasting time...
  15. foTONICS

    Wireless trigger for LEDs and buzzers

    a little update: I didn't realize at the time since I was in the store but these PIC16f84's don't have an internal oscillator or PWM. Since then I have purchased a handful of PIC16f627a's and have finally got started. I was configuring timer0 but didn't see a 1:1 prescale setting. Am I...
  16. foTONICS

    entering the job market

    Thanks a lot steve, I will definitely look into these ideas. I just recently got a job but I feel like there is no room for advancement and I don't think I would have the opportunity to change duties
  17. foTONICS

    entering the job market

    Hey guys/gals, So one of my biggest interests upon going to school for electronics engineering (2 year diploma) was the microcontroller programming. I read, practice, and experiment it at home as a hobby as well. My question is how hard would it be to get a job as a hardware programmer? I...
  18. foTONICS

    resetting timer0 interrupt flag

    So I was reading up on embedded C programming for the PIC and came across this code that uses the overflow flag of timer0 to trigger an interrupt. But don't you need to clear the flag before you exit the ISR, or does the compiler insert that bit of code by itself? I've attached a screenshot...
  19. foTONICS

    Wireless trigger for LEDs and buzzers

    I have an arduino but not an XBee. The main reason I'm going the PIC route is just to help the OP of this thread
  20. foTONICS

    Wireless trigger for LEDs and buzzers

    Okay sorry guys for the delay between when I started this and how much progress I've made. I was so used to coding in assembly and my C syntax was rusty (close to nill) so I had a lot of catching up to do. I was reading up on structures and unions for C programming and oddly enough my...
Top