12f675_fuse_about_to_blow! - Page 5


Closed Thread
Page 5 of 24 FirstFirst 12345678915 ... LastLast
Results 161 to 200 of 929
  1. #161
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    Hard economics for me I'm afraid, I'm a carer.

    Dave

  2. #162
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    Buy it from Lester. He is the one that gave us this forum
    I appreciate what you're saying and this forum, I really do and I don't want to cause an upset.

    The difference in pricing from Mec & Corn means I can buy a PICkit2 and a
    USB/serial cable for the difference, without upsetting the wife.

    Dave

  3. #163
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    Hard economics for me I'm afraid, I'm a carer.
    That sounds like a demanding job. I bet playing with MCUs is a good way to get your mind off it at the end of the day.

    Economics, yup, know what you mean.
    I appreciate what you're saying and this forum, I really do and I don't want to cause an upset.
    No upset here, many buy from mecanique, I did not know that they are selling PBP for 20 less than Crownhill. Interesting... I have seen complaints about mecanique here, but as long as they deliver... Maybe someone else will chime in about this.

    I was looking at this http://www.myamicus.co.uk/ as an alternative but it is only for a 18F25K20 and I do not know much about it yet. I am not recommending, just showing a possible option...
    Dave
    Always wear safety glasses while programming.

  4. #164
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    Hi mackrackit,

    I appreciate what you're saying and this forum, I really do and I don't want to cause an upset.

    The difference in pricing from Mec & Corn means I can buy a PICkit2 and a
    USB/serial cable for the difference, without upsetting the wife.

    Dave
    Have you considered using free tools?

  5. #165
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    That sounds like a demanding job.
    It has it's moments (usually several a day) that said it's very rewarding.

    I bet playing with MCUs is a good way to get your mind off it at the end of the day.
    100%, I love it. We all need an interest. In a funny sort of way PIC's are very similar to us humans. They both input and output and if something goes wrong in between then there's a problem that needs sorting.

    When you asked what PIC's I had the other day.Were you thinking of any I should have in particular?

    Dave

  6. #166
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    100%, I love it. We all need an interest. In a funny sort of way PIC's are very similar to us humans. They both input and output and if something goes wrong in between then there's a problem that needs sorting.
    That is a good one!!!
    When you asked what PIC's I had the other day.Were you thinking of any I should have in particular?
    I was just wondering so we could make lessons to match your hardware...
    Dave
    Always wear safety glasses while programming.

  7. #167
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Code:
    I was just wondering so we could make lessons to match your hardware...
    Well, I'm going for the PRO_version asap. So by the end of next week I'm hoping I can pretty much use any PIC (within the confines of the PICkit1) I like.

    If you let me know what you think I'll need I can order it in.

    I really appreciate what you're doing by the way.

    Dave

  8. #168
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    Well, I'm going for the PRO_version asap. So by the end of next week I'm hoping I can pretty much use any PIC (within the confines of the PICkit1) I like.
    COOL!!!
    If you let me know what you think I'll need I can order it in.
    I think the serial parts we talked about will be good for now. That will give a way to debug and learn how to communicate with another device.
    ...Do you have a solder-less breadboard? and some miscellaneous LEDs and resistors? ...
    I really appreciate what you're doing by the way.

    Dave
    What comes around goes around...
    Dave
    Always wear safety glasses while programming.

  9. #169
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Do you have a solder-less breadboard?
    No but I saw one in Maplins the other day, I'll pick one up.

    and some miscellaneous LEDs and resistors? ...
    Yes I do, hey I'm LEDave...

  10. #170
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    If you let me know what you think I'll need I can order it in.
    Dave
    Might I suggest a LCD display?
    Getting an LCD up and running might be a good experiment, and it's also a handy tool for debugging code later.


    steve

  11. #171
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Getting an LCD up and running might be a good experiment, and it's also a handy tool for debugging code later.
    I'm game, don't forget I couldn't turn an LED on a few weeks ago though!

    Dave

  12. #172
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Is there a surplus store over there like this?
    http://www.allelectronics.com/make-a...splays-/1.html
    Dave
    Always wear safety glasses while programming.

  13. #173
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    There's RS

    They have these (and I've got an account).

    http://uk.rs-online.com/web/search/s...20Alphanumeric

    Or Maplins again:

    http://www.maplin.co.uk/Search.aspx?...=lcd&source=15

    The RS range seems far superior.

    Dave
    Last edited by LEDave; - 28th March 2010 at 19:59.

  14. #174
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    I'm game, don't forget I couldn't turn an LED on a few weeks ago though!
    Sure, most of us couldn't flash an LED when we started.
    But Mackrackit is doing a nice job of getting you up to speed, and a parallel LCD display isn't that hard to set up.

    You'll need to set up 4 pins on your PIC, all on one port for your LCD data lines, and 2 more pins for Enable and Register Select
    You'll need to make sure that those 6 pins are setup as digital outputs and any other stuff that shares those pins (ADC, comparators, etc) are disabled.
    Once the pins are set correctly then you'll add a few DEFINE's to your program to tell the PIC where to find your LCD and what pins are what.
    Like this, but with YOUR particular ports and pin numbers that you are using:

    Code:
    DEFINE LCD_DREG PORTD    'Set LCD Data port
    DEFINE LCD_DBIT 4        'Set starting Data bit (0 or 4) if 4-bit bus
    DEFINE LCD_RSREG PORTE   'Set LCD Register Select port
    DEFINE LCD_RSBIT 0       'Set LCD Register Select bit
    DEFINE LCD_EREG PORTE    'Set LCD Enable port
    DEFINE LCD_EBIT 2        'Set LCD Enable bit
    DEFINE LCD_BITS 4        'Set LCD bus size (4 or 8 bits)
    Then it's just a matter of using the LCDOUT command...
    Code:
    LCDOUT $fe, 2, "HELLO WORLD"
    or if you wanted to display the content of a variable as a decimal number:

    Code:
    myvariable		var		word
    myvariable = 3955
    
    LCDUT $fe, 2, DEC myvariable
    It's easy!


    steve

  15. #175
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Has anyone used this one? Is it any good?
    http://uk.rs-online.com/web/search/s...duct&R=5326795
    Dave
    Always wear safety glasses while programming.

  16. #176
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi B_B

    Ok, I'm sold

    These LCD's look like great fun and a really useful interface.

    When my first LED came on, that was brilliant. When my seven segment display /
    driver lit up and counted up to nine that was cool.

    These look in a different league, can't wait.

    Dave

  17. #177
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Has anyone used this one? Is it any good?
    http://uk.rs-online.com/web/search/s...duct&R=5326795
    That one doesn't look like it's got a backlight. One with a backlight would be sexier...

    Here in the US, I find these to be a good deal for $10USD.
    http://search.digikey.com/scripts/Dk...ywords=c0220az
    Don't know about UK vendors.


    steve
    Last edited by Byte_Butcher; - 28th March 2010 at 22:44.

  18. #178
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Interrupt on change (interrupt when the state of a pin changes)
    Again this is a snippet from another chip (16F873A) but it will give you something to start with.
    Code:
    ON INTERRUPT GOTO MYINT
    INTCON = %10010000   'PORTB.0 CHANGE
    
    DISABLE
    MYINT:
    IF PORTB.0 = 1 THEN
        ' DO SOMETHING
    ELSE
        'DO SOMETHING ELSE
    ENDIF
    INTCON.1 = 0
    RESUME
    ENABLE
     'THE ABOVE WILL ALSO DEBOUNCE THE SWITCH
    Dave
    Always wear safety glasses while programming.

  19. #179
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Cheers mackrackit,

    I made a little table up that other newbies who are maybe following this thread might find useful. It hinges on what you said the other day about setting the prescaler (TMR0) and using that with (I = I +1) to set up a delay of your choosing.

    BIT TMR0 Time_u_secs HZ
    000 1:2 512 976
    001 1:4 1024 488
    010 1:8 2048 244
    011 1:16 4096 122
    100 1:32 8192 61
    101 1:64 16384 30.5
    110 1:128 32768 15.2
    111 1:256 65536 7.6
    Didn't quite come out as planned and every time I edit it the changes I make it just resets.
    Still, I'm sure you get the drift (might be worth checking my figures as well though).


    Any thoughts on that LCD?

    Dave
    Last edited by LEDave; - 29th March 2010 at 16:39.

  20. #180
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I've just had a thought.

    It's probably dangerous for me to offer advice right now, no matter how well intensioned. As some of my conclusions maybe a little off the mark.

    Dave

  21. #181
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    I've just had a thought.

    It's probably dangerous for me to offer advice right now, no matter how well intensioned. As some of my conclusions maybe a little off the mark.

    Dave
    Most of mine are, does not stop me...

    LCD... Back-light would be nice but I did not see very many options from your supplier. So that is why I was looking at one with four lines.
    Dave
    Always wear safety glasses while programming.

  22. #182
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Most of mine are, does not stop me...
    LCD... Back-light would be nice but I did not see very many options from your supplier. So that is why I was looking at one with four lines.
    In the LCD product spec page (15/17) it says:
    (8) In particular do not forcibly bend the I/O cable or the backlight cable.
    So maybe it does have a backlight?

    That's for the display we were looking at:

    http://uk.rs-online.com/web/search/s...duct&R=5326795

    Page (15/17) in here:

    http://docs-europe.origin.electrocom...6b806dda19.pdf

    Dave
    Last edited by LEDave; - 29th March 2010 at 18:14.

  23. #183
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    It also list specs for a LED and EL back light.
    So I am not sure. Might be worth contacting them to find out.
    Dave
    Always wear safety glasses while programming.

  24. #184
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Might be worth contacting them to find out.
    I'll try and contact the technical department tomorrow.

    So what exactly are we after here? I'll try and find out if this one anything else they have exactly fits the bill.

    Dave

  25. #185
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I would look for one with LED back light. I think 16x4 is nice for one to use on the bench, but a 20x2 would also be OK, IMO.
    Dave
    Always wear safety glasses while programming.

  26. #186
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    So I'm after a 16x4 LED backlight LCD.

    Any other spec I should make sure it has?

    Dave

  27. #187
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Hitachi 44780 controller or equivalent. Seems like most do..
    Dave
    Always wear safety glasses while programming.

  28. #188
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I've just been in touch with RS. They're looking into it.

    I've for a 16x4 LED backlight LCD with Hitachi 44780 controller or equivalent.

    Fingers X'd

    Dave

  29. #189
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by LEDave View Post
    I've just been in touch with RS. They're looking into it.

    I've for a 16x4 LED backlight LCD with Hitachi 44780 controller or equivalent.

    Fingers X'd

    Dave
    Hi Dave. Dave suggested a 16x4 and 20 x2 lcd
    I have only seen 20x4 and 16x2, not saying His supplier doesn't sell those, only that I've not seen them. That said, here are some links to eBay sales and sellers in, dare I say it? China, where everything is made.
    http://cgi.ebay.com/16x2-LCD-Module-...item51918075ad
    http://cgi.ebay.com/HD44780-16x2-cha...item3cab6b0582
    http://cgi.ebay.com/HD44780-16x2-Cha...item3efe4469d9
    http://cgi.ebay.com/HD44780-20X4-Cha...item414e27f963
    http://cgi.ebay.com/20x4-LCD-Module-...item3a59434ceb
    http://cgi.ebay.com/HD44780-20X4-Cha...item563ae48d22

    Depending upon the trade agreements and import policys you might even get to blow off the VAT
    Last edited by Archangel; - 30th March 2010 at 23:06.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  30. #190
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    They come in all sizes.

    The one we have been talking about from Dave's supplier is a 16x4. I even have some 24x2 surplus LCDs.

    The ones I hate are the 16x1 , I got some that are really 8x2 but all on the same line...

    So basically just fine a the largest multi-line display you can afford.
    Dave
    Always wear safety glasses while programming.

  31. #191
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    They come in all sizes.
    I've got some in 2 x 20 and 2 x 24
    I was looking at some 2 x 40's and 4 x 40's at Digikey not long ago.

    Yes... all sizes.!


    steve

  32. #192
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Be aware that 4x40 LCD's are a little different and have 2 controllers (and 2 chip enable lines).
    Attached Images Attached Images  

  33. #193
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi everyone.

    After seeing Joe's ebay displays, I thought I'd have a look on ebay UK and came
    across this one:
    I was thinking of going for this one from Joe's list in the USA as it says free shipping, although it might a couple of weeks to arrive:

    What do we think.

    Dave
    Last edited by LEDave; - 31st March 2010 at 15:23.

  34. #194
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Almost forgot.

    I've bought the MicroCode Studio full program from Mecanique and haven't heard a dicky bird from them, not even an acknowledgement email.

    I've re-emailed them on both their email addresses, nothing, they haven't even sent a read receipt. And phoned them three time today, again nothing, no one answering the phone.

    I'm a little worried, although are they a small one man outfit and maybe on an Easter break?

    Not a lot I can do until someone replies to me I guess.

    Dave
    Last edited by LEDave; - 31st March 2010 at 15:34.

  35. #195
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    UPDATE:

    I've just phoned again and got through (typical), it's being sent today

    So looking forward to that arriving and no more 'you have used all your code lines prompts'

    Dave

  36. #196
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Did you only order Micro Code Studio or do you mean Pic Basic Pro with the full version of MCS?
    Dave
    Always wear safety glasses while programming.

  37. #197
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    PICBasic PRO Compiler with MicroCode Studio Plus (1)

    Please tell me it's the right one?

    Dave

  38. #198
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    That sound correct.
    Your earlier post had me wondering.
    Dave
    Always wear safety glasses while programming.

  39. #199
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit it's this one:

    http://www.mecanique.co.uk/products/compiler/pbp.html

    Have a quick look for me (I can't afford to lose another nights sleep).

    Dave
    Last edited by LEDave; - 31st March 2010 at 16:41.

  40. #200
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    That's the one.
    Sorry to scare you...
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts