Power in Flux
Likes Likes:  4
Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Arduino 12v Systems VCU

              
   
   
  1. #21
    Senior Member Stevo's Avatar
    Join Date
    Nov 2014
    Location
    Behind the Redwood Curtain- REDWOOD ORIGINAL!!
    Posts
    458
    Post Thanks / Like
    Andrew, your code is very difficult to read on my puter. Is there another location on the web you have it available to download where it's easier to see the type??
    Current rides: '96 Honda Ohlins VFR, '03 Cannondale C440R, '03 Cannondale Cannibal, '06 Yamaha 450 Wolverine 4x4
    Current builds: http://elmoto.net/showthread.php?t=4354

  2. #22
    I should be working! furyphoto's Avatar
    Join Date
    Jan 2012
    Location
    Harrop, BC, Canada
    Posts
    312
    Post Thanks / Like

    My Social Networking

    Add furyphoto on Facebook
    You should be able to select and copy it and paste it into wordpad, or the arduino ide
    -Andrew

    http://www.andrewdoran.com
    mail(at)andrewdoran.com

    My ElMoto Project "Electric Hurricane" - 1987 Honda CBR600 F1: Check out my Build ALBUM
    My ICE Cafe Racer Project "My Precious" - 1983 Honda CM400 Classic

  3. #23
    Senior Member Stevo's Avatar
    Join Date
    Nov 2014
    Location
    Behind the Redwood Curtain- REDWOOD ORIGINAL!!
    Posts
    458
    Post Thanks / Like
    Did you write it all from scratch, or did you copy and paste it together from different sources? I'm trying to learn the structure of how to put multiple sketches together, or add a new sketch to a working program without fouling the whole thing up. It seems similar to HTML
    Current rides: '96 Honda Ohlins VFR, '03 Cannondale C440R, '03 Cannondale Cannibal, '06 Yamaha 450 Wolverine 4x4
    Current builds: http://elmoto.net/showthread.php?t=4354

  4. #24
    I should be working! furyphoto's Avatar
    Join Date
    Jan 2012
    Location
    Harrop, BC, Canada
    Posts
    312
    Post Thanks / Like

    My Social Networking

    Add furyphoto on Facebook
    I wrote it, but in small chunks. If you break it down, one function at a time, it comes together pretty easily.
    You need to learn the structure, where the variables, pins, etc need to be defined, and what goes in the loop.
    you'll see that I structured it with a small section for each function at the end. These are basically subroutines than can be called using the function name. This keeps the loop less cluttered, and easier to manage.
    once you have the structure figured out, you can search for tutorials or samples to achieve what you need, try it out in a separate sketch, then add the bits where they belong in your main program.

    This is basically the fake it til you make it coding technique. I learn each more complicated bit of coding as I need it. It probably won't be the cleanest code to start with. It can be refined or rewritten when you have a decent beta version working. I think the coding language is C++ (at least when it is compiled)
    Last edited by furyphoto; 08 January 2018 at 2321.
    -Andrew

    http://www.andrewdoran.com
    mail(at)andrewdoran.com

    My ElMoto Project "Electric Hurricane" - 1987 Honda CBR600 F1: Check out my Build ALBUM
    My ICE Cafe Racer Project "My Precious" - 1983 Honda CM400 Classic

  5. #25
    Junior Member
    Join Date
    Jan 2018
    Posts
    1
    Post Thanks / Like
    This is a super cool project. I've been lurking a long time and posting at ES under the same name here. I'd personally like to see some plausibility and safety checks integrated. Is kickstand up? Is throttle in a reasonable range for enabling main contactor? Stuff like that. Maybe even precharge checking.

Page 3 of 3 FirstFirst 123

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
  •