Search found 3736 matches

by jbelanger
Sat Nov 23, 2019 5:48 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

And I should add that you can replace the equation with the simpler version: 12333.3333 / gpiopwmin0 This just does the pre-computation of all the fixed values into a single value. And then you can adjust this 1233.3333 value to get your expected speed. This will have the same effect as what I menti...
by jbelanger
Sat Nov 23, 2019 5:37 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Roger, How accurate are the 118.4 mph and 1800Hz you quoted before? And how accurate is your theoretical speed on the lathe? If any of those are not accurate, that will lead to an apparent error. The timer should be much more accurate than this assuming the computation use the correct values and you...
by jbelanger
Sat Nov 23, 2019 3:42 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Actually, it was misleading when I mentioned using all the default values. That was only on the TIOx side. On the MS2 parameters you show, you need to change the CAN ID from 5 to 4 and the offset from 58 to 28. And you can use pretty much any diode but small schottky diodes will do such as SR104. Jean
by jbelanger
Sat Nov 23, 2019 1:11 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Yes, this is where you would enter it. But you will need to change 'pwm_in' with the correct channel name from the list TunerStudio provides you. If your project contains the TIOx channels then that is the easiest way to go and you would use 'pwm1'. If you only have the MS2 channels then you would n...
by jbelanger
Sat Nov 23, 2019 1:41 am
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Roger, Glad to see it's working well. A few mV of difference between the computed and measured results is not unexpected because there are many places where the component tolerance will have a small impact. And I think your results are probably better than what you'd get from many OEM speedo gauge i...
by jbelanger
Fri Nov 22, 2019 5:51 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Yes, PWM is the Hall sensor signal. If you want to give it a try, you can simply enable the PWM inputs and use the defaults for the rest of the settings (which will give you the 128 prescale in my computations above). And using your lathe setup, you can connect the Hall sensor to TPM1CH0 on the TIOx...
by jbelanger
Fri Nov 22, 2019 5:09 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

Roger, You don't need R2 in your last picture because the output of the LM2907 already provides the voltage. But the rest will work. If you find out that there is more noise than you want, you could increase C2 to 1uF or more. But you can also use the software to increase the filtering by lowering t...
by jbelanger
Fri Nov 22, 2019 2:27 pm
Forum: I/O Extender
Topic: TinyIOX - Speedo Input From LM2907-8
Replies: 17
Views: 81

Re: TinyIOX - Speedo Input From LM2907-8

First, what is the purpose of the speedo input? Is it only for data logging purposes? With the MS2, this is the only way to use a speedo input as far as I know. In that case, you could use a timer input instead and ignore the LM2907 circuit. There is also something I don't understand in your picture...
by jbelanger
Wed Nov 20, 2019 8:05 pm
Forum: Dual VR
Topic: 2.1 dual vr conflicting with ms3 vr possibly?
Replies: 8
Views: 77

Re: 2.1 dual vr conflicting with ms3 vr possibly?

Check your wiring and all the connectors from the sensor to the ECU. Don't assume any of it is fine and check that it doesn't change if you wiggle the wire at the connector.

Jean
by jbelanger
Tue Nov 19, 2019 1:12 pm
Forum: 4-Channel Driver
Topic: Rx8 COP
Replies: 1
Views: 24

Re: Rx8 COP

Hi and welcome to the forum.

This is really an MS question so you would have a lot more views on the msextra forum and more chance to get a meaningful response. Unfortunately, I am not familiar with the details of the rotary modes so I cannot really help you.

Jean
by jbelanger
Sun Nov 17, 2019 9:59 pm
Forum: JimStim
Topic: 3.1v on CPU socket Pin 2
Replies: 9
Views: 87

Re: 3.1v on CPU socket Pin 2

Since you're going to replace Q1 and Q2, check the voltage on pins 15 and 16 after removing the current transistors and before putting the new ones in. And check that they are not connected to anything (ground or 3.3V). And check that R21 and R24 are only connected to pins 15 and 16, respectively, a...
by jbelanger
Sun Nov 17, 2019 1:48 pm
Forum: JimStim
Topic: 3.1v on CPU socket Pin 2
Replies: 9
Views: 87

