Search found 207 matches

by E4ODnut
Tue Apr 15, 2014 12:22 am
Forum: Dev: Hardware
Topic: Real Time Clock on STM32F4DISCOVERY
Replies: 32
Views: 30209

Re: Real Time Clock on STM32F4DISCOVERY

I'm confused. Does this mean that the inaccurate RPM issue has been solved or not?
by E4ODnut
Mon Apr 14, 2014 3:22 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Things are not going well here. I tried using my 5 volt power supply to Discovery. Ground to ground, +5v to 5v. I was able to connect to TS OK. Good, I thought. Then when I went to try USB power and Dev Console I had no RPM. Strange. I tried self triggered, PD1 to PA5. Still nothing, but I was getti...
by E4ODnut
Sun Apr 13, 2014 2:02 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

That would explain why when powered by USB I read only ~4.35 volts on the Discovery 5 volt pins.
by E4ODnut
Sun Apr 13, 2014 4:15 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Thanks.
by E4ODnut
Sun Apr 13, 2014 4:04 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

So, with this 5 volt power supply, I'm assuming that the analog board can be supplied by it as well as Discovery. How do you connect Discovery to this supply?
by E4ODnut
Sat Apr 12, 2014 2:46 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I'll do some more experimenting with TS and see what I can do. As for Discovery 2, I'd like to hold off on ordering it until you have shown that the added crystal and caps will solve the RPM issue, then I'll order them at the same time. Another issue is power supply as mine seems to give Discovery i...
by E4ODnut
Sat Apr 12, 2014 4:56 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I added a few gauges and did some changes to the properties. TS is now sort of happy but I assume that this is still a work in progress. What all can be done with TS at this point in time?
by E4ODnut
Sat Apr 12, 2014 3:52 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Swapping the RX/TX wires worked for both Hyper Terminal and TS. I wonder why?
Having said that TS is not happy. I'll do some more experimenting.
by E4ODnut
Fri Apr 11, 2014 5:04 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Hmm. No luck with TS yet so I back tracked to Hyper Terminal. No luck there either. Firmware version is 20140404@2496 Ford 1995 inline 6. Device manager recognizes the USB/TTL device.

Any suggestions?
by E4ODnut
Fri Apr 11, 2014 2:54 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I'll go back through our previous conversations and see if I can figure out how to compile the code. I'm sure I will have questions though. I tried to connect to Tuner Studio, but no joy. Device manager shows the USB/TTL as Silicon Labs CP210XUSB to UART bridge. I have RX connected to PC11, TX to PC...
by E4ODnut
Fri Apr 11, 2014 2:14 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I'm OK with the custom firmware on the simulator until it shows that it should work on the real engine, as long as you are. It's more work on your part, but I really prefer to have things working on the simulator before I try it on the engine. Discovery all by itself on self stim so there is no outs...
by E4ODnut
Thu Apr 10, 2014 3:31 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I would prefer to use my existing Discovery and work the kinks out on the simulator just in case I screw something else up. If this presents a major problem I'll order a new one. I tried your request and I get what you get, except I get it on both PB9 and PE3. Plugged into both boards with my PIP si...
by E4ODnut
Thu Apr 10, 2014 4:31 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I made an error connecting the outputs on the injector board. I do have SPOUT on PC15 (inj-06) and Fuel Pump on PC13 (inj-05) but I don't seem to have any signals on PB9 (inj-01, or PE3 (inj-03). I checked for signals on the other output terminals but I see nothing.
by E4ODnut
Wed Apr 09, 2014 4:57 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I made some observations. With PIP frequency ranging between 49.91 hz and 50.5 hz. Consol was showing ~1135 to ~1150 RPM. It should be showing ~998.2RPM to ~1010 RPM. I don't know why we have that discrepancy. With TPS voltage at 2.505v, full scale of 5.01v and zero scale of 0.000v, Consol is showin...
by E4ODnut
Wed Apr 09, 2014 1:26 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Major breakthrough! I measured the cap with my Fluke 87 and it showed 0.0097uf, so I assume the .01Z means 0.01uf. I was experimenting moving it around from PIP to the other analog inputs on Discovery. I found it really wanted a short connection to ground. If I used a jumper wire the effect was a lo...
by E4ODnut
Wed Apr 09, 2014 12:31 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I'm pretty sure I have a few of them kicking around. What would you like me to try?
by E4ODnut
Tue Apr 08, 2014 11:57 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Revs from the stim are better, but far from perfect. My analog inputs are very jumpy. We may have a clue as to what needs to be fixed, but it is far from fixed.
by E4ODnut
Tue Apr 08, 2014 4:34 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I don't think I'd go as far as to say it is fixed, but it looks like it is a step in the right direction.

