Log in / create account Page Discussion Edit History Go to the site toolbox

Blue-window

From BluWiki

image:blue-window-1.JPG

Contents

[edit] About

The Blue Window is a state-of-the-art electric vehicle computer. It is used to monitor battery state-of-charge, RPMs, battery current and battery voltage. The Blue Window is designed so that the battery monitoring is completely isolated from the regular car 12v system. Many options in the Blue Window are programmable and can be customized for your car. Currently you can purchase a Blue Window from Electric Blue Motors

[edit] Propeller chip

The Blue Window is powered by the Propeller chip from Parallax. The Propeller is an 8 core 32-bit microprocessor that is capable of outputting composite video.

[edit] Programming

Programming the Blue Window is the same as programming any other propeller chip. The first item you need is the development software from Parallax. Or you can use 3rd party software for use on OSX or Linux. In addition to the software you will need the propeller plug. There are also many resources available from Parallax including the propeller manual.

[edit] Programming kit Quickstart

  • 1. Install parallax software
  • 2. Download and unzip Blue window software
  • 3. Use the spreadsheet to configure the constants for your battery bank
  • 4. Copy the generated constants into the EBM_Dash_X.X.X.spin (EBM_Dash_X.X.X.spin is part of the software downloaded in step 2)
  • 5. Program the Blue Window using the propeller plug

[edit] Peukert's Law

Peukert's Law is used to calculate the effective current draw from the batteries. Wikipedia has a good description here

[edit] Blue Window Settings

There are many setting available in the Blue Window. All setting in the Blue Window are made in the EBM_Dash.X.X.X.spin source code file. You can obtain the source force for the Blue Window from here. The following is a section of the EBM_Dash_X.X.X.spin. There are two sections of settings. The first section is auto-generated using a helper spreadsheet. The second section is can be directly edited. You can download the spreadsheet from here.

''''''''''''''''''''''''''''''
' Following CON and DAT autogenerated from tau_interpt_xx.xls spreadsheet
''''''''''''''''''''''''''''''
CON
  Max_E = 993600
  Max_E_d2 = 496800
  Max_E_d100 = 9936 
  TCHARGE = 93
  BAT_LOW = 800
  BAT_HIGH = 1710
DAT
  ttable word 59, 86, 117, 138, 156, 171, 185, 197, 209, 219
  ctable word 1, 6, 25, 56, 100, 156, 225, 306, 400, 506
''''''''''''''''''''''''''''''
' End autogenerated section
''''''''''''''''''''''''''''''
'Other important constants
CON
  MAG_POLES = 2'Number of poles per revolution read by the magnetic pickup

[edit] License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified on 29 July 2009, at 20:11. - This page has been accessed 1,148 times.
Disclaimers - About BluWiki