Re: 3.1v on CPU socket Pin 2

There is no way to actually have negative voltage on the board so there is something not quite right with the way you are taking the measurement. Having said that, the only way you can have voltage on those pins if there is something bad with Q1 and Q2, is if you have installed the pull up jumpers. ...
by jbelanger
Sun Nov 10, 2019 12:50 pm
Forum: I/O Extender
Topic: Should TinyIOx use main ground or sensor ground?
Replies: 2
Views: 62

Re: Should TinyIOx use main ground or sensor ground?

The TIOx ADCs use the ground on the TIOx board as their reference. The MS sensor ground is for reference for its own ADCs. So you should use a (clean) power ground for the TIOx. And that ground is also used for the CPU and the other chips on the TIOx board which is another reason not to use the MS s...
by jbelanger
Sat Nov 09, 2019 8:12 pm
Forum: I/O Extender
Topic: VSS signal connected to TinyIOx or not?
Replies: 4
Views: 64

Re: VSS signal connected to TinyIOx or not?

You're correct that reducing the number of teeth will lower the amount of processing on either the TIOx or the MS3 when the input is directly connected to it. However, it is not correct that having polling already for the ADC means that polling for the PWM input will not add significant overhead. Th...
by jbelanger
Sat Nov 09, 2019 6:33 pm
Forum: I/O Extender
Topic: VSS signal connected to TinyIOx or not?
Replies: 4
Views: 64

Re: VSS signal connected to TinyIOx or not?

The first thing is to establish which function(s) you want the VSS to be used for. Is it only for logging vehicle speed or do you also want to use the speed for other things such as traction control? That's more important than whether or not the mainloop time is increased. And, by the way, I won't b...
by jbelanger
Fri Nov 08, 2019 11:06 pm
Forum: Dual VR
Topic: V2.1 Grounding
Replies: 1
Views: 118

Re: V2.1 Grounding

Connect it to the power ground (the proto area ground on the V3.0 board, for example). The sensor ground is for the analog sensors (ADC inputs).

Jean
by jbelanger
Fri Nov 08, 2019 3:33 pm
Forum: Dual VR
Topic: 2.1 dual vr conflicting with ms3 vr possibly?
Replies: 8
Views: 77

Re: 2.1 dual vr conflicting with ms3 vr possibly?

You can still use the on-board voltage regulator even if the board is inside the MS case. Actually, I would recommend it since the components are there. Just use a 12V source on the MS board and you will still have a 5V output from the board. With a pattern having such a small number of teeth, you s...
by jbelanger
Fri Nov 08, 2019 1:24 am
Forum: JimStim
Topic: 3.1v on CPU socket Pin 2
Replies: 9
Views: 87

Re: 3.1v on CPU socket Pin 2

Is it possible that you have too much solder which has shorted pin 2 to either one of the other pins on the socket? It's easy to see on the bottom of the board but pretty much impossible to see if that happens under the socket. You might want to try to use solder wick to remove some solder on pin 2 ...
by jbelanger
Thu Nov 07, 2019 10:53 pm
Forum: Dual VR
Topic: 2.1 dual vr conflicting with ms3 vr possibly?
Replies: 8
Views: 77

Re: 2.1 dual vr conflicting with ms3 vr possibly?

Bypassing the MS on-board circuit is the normal way to install the dual VR board but this is als done with the board inside the case. Having the board outside the case means that this by passing is more risky. You don't mention which wheel type you have as this has a significant impact on what could...
by jbelanger
Thu Nov 07, 2019 10:47 pm
Forum: JimStim
Topic: 3.1v on CPU socket Pin 2
Replies: 9
Views: 87

Re: 3.1v on CPU socket Pin 2

You're not reading the schematic correctly as pin 1 and pin 2 are not connected together.

Jean