Cafe Racer Forum banner
1 - 20 of 28 Posts

· Premium Member
Joined
·
7,411 Posts
Discussion Starter · #1 ·
Anyone here have decent experience programming and interfacing devices with Microcontrollers such as the "basic stamp"?

I've just got a little prototyping/programing board with a basicstamp...looking for someone with lots of experience playing with them. Seems fairly straightforward so far...just modified Basic Language. I'm going to eventually need help with the I/O. I'm looking to build a programable CDI ignition based on these chips or similar.
Besides not wanting to spend $1000+ on a store bought unit...most of them I've seen would not be suitable for my application anyway.

I want to intercept the trigger signal of the CDI unit that dumps the capacitor to the coil and delay it based on a rpm map.
JohnnyB
 

· Premium Member
Joined
·
10,189 Posts
dude,

i have no idea what your talking about. i can operate my mr. coffee machine. i'm an english mjor, not an engineer.

just thought i'd solicit my opinion on this thread.

carry on!

tex
 

· Premium Member
Joined
·
7,411 Posts
Discussion Starter · #3 ·
Your coffee machine probably has a micro-controller very similar to the PIC16C57 that I'm talking about.
It's not rocket science....if you can comprehend Ayn Rand you can do this.
JohnnyB
 

· Registered
Joined
·
3,551 Posts
i work with a guy whose son goes to wit. he can basically remap any chip on his laptop. he specializes in porche 944turbos. basically he can control his air/fuel mix at any rpm range and make adjustments on the fly. ill bet he knows a thing or two about what you are talkin about.


dude
 

· Premium Member
Joined
·
7,411 Posts
Discussion Starter · #9 ·
Very similar to what I'm doing.
The programming isn't that big a deal..it's designing the hardware that I'll need help with. I can do things like program a microcontroller to move servo motors, light shit up...etc..based on an internal "map" of values. What I need is someone that knows both Microcontrollers and CDI ignitions. So I can mate the two of them.

The basics are...the rotor/stator charges a big capacitor...that holds the charge until the "brain" tells it to discharge into the main ignition coil...and from there it goes to the plugs. What I have to do is grab that signal from the brain, hold on to it a predetermined amount of time that is called from an rpm table....( like if the engine is turning 5,000 rpm the timing is 35 degrees...if it's 10,000 rpm it's 45 degrees). Which means I need an rpm input too.
The fundemental system is not really complicated....but hooking it up to the right components in the right place is where I need help. I mean if you hook up a MicroController the size of your little fingernail to the wrong wire in a 40,000 volt ignition system...well you can imagine that it would become a $50 little ball of glass real quick.
JohnnyB

The upside is....if I can perfect the system I'm looking a street bike grunt at 6,000 rpm...and max hp at 12,000 rpm.
 

· Registered
Joined
·
3,551 Posts
it is where the money is these days. you wont get rich sanding,welding, sweating... only by pluggin in your laptop and remapping chips or designing cdi's.

the kid totally took his laptop apart and reconfigured it to read and remap these chips. he is working with this tuner who builds 600 hp 944's once this kid plugs his computer in he can elimnate engine knock.. etc. the kid goes to the racetrack with his gear and leaves with a crapload of cash. pretty cool if ya ask me

dude
 

· Premium Member
Joined
·
7,411 Posts
Discussion Starter · #11 ·
Oh snap...I can imagine.
I remember the first time I took my 97 Roadking in for servicing...I told the Harley "wrench" it was idling a little high...he took out a thing like a big calculator...pluged it into the harness, punched a few buttons and it slowed right down.
I can imagine that tweaking maps at the track could be some good money. Even on bikes 80% of the people with Power Commanders can load maps but have no real idea how to create or modify the ones loaded in the box.
If someone made a $500 programmable ignition compatible with my PVL I'd be ordering it right now.
In fact...I think I'll go look around before I get too deep in this.
JohnnyB
 

· Premium Member
Joined
·
10,189 Posts
johnny,

next time you need a bitchin' cup of coffee, call me, i'm a fuckin' wizard with my mr. coffee!

i'll tell you all about vonnegut instead! i find rand a little BORING! at least she isn't a hack like kerouac!

sorry i can't help you with that other stuff.

tex
 

· Premium Member
Joined
·
10,189 Posts
johnny,

i love pissing off these hippies who think kerouac is some sort of prophet. he is a second rate author. pulp fiction at best.

tex

p.s.- on all sixes, bitches!
 

· Registered
Joined
·
2,970 Posts
I've screwed around with this a little and have done some ignition changes for modern shit. My Basic isn't that great but if you think you need me for anything let me know. I was planning on trying it with a Hall Effect Sensor, but I kinda felt like I was re-inventing the wheel.

Aaron

Hey cafeteria_racer, do you have any know how with this sird of shite?
 

· Premium Member
Joined
·
7,411 Posts
Discussion Starter · #20 ·
I've joined one of the yahoo groups dealing with the megajolt stuff...thinking maybe some of those brainaics can help.

If the PVL had a trigger like the mag/cdi on Mary's little bike it would be no problem...you just pick up the signal from there...delay it based on an rpm input and you are good to go.

The PVL has no trigger...so I'm not sure where to pick up the signal...or maybe it doesn't have one...maybe just the collapse of the stator field causes the capacitor to dump to the ignition coil.

It probably wouldn't be too hard to just build a new CDI box that plugs into the PVL wiring. The programming would be pretty simple...lots of math...but not much programming. Using something like:

LOOKUP index ( delay1, delay2, delay3) etc.

Where "index" is a variable calculated from rpm. The LOOKUP command would tell it to pick delay 1 or 2 or 3 etc. The index variable just tells LOOKUP where to jump to in the list to find the right delay value.

The microcontroller could probably handle the rpm sensing too...based on the frequency of the signals it's trying to delay. I'd probably build a timer circut using a 555 IC timer though and have that dump a byte to some inputs on the microcontroller so it could just read the rpm values without having to do the work itself. The BasicStamp doesn't like to do two things at once.

I think I can handle the microcontroller end...what I gotta find is someone REAL heavy in CDI design. I see lots of fancy schematics for CDI out there...but I just need a bare bones design.

I'm trying to avoid having a trigger pickup on the rotor...just another thing to have to mount, wire and adjust.

But....I got a feeling about this...I think our 175's would really like this. I'd love to have my timing at around 30-35 degrees when I'm grunting up a hill at 6000-7000 rpm...and then up to 47 degrees at 11,000 rpm. I bet you'd pick up 2-3 hp in the mid range. The engine just can't like 47 BTDC center when it's lugging WOT at 6,000 rpm.
JohnnyB

PS. What's weird is if I had mechanical advance...I could program the microcontroller to move the advance plate based on rpm with a servo motor and write the program in one night. Rube Goldberg would love it.


Edited by - jbranson on Feb 15 2006 03:17:16 AM
 
1 - 20 of 28 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top