See, I've done all of that....it doesn't work....
I'll even make a video and post it to show you what I'm doing.
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished
Please post on the forums! Chances are, someone else has or will have the same questions as you!
also bring up a virtual brain and take a screenshot please. That will show everything if it is there or not,
that is the checkbox in the wizard I mentioned or go to debug select enable debugging and a virtual brain. You will have to enable debugging anyways so use the bug icon in the configuration main page.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Video is posted...now you'll see what I mean. I didn't go into detail since I was going to post a video of it. It's essentially the same as what I've described above.
Red wire is facing towards the inside of the board.You may have the sensor connected backwards. Which way is the red wire facing? It should be facing the middle of the board.
Where? I don't see a virtual brain option anywhere....should it be in the start menu under the FB folder? If so, I don't have it there. Do I bring it up under the Control Centre Configurator? If so, I don't see anywhere to do so.
So....I put the check mark there, but now what? I still don't see where to get that to come up.that is the checkbox in the wizard I mentioned or go to debug select enable debugging and a virtual brain. You will have to enable debugging anyways so use the bug icon in the configuration main page.
If I go to debug and set all of that up, then I get the Virtual Brain to come up, but I get nothing showing. Image attached.
The Variable Debugging Form reads as follows: variable_temperature_sensor <-> -20.4813098907471
I'm sure this is something simple. However, without any instructions anywhere, it's not as simple as one might think.
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished
Please post on the forums! Chances are, someone else has or will have the same questions as you!
If you got that window to popup, then you have got the Virtual Brain to show up. Now, it is showing 0 for every analogue input. This means you have no communication at all with the hardware, or really do have nothing hooked up. And since it is reading 0v, the temperature function based off of a reading of 0v, is correctly -20.48.
So to test the software, click the Override Input stream button. One of those analogue input text boxes will enable itself that coorsponds with the temperature sensor input. (Port 0 in my example). Type in something like "2.0" without the quotes, and click "Inject Values". This will simulate the FB giving the software a 2.0 value. You should see your analogue input label in MDX now show a different number as if the FB gave it 2.0v. If all is well your software is working based off of what you told it to do.
Now the problem is communicating with the actual FB. Did you set the VID/PID like I said by clicking that blue button on the Add Fusion Brain part in the wizard. When you open the configurator, and see the pane on the left with the images, click the brain one twice to bring up all Fusion Brain instances. One of them should be named "fusion brain a" since that is what your virtual brain tells me. Double click that one. Take a screenshot of the of the Brain Instance box that pops up. I want to see your VID/PID area. Also go to Device Manager, go to Fusion Brain and get to the Driver Info. Under the Details tab, there will be one that lists hardware ID or Instance ID or something similar. (It depends on XP/Vista, and even what version of XP (Pro/Home/SP1/SP2/SP3) and version of Vista (all 5 of them and SP1 too) on what will be the exact wording) It should look like "USB\VID_04D8&PID_000C\5&6CE8D0A&0&1" but with a different instance ID after the VID/PID
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
I followed your video, exactly, paused between each step even....
When I run it in debug mode, I get the virtual brain that comes up and gives me the attached screen shot.
When I look at the control centre screen, I see the second screen shot.
It's still showing up as a seemingly random...not as a temperature.
I'm wondering if this means this is a bad sensor? Because I'm really feeling like an idiot right now....
It seems like it's not getting an accurate voltage reading....I mean....fluctuating between 0.00 and 0.01 isn't going to give me a temperature according to the calculations used....it's going to give me a number, but not the number I'm looking for.
Not sure what I'm doing wrong.
Maybe I should go buy these parts at Rat Shack tonight and make a new sensor?
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished
Please post on the forums! Chances are, someone else has or will have the same questions as you!
I'm not sure what I did wrong to get the first screen shot of the virtual brain...but when I followed h3rk's video, and now when I've used the configuration wizard again, I get voltage to show up just fine using the virtual brain....and selecting the checkbox for override input stream and manually entering numbers works great.
I can enter values and get a Celsius reading to come up in the control center....but I'm having to enter numbers like 0.95 or 1.7, not the 0.01 like it's seemingly reading. This brings me back to thinking it's a bad sensor....
Do you want me to split off these posts since this has really gone off of the thread topic and more of a troubleshooting issue? I'll be happy to.
From the Configuration Program I get the following VID/PID: usb\vid_04d8&pid_000c\5&1b551a65&0&1Now the problem is communicating with the actual FB. Did you set the VID/PID like I said by clicking that blue button on the Add Fusion Brain part in the wizard. When you open the configurator, and see the pane on the left with the images, click the brain one twice to bring up all Fusion Brain instances. One of them should be named "fusion brain a" since that is what your virtual brain tells me. Double click that one. Take a screenshot of the of the Brain Instance box that pops up. I want to see your VID/PID area. Also go to Device Manager, go to Fusion Brain and get to the Driver Info. Under the Details tab, there will be one that lists hardware ID or Instance ID or something similar. (It depends on XP/Vista, and even what version of XP (Pro/Home/SP1/SP2/SP3) and version of Vista (all 5 of them and SP1 too) on what will be the exact wording) It should look like "USB\VID_04D8&PID_000C\5&6CE8D0A&0&1" but with a different instance ID after the VID/PID
From the device manager, I get the following: USB\VID_04D8&PID_000C\5&1B551A65&0&1
Copied and pasted from each directly.
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished
Please post on the forums! Chances are, someone else has or will have the same questions as you!
It does kind of look like a hardware communication issue now, although that 0.782 on the first screenshot, without injecting values, kind of looks like it's working properly. Maybe short an inside pin to the outside, making it so that the input pin reads 5V (using the virtual brain window). That shouldn't hurt anything, and it will let you know if your brain is working properly. It would also stop you from having to buy more sensor hardware prematurely. A small potentiometer (10K) is good for this kind of testing too.
Squeeze the pins with your fingers or jumper it. You should see the voltages go way up. If it is reading 0.0782, that is not zero, meaning it is reading something, and the problem is not driver/communication but hardware. Probably incorrectly setup, or damaged.
If you try and read in something else, like jumpering it, squeezing it, or a different sensor and it works, then we can narrow the problem to the temp sensor.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Jan Bennett
FS: VW MKIV Bezel for 8" Lilliput - 95% Finished
Please post on the forums! Chances are, someone else has or will have the same questions as you!
Bookmarks