Old BMS General Thread

Threads relating to the BMS system begun by Peter Perkins

Moderators: GregsGarage, retepsnikrep

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Thu Oct 23, 2008 6:02 pm

Well done Greg, do try with 3x3 then we have a choice.

I've done some 3W x 5H Characters.

Haven't tested them on screen yet though. Got to write the routine to print them :roll: Paying the mortage gets in the way sadly :cry:


`*** Eeprom Data Storage 0-255 bytes (This does not affect program memory) 3W x 5H matrix ***

`EEPROM 0,(First 20 bytes reserved for other program functions)

`EEPROM 20, (219,219,219,219,32,219,219,32,219,219,32,219,219,219,219) ;Store Big Digit "0" in eeprom
`EEPROM 35, (219,219,32,32,219,32,32,219,32,32,219,32,219,219,219) ;Store Big Digit "1" in eeprom
`EEPROM 50, (219,219,219,32,32,219,219,219,219,219,32,32,219,219,219) ;Store Big Digit "2" in eeprom
`EEPROM 65, (219,32,219,219,32,219,219,219,219,32,32,219,32,32,219) ;Store Big Digit "3" in eeprom
`EEPROM 80, (219,219,219,219,32,32,219,219,219,32,32,219,219,219,219) ;Store Big Digit "4" in eeprom
`EEPROM 95, (219,219,219,219,32,32,219,219,219,32,32,219,219,219,219) ;Store Big Digit "5" in eeprom
`EEPROM 110,(219,32,32,219,32,32,219,219,219,219,32,219,219,219,219) ;Store Big Digit "6" in eeprom
`EEPROM 125,(219,219,219,32,32,219,32,32,219,32,32,219,32,32,219) ;Store Big Digit "7" in eeprom
`EEPROM 140,(219,219,219,219,32,219,219,219,219,219,32,219,219,219,219) ;Store Big Digit "8" in eeprom
`EEPROM 155,(219,219,219,219,32,219,219,219,219,32,32,219,32,32,219) ;Store Big Digit "9" in eeprom
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

Wilfried
Posts: 34
Joined: Sun Mar 16, 2008 2:19 pm

Postby Wilfried » Thu Oct 23, 2008 6:59 pm

retepsnikrep wrote:I've done some 3W x 5H Characters.
`EEPROM 20, (219,219,219,219,32,219,219,32,219,219,32,219,219,219,219) ;Store Big Digit "0" in eeprom


A lot memory needed that way, you can use the binary way if you want.

A zero this way

111
101
101
101
111

gives 7,5,5,5,7
using high and low nibble gives 'EEPROM 20,(75,55,70)

Wilfried

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Thu Oct 23, 2008 8:33 pm

That's good Wilfred thanks. If we get it working using bytes then I can convert it to bits later. The bit manipulation for the Picaxe Basic is a bit limited. That (zero) would fit into two bytes quite nicely just ignore the last bit. I'll fiddle with the software a bit now.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

3x3 characters

Postby GregsGarage » Thu Oct 23, 2008 8:56 pm

Heres some 3x3 numerals

0: 201,205,187,186,32,186,200,205,188
1: 32,32,203,32,32,186,32,32,202
2: 201,205,187,201,205,188,200,205,205
3: 201,205,187,32,205,185,200,205,188
4: 203,32,203,200,205,185,32,32,202
5; 201,205,205,200,205,187,200,205,188
6: 201,205,32,204,205,187,200,205,188
7: 205,205,187,32,32,186,32,32,202
8: 201,205,187,204,205,185,200,205,188
9: 201,205,187,200,205,185,32,32,202

See what you think.

edit Here is a screen shot of the numbers.
Image
Last edited by GregsGarage on Fri Oct 24, 2008 2:30 pm, edited 5 times in total.
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Fri Oct 24, 2008 1:17 pm

Hey they all look good apart from the 4 can you add another bit on that?

Don't forget we need a '0' Zero 8)
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Postby GregsGarage » Fri Oct 24, 2008 1:48 pm

Peter,

I have changed the 4 and I did do a zero, just forgot to draw it. The codes I wrote by hand so if a chacter doesn't look right its probably an error on my part. I have edited the above entry to reflect the changes.

Edit Just found and corrected a couple of mistakes on the above table, check that you have the corrections if you already have copied it to your program, the 9 was wrong.
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Fri Oct 24, 2008 4:06 pm

GregsGarage wrote:Just found and corrected a couple of mistakes on the above table, check that you have the corrections if you already have copied it to your program, the 9 was wrong.


I'm working on the software now :shock: Thanks for the BIG numbers. I'll load up your 3x3 ones for testing first.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Big Numbers

Postby retepsnikrep » Fri Oct 24, 2008 8:09 pm

Demo of Greg's BIG numbers 8)

Bit of a software nightmare, but after three hours graft got there in time to celebrate with a bottle of vino.

Now just got to do something with them!!

Code needs tidying but we have proved the concept and it works!

We can tinker with the design/size of the numbers.

http://www.youtube.com/watch?v=CWXfgZyFSiY
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Postby GregsGarage » Fri Oct 24, 2008 10:07 pm

My wife wasn't impressed that I had to interrupt an ebay session so I could check on your progress. :(

The numbers look good! 8)

P.S. My wife thinks they look good too!
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

More number testing

Postby retepsnikrep » Sun Oct 26, 2008 11:08 am

http://www.youtube.com/watch?v=SFSXt36560E

I'm working hard on the Master to incorporate these large numbers, anyone else want to have a go at different styles using the 3x3 matrix.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.


Return to “BMS thread”

Who is online

Users browsing this forum: No registered users and 17 guests