The Shop > Electronics & IC Programing
X AXIS Driver
Bluechip:
Driven by a H-Bridge on the end of a PIC 16F886.
PIC code done in HiTech C
Finally managed to get the damn thing to ekkle..... :scratch: .. or very nearly. :palm:
First version allowed direction changing at max rate ... not a good idea, I found.
Frightened me to death once or twice. So now the code has some interlocks poked in there.
But the original PCB didn't suit, so another made ... wrong ... so the third does actually work ...
Does it ever end ???
Just found out it doesn't stop, so I realise I've left a....
DO { xxx } while ( run_switch == 1) off the code ... :zap:
Sorry it's on Photobufferin'
And it ain't that noisy either ...
Dave
kwackers:
IME you should fit a programming socket to the casing to save dismantling it when you need to tweak the code.
Software is never finished, you simply get bored of adding new features.
HS93:
That sounds great any chance of a bit more info on how it is made please
peter
Bluechip:
EDIT ooops ... not DMIOM :palm: Hi Kwackers Yes, it should have a ICSP socket. :palm: No excuse for not having one, the PORTB pins used for ICSP are not used ... neither is the RE3 [?] pin .... bu99er, yet another PCB ...... :Doh:
Peter .. what, like a build log ??? Can do one if you want. Gotta take it all to bits this aftrenoon to get the PIC out and reprogram it ..
Piccys if you want them, except if I do any of the copper side of the PCB's they're crappy. No idea how to get rid of the reflection ... :scratch: tried it before ...
Off now doing a 'hunter gatherer' act at Sainsburys. Either that or starvation ... :lol:
Dave BC
Bluechip:
Here you are Peter ... piccys
Bottom left is a 15 0 15 transformer, far too big for the application, but it was hanging about doing nowt so it got butchered and nailed in. Edgewise is a Full Wave TO247 rectifier to a 4700uF 35VDC cap. gives some 22VDC offload.
H-Bridge PCB
The 22VDC is fed to a pair of 78S15 regulators paralleled off and jacked up with a 180R resistor in the ground connection to give some 17VDC to the motor h-bridge. Also on that h-bridge board is a 7805 for the PIC supply and a 7812 for the fan.
Also a comK and a comA dual diode for back emf supression. ( bottom right ).
The two DIL8 chips are TC4426 & TC4427 MOSFET drivers as a buffer between the PIC and the MOSFETS.
Processor PCB
Just a PIC 16F886 and a ULN2803A to drive the LEDs. Plus a few resistors to limit LED current.
edit just thought .... can do a layout piccy ..
Last is a snip of the H-Bridge silk screen .. shows the components.
No it ain't. Last is a snip of the copper side, crap image, the actual print offf the laser is much sharper ..
Navigation
[0] Message Index
[#] Next page
Go to full version