Page 3 of 6 FirstFirst 123456 LastLast
Results 21 to 30 of 52

Thread: Sample VB application to control a Fusion Brain

  1. #21
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by mx270a View Post
    "i" is 0 to 11 for the 12 inputs.

    As for other bytes, there really is nothing else of value in the byte array. There is one byte that has the 4 digital inputs, but since the digital inputs are going away in the next version, I decided not to use them at all. Just act like they aren't there.

    There is a word document around somewhere that lists the specs of the byte arrays. I don't know what the URL is to it, maybe 2K1 has it posted somewhere.

    -Lance
    There are only 10 inputs, 12 outputs. So 0 to < 10
    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

  2. #22
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,149
    Blog Entries
    51
    Quote Originally Posted by 2k1Toaster View Post
    There are only 10 inputs, 12 outputs. So 0 to < 10
    see the code is futureproofed too!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #23
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Indeed. Assuming the bytes are back to back, which we hope to keep it like that.
    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

  4. #24
    Newbie
    Join Date
    Apr 2008
    Location
    Baghdad, Iraq/Fort Bragg, NC/Saginaw, MI
    Posts
    27
    2k1, would you happen to have a proto of the current, and new output? I'm assuming the 13 analog outs will simply stack in with the current ones, so that update will be simple; but as for the current digital in's... its at byte #33, starting with 1, or byte #32, starting with 0, correct? also, what is the format for the byte?
    IE,
    240(11110000, little endian) = all 4 digital inputs on, 0(00000000) = all 4 off?
    15(00001111, little endian) = all 4 digital inputs on, 0(00000000) = all 4 off?
    also, which bit corresponds to which input? I would assume that the 128 bit corresponds with the first digital input..

    I would usually just do the whole trial and failure method, but I've got a couple of weeks before I get my testing brains in.

    V/r,
    SGT Michael J Cunningham

  5. #25
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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

  6. #26
    Constant Bitrate mx270a's Avatar
    Join Date
    Aug 2003
    Location
    Iowa
    Posts
    167
    Yeah, 10 inputs, my bad. Must have been thinking of the outputs.

    -Lance

  7. #27
    Newbie
    Join Date
    Apr 2008
    Location
    Baghdad, Iraq/Fort Bragg, NC/Saginaw, MI
    Posts
    27
    Quote Originally Posted by 2k1Toaster View Post
    This is PERFECT! I'm sorry, I missed this tutorial... I scanned through the list a couple of times, but leave it to me, to miss the very first tutorial =/

    Also, sorry for Hi-jacking mx270a's thread,,, seemed like the most appropriate place to ask something like this.

    And last but not least; For your information; I am working on a custom interface for my prelude, that controls a thing or 2... at the moment, it has 2x servo-controlled webcams, 6x servos to control the amps, and 2 servos for the A/C controls, which can all be controlled from my PSP. But, being that I'm currently in IRAQ, I figured it would be a good time to incorporate a bit of usefullness into the system, by adding a couple of Fusion Brains =)

    Thanks again!
    SGT Michael J Cunningham

  8. #28
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by conjur View Post
    This is PERFECT! I'm sorry, I missed this tutorial... I scanned through the list a couple of times, but leave it to me, to miss the very first tutorial =/
    i think we just added it

  9. #29
    Newbie
    Join Date
    May 2008
    Posts
    3

    Cannot get this to work

    Hi,

    I have downloaded this example and i cannot get it to work. It always says no drivers installed or cannot locate dll file.

    The only drivers i can install are the PIC drivers. I assume I need the ones that say Da Fusion, but these fail with the following error:-

    The required section was not found in the .INF.

    Please help, all I want to do is have drivers that work and a simple vb example.

    Many thanks

  10. #30
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,149
    Blog Entries
    51
    Quote Originally Posted by WayneA View Post
    Hi,

    I have downloaded this example and i cannot get it to work. It always says no drivers installed or cannot locate dll file.

    The only drivers i can install are the PIC drivers. I assume I need the ones that say Da Fusion, but these fail with the following error:-

    The required section was not found in the .INF.

    Please help, all I want to do is have drivers that work and a simple vb example.

    Many thanks
    i've seen that error too on one of computers.. i used an older version of the hardware driver and it worked for me. then i just updated it manually
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Page 3 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Replies: 15
    Last Post: 09-22-2008, 08:02 AM
  2. power fusion brain from car battery
    By customaudioman in forum Fusion Brain
    Replies: 3
    Last Post: 03-14-2008, 06:41 PM
  3. Skinning a custom VB application
    By RJP350Z in forum Software & Software Development
    Replies: 0
    Last Post: 01-11-2005, 08:36 AM
  4. VB front end for SB Audigy control?
    By wysocki in forum Software & Software Development
    Replies: 2
    Last Post: 12-14-2004, 07:36 PM
  5. VB Control for Character LCD's
    By Jamez_Warner in forum LCD/Display
    Replies: 0
    Last Post: 05-17-2004, 03:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •