Hi Darrel and thankyou very much for the reply.
Can I ask Darrel how I should fix thiss problem,what should I type instead.
Please forgive my uninformed aproach to all this but its all quite new to me and Ive only had myself as a teacher so there are some serious gaps for me,but I love it all the same.
All the very best
O.T.
Last edited by opticaltrigger; - 20th January 2010 at 02:20.
Thanks very much Darrel for helping me with that.
I just fired it up with the amended B0s and worked exactly as it should do straight away.I wish I could tell you how excited I feel seing it work.Its my first proper program for doing a job.
If I lived closer I would buy you a beer Darrel.Thanks so much.
Im going to swap the LEDs for transistors tomorow and see how it all gets on runing proper ignition coils and making sparks at the spark plugs.
One last thing if I may.As said its my first proper program so I have no bench mark to go by in terms of its efficiency,and I noticed that you had mentioned BASIC PRO might be better.My question is does the code look ok or do you see a way it could be better,or perhaps is it as good as can be with ordinary BASIC?
I want to try and get it to run as fast as possible really.
Any comments would be great but once again thankyou very much for helping me with it Darrel.
Best regards
O.T.
Last edited by opticaltrigger; - 20th January 2010 at 22:45.
And if we ever meet face to face, I will have you buy me that beer.
Originally Posted by opticaltrigger
Im going to swap the LEDs for transistors tomorow and see how it all gets on runing proper ignition coils and making sparks at the spark plugs.
Well now that you put it that way ... That's the strangest distributor I've ever seen.
One last thing if I may.As said its my first proper program so I have no bench mark to go by in terms of its efficiency,and I noticed that you had mentioned BASIC PRO might be better.My question is does the code look ok or do you see a way it could be better,or perhaps is it as good as can be with ordinary BASIC?
When it comes to regular PicBasic ... If it does exactly what you wanted it to do, then it's the perfect program.
You seem to be on the right track, so I'm sure you'll get the "Perfect" program for the next step too.
Well now that you put it that way ... That's the strangest distributor I've ever seen.
Yeah,it does look kinda strange.
I removed the rotor arm and put the segmented wheel in its place,the wheel itself is made from the cylinder head off a radio controled nitro car engine.
But using Pure Basic to trigger your coils did not need to have killed this poor engine head ... Generally speaking, only asm interrupts can do the job ...
as your four cylinders ( do not joke ... it's not a flat 8 ??? ) distributor never will have enough accuracy in machining to give precise and separate advance values for the sparks ...
I send you an example vor a V twin engine ( site has halas been modified ... no more download ! )
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi Acetronics,and thanks for the input.
I hear what your saying on the machining tolerences but the system dosent relly on it.
Fortunatly for me this Boch distributor comes with a reluctor inside of it which sends an AC pulse to the ignition amplifier which in turn switches the coil.So its actualy still runing the factory triggering system.
I am going to conect the wire from the reluctor to four ignition amps and coils instead of just the one.
The system that I have constructed on top with the RC cylinder head is used to decide which ignition amp and coil should recive power.They are all actualy being pulsed by the reluctor at once.Ive posititioned the blades on the head to overlap the reluctor by a healthy margin on both sides also.
I have spun the distributor and tried the program and it does work,should I say it flashes LEDs anyway and all in the right places.
I have to now try applying 12v to the collectors on my transistors and conecting the emitters up to ignition amps and coils and see what a real world bench test goes like.
First before I do that (probably tomorow now) I want to conect the scope up to the factory reluctor output from the distributor and the output from my optical sensor with the four blades and see how central I was in my positioning of the head over the reluctor.
This is my first day at this stuff and Im very aware that my programing skills and understanding are seriously lacking but I thought the only way to learn about somthing is to try.Im an engine guy really and the ability to use this type of thing in that field is fascinating to me,when I think about the applications and possibilities for an engine I can get quite carried away with it.But at the moment my ideas for engine applications with this far outstrip my abbilities with programing.Still,Im having fun learning.
All the very best wishes and many many thanks for your thoughts Acetronics and please let me have any thoughts you have on it.
O.T.
Bookmarks