Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain


Reply
 
Share Thread Tools Display Modes
Old 01-30-2009, 01:39 AM   #1
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
Brain temp reading incorrect...

I'm convinced I am doing something wrong.

I have hooked up my brain up and hooked up a temp sensor.

According to the brain it's really cold in here.

-5F, -20.48C

I thought I might have been looking at the wrong Analog input so I read them all and they all read the same thing. I'm assuming that it is the 0V reading.

Any ideas as to what I have screwed up?

I've done this with the ninja kitty and without. Same result.
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 01-30-2009, 01:47 AM   #2
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
-20.48 is the 0v reading meaning no info is getting passed to use whichever input.

Which Fusion Brain version?
How do you have the temp sensor connected/oriented?
What does your config file's IO section look like?
What does a virtual brain look like when you have everything connected?
How are you powering it?
2k1Toaster is offline   Reply With Quote
Old 01-30-2009, 01:58 AM   #3
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
Geez... I love how quickly you reply.

Version 3.
Red wire toward the large IC (BASIC stamp?) but I have tried it both ways.

Are you referring to this:

<!-- Begin Analogue Input Instances -->
<iochannel id="Temp0" port="0" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp1" port="1" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp2" port="2" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp3" port="3" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp4" port="4" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp5" port="5" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp6" port="6" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<iochannel id="Temp7" port="7" brain="My Fusion Brain 0" type="analogue_input">
<options history="15" auto_average="true"></options>
</iochannel>
<!-- End Analogue Input Instances -->
</io>

How does one get the virtual brain display? By telling it you don't have a BRAIN when looking for one?

Powering it with a 12V wall wart.
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Old 01-30-2009, 02:21 AM   #4
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Ok since you are using version 3 did you enter version 3 in the options when you did the configurator? Wizard had an error I just corrected (~3 mins ago) that basically made all configurations made with the wizard use a version 4 Fusion Brain, so download the update by right clicking the MDX Updater and choosing "Update Now".

Here is the hardware manual for Version 2 and 3. Version 2 is pictured as the green board, Version 3 is pretty much identical (2 = beta, 3 = release, 4 = beta & release this time) but blue: http://www.fusioncontrolcentre.com/F...r%20Manual.pdf

Page #3 shows +5v towards the centre of the board.

Also the big chip isnt a basic stamp, but basically the same thing. It is a programmable microchip made by... wait for it... "Microchip". Also detailed in the hardware manual for Version 2/3.

That is the IO section of the config file, but I was more looking for how the Fusion Brain was declared, so right above that there should be something like:

Code:
<!-- Begin Fusion Brain Instances --> <brain id="My Fusion Brain 0" version="4">brain id 0</brain> <!-- End Fusion Brain Instances -->

That is what I am looking for to see what version it is looking for. The byte streams are NOT compatible so it must know which version is which by telling it.

To get a Virtual Brain, use the configurator and the icon aligned on the right (the bug for "debugging") opens up the general options. Then make sure to enable global debugging by selecting it in the top menu of the pop up window. Then near the bottom of the pop up window it has the names of all Fusion Brain instances in that configuration file. Select the one you want to debug by checking its box, and save the file. Open in MDX and 2 windows will appear, the main window and the debugging window.

I have an early start tomorrow morning so I am heading off, but if your brain version is set to 4, set it to 3 and see if that works.
2k1Toaster is offline   Reply With Quote
Old 01-30-2009, 02:31 AM   #5
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
The good news... Setting it to three made the value read correctly...

Bad news: The program stopped functioning correctly. I'll take it to work tomorrow and mess around with it there.

Thanks for the help so far!
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Old 01-30-2009, 02:37 AM   #6
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
Trying to run in debug mode doesn't seem to work, either. The windows open and boom.
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Old 01-30-2009, 02:59 AM   #7
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
Ok. I got it to launch, but the values are still hovering around 0V. (The C temp gets up to about -19.5). They are at least MOVING. But all of them are moving. Not just the one that I have something hooked up to.

the sensor is hooked up to Analog Input #01 and both 01 and 02 are hovering around 0.0013V.

I think I may have fried what looks like a transistor, though I'm not sure how. All of a sudden I smelled burning and the whole sensor was HOT. Not sure what happened. Not like I did anything strange.

So, anyway. I'll mess around more at work tomorrow. Thx.
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Old 01-30-2009, 07:52 AM   #8
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
All the values should change, it has to do with the inputs being left connected to nothing. If it bothers you, you can put a jumper to ground on them.

If the sensor got hot, it's probably damaged. It isn't actually a transistor.
greenman100 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-30-2009, 01:41 PM   #9
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
Yeah. I didn't actually think it was a transisitor, but it certainly looks like one.

Do you know why it would have gotten so hot?
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Old 01-30-2009, 02:56 PM   #10
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
hooking it up backwards, for starters
greenman100 is offline   Reply With Quote
Old 01-30-2009, 03:58 PM   #11
Low Bitrate
 
JackB's Avatar
 
Join Date: Aug 2006
Location: Kirkland, WA
Posts: 71
JackB is an unknown quantity at this point
I never said I was bright.
__________________
My Install : '08 Saturn Sky In-dash
JackB is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Brain cells CAN reproduce! XxAndyxX Off Topic 0 02-28-2007 07:55 PM
RR and reading of temp. mauri Road Runner 0 12-19-2005 06:02 PM
Temp. reader...bug? mauri RR Bug Tracker 8 10-29-2005 02:14 PM
Help prequired for reading serial port data !! tolisn Road Runner 28 07-06-2005 05:04 PM
Whats up with Geiss? Was working before but not now? PDiddy Centrafuse 7 07-01-2005 04:29 PM



All times are GMT -5. The time now is 01:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics