![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
hi there after some of post about 16F84 PIC some of friends here invented me using from 16F628 and today i got a few but can not fond any circuit or project with them in the net!? does anyone know any link please? i will check tomorrow but before can someone please tell me if 16f628 pins are the same with 16f84? it seems they are not? thanks | |
| |
| | #2 |
|
Check my tutorials, they use the 16F628 - the 16F628 is a direct pin for pin replacement for the 16F84 (or the even older 16C84).
| |
| |
| | #3 | |
| Quote:
which part of your tutorial? i cheked it but i could not find any project based 16f628!? thanks | ||
| |
| | #4 |
|
1-7 &9,10
__________________ I'm could be wrong many time's, at least I know what I'm doing. http://shop.ebay.ca/merchant/csaba911 | |
| |
| | #5 | ||
| Quote:
[quote] which part of your tutorial? i cheked it but i could not find any project based 16f628!? /quote] See csaba911's post. | |||
| |
| | #6 | |||
|
[quote="Nigel Goodwin"] Quote:
Quote:
oh thanks Nigel that was what i forgot although i dont know how i can make the Hex or ASM files reusable for 16f628 really? | ||||
| |
| | #7 | |
| Quote:
If you've got a short program, then post it (using the CODE button to keep it formatted correctly), and I'll post it back with the required mods. It's really VERY easy!. | ||
| |
| | #8 | ||
| Quote:
thanks alot again | |||
| |
| | #9 |
|
hi everyone i waz wondering irf anyone could help me with configration,and connection pins of the pc 1602-h LCD communicating with PIC16f628 here are the links for both data sheets: LCD:http://www.powertipusa.com/pdf/pc1602h.pdf PIC:http://www.microchip.com/stellent/id...cName=en010209 thank you
__________________ ASK ME | |
| |
| | #10 |
|
Hi Guys, First time here ![]() I completed this project a few years ago: http://www.freewebs.com/defxev/player.htm based on the btc sound algo by Roman Black, but considerable work of my own went into the project, as speed/playback control was implemented, and there weren't any methods to load the EEPROM at the time, and I had to write a conversion program of my own. This was done with a 16f84A, but years later, I'm having trouble porting it fro the 16f628, or even understanding it at all after a couple of years programming with C. I was hoping to use the internal clock of the 16f628, and have a talking greeting card ready in time for Mother's Day! ![]() Any help with this would be greatly appreciated. Cheers,Art. | |
| |
| | #11 |
|
No takers? I thought it was supposed to be dead easy? I've tried pasting the 16f628 include file right at the top of my program, and setting CMCON to 0x07, which is all that I thought the migration involved, but the generated compiler errors are huge. Any tips on what I'm not doing? This source compiles and runs fine for 16f84A. The frustrating thing is that I've written other programs for the 16f628 that work fine, it's just been so long since I've touched them. This would probably have been a snap a couple of years ago. | |
| |
| | #12 |
|
Well you have to change portb to PORTB and the RAM starts at 0x20 on the 16F628
| |
| |
| | #13 |
|
Thanks, I've already gotten it working ![]() Once i turned off case sensitivity in the project, the only errors were bad RAM addresses, and I soon figured it out from the datasheet. Great that you replied though. Now I can lower the part count by using internal clock, internal pullup resistors, and disable MCLR to save another resistor. Pretty crucial when trying to fit it in a greeting card. Cheers, Art. | |
| |
| | #14 |
|
Good luck, be careful with MCLR & INTOSC, some programmers can't get the chip back into programming mode when those are set.
| |
| |
| | #15 |
|
This is a nice project. I too used that BTC application. What I did different was to use the program flash memory of the, yes its me and my 24F again, 24F family. This way I got rid of the external EEPROM, its price, its slow speed, and its volume consumption Made my own vb app to read from the BTC output of retlw 'xxxxxxxx' and convert them to a series of .pword 0x000000 for the 24F family. The resulting file is included in the MPLAB project as an include so that every time I hit build, the micro would automatically be burned with the 1-bit encoding sound fresh out the oven.So tell me, how do the asterisks in the words "f**cking" sound, like bleep bleep? | |
| |
|
| Tags |
| projects |
| Thread Tools | |
| Display Modes | |
| |