better than nothing i guess.. post it and also post your code and .HEX file
better than nothing i guess.. post it and also post your code and .HEX file
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ok. The PCB looks a bit crowded so it might be hard to look at. Some components are under the PCB thats why they seem to overlap.
The code isnt the final version but it worked perfect on the breadboard tests
Your .HEX says that you're using a XT osc... but your code says... DEFINE OSC 16... it has to be HS
MCLR is enable.. not sure you handle it on your PCB or if you're using it as i/o in your program.. not seen in your program 'till now...
Now you see some advantage to set the fuses in your code?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I have to set the fuses in my programmer. I do set them to what you said.
Anywho. I found the problem. I tried linking the serial output directly into the serial input (NO circuits at all) and it didnt work. Aparently ive blown my USB<>Serial adapter up earlier when my circuit started smoking. Ive tested it in a standard serial port and its working
Sorry to have bothered you but thanx for the output>input idea. Cant believe i didnt think of that before
Ive just done some checks and yesterday i successfully blew up:-
1 X MAX232 chip
2 X 1K Resistors (violently)
2 X PIC chips
1 X Tri-color LED
2 X Diodes
1 X USB<>Serial adapter
Not a bad day!
Im making 2 circuits and the other one is now working perfectly. Nothing has blown up yet. I did happen to order spare PIC chips, LEDs etc and i got boxes of 1000 resistors so that all ok but the Maplin store near me only stocks 2 of the MAX232 chips at a time and wont get anymore in till Jan
Does anyone have any interesting ways of removing a chip from a PCB? Unfortunately i didnt have any DIL sockets that fit the MAX232 so now i have to remove it. Anyone have a good way of getting chips out?
There's almost nothing a good hammer couldn't remove
Is this a 2 layer typ (cop. on both side) or single?
Usually, a mix of desoldering pump and clean solder wick do the job.
EDIT: nice google... http://www.epemag.wimborne.co.uk/desolderpix.htm
Last edited by mister_e; - 8th December 2007 at 12:53.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Solder Wick.Does anyone have any interesting ways of removing a chip from a PCB? Unfortunately i didnt have any DIL sockets that fit the MAX232 so now i have to remove it. Anyone have a good way of getting chips out?
Heat the connection and use compressed air to blow the solder away.
Hot air gun.
Wire cutters![]()
Dave
Always wear safety glasses while programming.
Sounds like fun
I dont have a desoldering tool. Ill have a look for one when i go to the Maplin in Nottingham. Not sure where i would get compressed air from but i think i could put something together. Other than that i look like cutting the pins off the chip with a stanley knife and desoldering them 1 at a time.
Im gonna see if Maplin have some DIL sockets too and hopefully when i turn it on again it wont start smoking.
Thanx for the suggestions
Hi, the easiest way to verify to circuit (at least the max232 part) is to put a jumper between tx and rx pins (ttl section), so everything you write down to the PIC will be send it back to the computer, remember this is just to verify the max232 part. For the PIC section you must write a little code to turn on and off a pin every time the PIC receive a message from PC. At least this is what I do every time I want to be sure my hardware works correctly.
Regards
Bookmarks