I'm in over my head here, just trying to see what might work. Time for someone with formal training in electronics to offer an opinion.
by E4ODnut
Tue Apr 08, 2014 4:21 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Thanks. Update. Working on the theory that the signals to Discovery need some sort of filtering a grabbed a capacitor out of my bins and with the scope disconnected and RPM all over the place I connected the cap between PA5 and ground. RPM settled right down. I don't know what the value of the cap i...
by E4ODnut
Tue Apr 08, 2014 4:11 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Here's a clue. Discovery is not plugged into the boards. I have a ground jumper from my 5 volt power supply to a ground pin on Discovery so they have a common ground. With PA5 connected to PD1 and my scope ground on the same ground pin on Discovery that I have my ground jumper on and the probe on PA...
by E4ODnut
Tue Apr 08, 2014 12:35 am
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Jared, Did you see the photos of the wave forms on my scope? USB is from my desk top computer. I looked for ripple on my power supply but it's about as steady as it gets, other than from a battery. The circuit is designed to drive an input pin on MS, but it's not connected to MS, it's connected to D...
by E4ODnut
Mon Apr 07, 2014 10:35 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Yes. My 5 volt power supply is connected to 5v and ground inputs on the analog board and Discovery plugs into the analog board. I have continuity between Discovery ground pins and the ground terminals on the analog board.
by E4ODnut
Mon Apr 07, 2014 10:23 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

I tried another thing. I have Discovery plugged into the boards, but I'm getting the PIP signal from PD1. RPM is nice and steady at 1200+_2, but TPS, IAT, CLT and AFR are jumping all over the place. Input signals to them is nice and steady. It's a long shot, but could it have something to do with th...
by E4ODnut
Mon Apr 07, 2014 8:53 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

OK. I finally figured out how to bring up the reference lines or grid on the scope. Using the markers the resolution is a bit coarse but it corresponds pretty close to the scope meter read outs. In the photos of the wave forms ground reference is the bottom of the waves. My new found knowledge, whic...
by E4ODnut
Mon Apr 07, 2014 6:53 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

nope
by E4ODnut
Mon Apr 07, 2014 6:27 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

When I connect to PD1, the internal pulse generator I get a crisp square wave at 1.413 volts according to the scope. The wave form is no different than the form my stimulator generates. As far as the ms/div and v/div display goes, that's the difficulty with operator part. I haven't figured out how t...
by E4ODnut
Mon Apr 07, 2014 5:52 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

R11 is not needed when connected to MS because the 908 CPU has internal pull-ups for input pins. I am using it in this case to get a 5 volt referenced signal for the analog board or Discovery. I have no idea what C8 does, I just copied a circuit that worked.
by E4ODnut
Mon Apr 07, 2014 5:38 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

The photo showing Discovery with the scope in the background shows the scope connections to ground and Discovery PA5.
by E4ODnut
Mon Apr 07, 2014 4:37 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Here's the setup for testing the PIP signal only and what the Dev Consol reports. As you can see, no spark plugs, injectors or any other thing that should make noise. Interesting!
by E4ODnut
Mon Apr 07, 2014 4:34 pm
Forum: You and your build
Topic: 1995 Ford E-150
Replies: 350
Views: 237627

Re: 1995 Ford E-150

Some scope shots.
My Fluke 87 read output from the signal generator at 6.11v, 50hz, 50.7% duty cycle. Output from the 5v conditioner read 2.49v, 50hz, 50.7% duty cycle. 50hz for a 6 cyl 4 stroke is 1000 RPM.