Hi Sid
I hope you mean pickit2 it has more options uart etc.
With the xtal I did not try other values of caps with the watch xtal
I also have a xtal collection but i got the 10x13 xtal from jaycar
cheers
6666
Announcement
Collapse
No announcement yet.
DSPIC30F4012 v230 Source Code
Collapse
X
-
Hi 6666, good to hear you got the PIC running. I am still working on mine. Have taken your advise and purchasing a genuine PicKit3 as my attempt at the self made programmer failed.Originally posted by 6666 View Post
A word about the Xtal, I could not get a small 10Meg watch Xtal to work, but the larger 13mmx10mm works fine.
Regards to the smaller size crystal not firing the PIC.....Did you try coupling the crystal with lower values in Pico Farad, say 5pf-5pf. Wanting to know as i have over 400 crystals of all types and values and some are of the smaller type. Will try myself when i get around to firing the PIC up with crystal if you have not already done so.
Cheers Sid
Open Project Code of Conduct V3.0 Participant
Leave a comment:
-
FINALLY
after a long time,
got this project to fire up on the bench, with the LCD,
only on bread board, but it displays past bootup, and still is giving pulses
no encoder just yet, so still need to try and talk to chip,
next a pcb of some sort.
Thanks Moodz
cheers
6666
some pics for your viewing pleasure
Leave a comment:
-
I should also mention the Xtal capacitors to ground,
now onto making the LCD work.Attached Files
Leave a comment:
-
Late last night I revisited this 4012 project with the aim of trying to find out the minimum number of leg and power connections to get the chip working so it can be tested for pulses.
With the chip loaded with the default hex, and the 10Meg Xtal on pins 9-10,
here goes, pins 20-28, and 19-27, thats it.
A word about the Xtal, I could not get a small 10Meg watch Xtal to work, but the larger 13mmx10mm works fine.
Attached Files
Leave a comment:
-
Hi
Has anyone here made a lay file for this project so i can make a pcb or even a black and white print would do.
I prefer through hole if you got one, if not smd will do, otherwise have to do my own.
Thanks in advance
Dave
Leave a comment:
-
Hi Moodz
yes horse power vs economy
I did not measure the current being drawn by my 4012
cheers
Leave a comment:
-
The uC is over clocked to allow the fine timing. The internal PLL is running at 16x ...so the 10 Mhz crystal provides a 160 MHz cpu clock ( which at 4 clocks per instruction provides 40 MIPs ). The chip will run quite hot at this speed. However you do get alot of processing power and the timing steps are 25 ns.Originally posted by 6666 View PostHi
I have had a 4012 running for about 1 hour with no LCD connected
still was pulsing ok
I see on the other thread your uC is drawing 250 ma
maybe moodz could think about reducing the clocking a bit, for a xtal that's easy to get
(more calculations )
or we need a switch to turn off the lcd
The tradeoff is performance vs power saving ... I prefer to leave optimising power saving till after functionality is completed.
moodz
Leave a comment:
-
6666
I'm going with UNIPI_DS_230 REV003A for now, it'll be on it's own PCB with a combination of smd's and throug the hole parts, i'm going to use jumpers between different sections so the testing will easy.
i'm wondering if paul going to use the "THAT" op amp on his next revision, or replace it with the mcp3903.
philip
Leave a comment:
-
Thats an easy fix
I am just thinking of being out in the field
and battery life
will be interested in your front end
any clue as to which way you will go ?
Leave a comment:
-
6666
I'm thinking he's trying to get everything possible from the dspic's so I'm going to add a resistor to the ground of the 7805 just to get the added .2 volts, easy fix.
next item to build is a front end, going to make a board for that too.
philip
Leave a comment:
-
Hi
I have had a 4012 running for about 1 hour with no LCD connected
still was pulsing ok
I see on the other thread your uC is drawing 250 ma
maybe moodz could think about reducing the clocking a bit, for a xtal that's easy to get
(more calculations )
or we need a switch to turn off the lcd
Leave a comment:
-
i did have to increase the supply to 5.2 volts to keep the dspic locking up.. this held true on the 4011 also....
Leave a comment:
-
moodz on a pcb
hello,
here's a few pictures of my project so far...
i used a pickit 3 to program the devices. in programing the chips, i found that becuse the
code protect bit is set, the Verify function will display an error!!!!
example:
Address: 00000000 Expected Value: 00040100 Received Value: 00000000
Verify failed
The fact that the Received Value has changed from the eprom blank state indicated
the chip is programed!
Also, another important fact!
i was able to program the chip on the power supply by the pickit 3,
HOWEVER for the cicuirt to operate, IT MUST HAVE A GOOD 5 VOLT SOURCE.
PhilipAttached Files
Leave a comment:
Leave a comment: