Search found 157 matches

by dima
Wed Oct 09, 2019 10:23 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64713

Re: HOWTO: Flashing ESP8266

Depends which perspective you are looking from. RX port but coming from inverter TX "into it". Only one wrong :) unlike 4-dimentional USB port.
usb-4-dimentions.jpg
by dima
Mon Oct 07, 2019 3:11 pm
Forum: Inverters / Motor Controllers
Topic: UDCnom
Replies: 12
Views: 2119

Re: UDCnom

Is it possible to put something similar for ampnom?
by dima
Thu Oct 03, 2019 8:26 pm
Forum: Inverters / Motor Controllers
Topic: UDCnom
Replies: 12
Views: 2119

Re: UDCnom

I believe your excel formula is a bit wrong E14 should be

Code: Select all

=1+(E13/E11)
by dima
Wed Sep 11, 2019 10:31 pm
Forum: User Interface
Topic: Web interface problems V2.1 mainboard
Replies: 39
Views: 13117

Re: Web interface problems V2.1 mainboard

A Bug fixed, reflash sketch and spiffs. https://github.com/dimecho/Huebner-Inve ... SP8266.zip
by dima
Wed Sep 11, 2019 3:25 pm
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

100% default. php.ini-development file is copied to be php.ini [Session] ; Handler used to store/retrieve data. ; http://php.net/session.save-handler session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows us...
by dima
Wed Sep 11, 2019 3:19 pm
Forum: Inverters / Motor Controllers
Topic: Johannes in a Blue Pill
Replies: 87
Views: 17141

Re: Johannes in a Blue Pill

stm32flash - Open source cross platform flash program for the STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C
If Blue-Pill has a built-in bootloader this means we don't really need to flash "tumanako-inverter-fw-bootloader"?
by dima
Wed Sep 11, 2019 3:52 am
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

Wow I am curious now, I tried it on multiple computers with multiple adapters with HW ver 1 and 3 cannot reproduce the issue. Help troubleshoot this, using Firefox (not IE) go to Menu-> Web Developer -> Web Console and then open http://127.0.0.1:8080 Post here the console messages. fx-dev.png fx-con...
by dima
Tue Sep 10, 2019 3:11 am
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

My working theory right now is that the php SESSION variable array isn't being passed from one page to another properly. I say that is a good theory. Try removing C:\Program Files\PHP and let the PowerShell re-install it. I tested on Windows 7 and 10 and never had this issue. A quick google reveale...
by dima
Mon Sep 09, 2019 4:50 pm
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

ChazFisher wrote: Sun Sep 08, 2019 4:36 pm Does the ESP8266 firmware include any php pages?
Yes it is a compressed version of php pages.

Watch out for (Chinesium) Prolific USB-TTL adapters. They show OK for drivers but don't work properly.
Screenshot_2.png
by dima
Sun Sep 08, 2019 2:26 pm
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

If Putty returns "2D" it means you flashed the bootloader but not the firmware :roll: can you issue inverter commands and get response back? example "get version"

I recommend going ESP8266 route. I'l do more troubleshooting on my end.
esp8266-1.png
by dima
Sun Sep 08, 2019 4:29 am
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

No no, you are too deep into it - something is not right. I am guessing the serial.php is where it gets stuck. Windows UART works in "blocking" mode (I can't figure out how to make php work in uart non-blocking mode). Windows is the most difficult OS to code COM communication. Ignore "...
by dima
Fri Sep 06, 2019 8:14 pm
Forum: Inverters / Motor Controllers
Topic: Future of the inverter kit
Replies: 19
Views: 3159

Re: Future of the inverter kit

It might be a good opportunity to include a CAN USB adapter. I recommend (non-endorsed, just my own experience) uCCB https://ucandevices.github.io/uccb.html
P1010218.JPG
$30 CAD (€20 EUR)
https://www.tindie.com/products/lll7/ca ... erter-uccb
by dima
Wed Sep 04, 2019 4:58 pm
Forum: User Interface
Topic: File Location? Or other problem
Replies: 20
Views: 5355

Re: File Location? Or other problem

I can see you are using a slightly older version for Windows. The COM detection shows COM manufacturer now. New copy here https://github.com/dimecho/Huebner-Inve ... indows.zip Use RS232-TTL adapter and not direct serial.
by dima
Wed Sep 04, 2019 4:46 pm
Forum: Inverters / Motor Controllers
Topic: Serial Link not starting? [SOLVED]
Replies: 33
Views: 7551

Re: Serial Link not starting? [SOLVED]

User proof :D ... will put some kind of "friendly reminder" message into the GUI to use USB-RS232-TTL adapter.
by dima
Wed Aug 21, 2019 5:49 pm
Forum: Inverters / Motor Controllers
Topic: Serial Link not starting? [SOLVED]
Replies: 33
Views: 7551

Re: Serial Link not starting? [SOLVED]

ChazFisher wrote: Wed Aug 21, 2019 4:57 pm Does the terminal in the STM echo back each character as it is received?
No. It only echos entire command after you press Enter. This is not a Putty setting but inverter programming.
by dima
Wed Aug 21, 2019 4:02 am
Forum: Projects
Topic: Nissan Micra
Replies: 5
Views: 1285

Re: Nissan Micra

Kevin Sharpe wrote: Tue Aug 20, 2019 8:07 pm Can you define 'cheap'?
adjective:
(of an item for sale) low in price; worth more than its cost.


Good point about the value of car vs build cost.
by dima
Wed Aug 21, 2019 3:50 am
Forum: Inverters / Motor Controllers
Topic: Serial Link not starting? [SOLVED]
Replies: 33
Views: 7551

Re: Serial Link not starting? [SOLVED]

Wow this is a mystery ...can you re-download the newest build from github? The multiple COM should show manufacturer description now.

Maybe COM1 is the wrong com.
by dima
Tue Aug 20, 2019 7:44 pm
Forum: Inverters / Motor Controllers
Topic: Serial Link not starting? [SOLVED]
Replies: 33
Views: 7551

Re: Serial Link not starting? [SOLVED]

I dono, sounds like you have not flashed the bootloader properly. Try reflashing with ST-Link https://openinverter.org/forum/viewtopic.php?f=2&t=6 Also if you are using the " other " web-interface don't run it from xampp (there is a lot of background prep work in Windows) - just run .b...
by dima
Tue Aug 20, 2019 2:15 am
Forum: Inverters / Motor Controllers
Topic: Serial Link not starting? [SOLVED]
Replies: 33
Views: 7551

Re: Serial Link not starting? [SOLVED]

ChazFisher wrote: Tue Aug 20, 2019 1:26 am it appears I'm sending characters. I am getting characters back,
Change COM speed to 115200.
by dima
Fri Aug 09, 2019 4:18 pm
Forum: User Interface
Topic: Help with CAN
Replies: 33
Views: 7298

Re: Help with CAN

@Jack-Lee

To avoid everyone re-learning a lot of low level CAN programming. I'm putting together a web-interface GUI.

Need Windows testers :) https://github.com/dimecho/Huebner-Inve ... indows.zip
Screenshot_2.png
Screenshot_4.png
Screenshot_5.png
by dima
Thu Aug 08, 2019 10:41 pm
Forum: User Interface
Topic: Help with CAN
Replies: 33
Views: 7298

Re: Help with CAN

This is why GUI is for newbies ;) it doesn't happen with slcan and canable-app.
by dima
Thu Aug 08, 2019 7:44 pm
Forum: User Interface
Topic: Help with CAN
Replies: 33
Views: 7298

Re: Help with CAN

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:~/CAN/cantact/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLSt...
by dima
Thu Aug 08, 2019 3:51 pm
Forum: User Interface
Topic: Help with CAN
Replies: 33
Views: 7298

Re: Help with CAN

Just an observation :shock: It sounds like you are going "complicated" route. It looks like you are using "candleLight" firmware with your canable. It is good for advanced captures but not for newbies. Second firmware is called "slcan" it uses COM to "proxy" y...
by dima
Wed Aug 07, 2019 12:15 am
Forum: Nissan
Topic: Nissan Leaf Resolver offsets
Replies: 30
Views: 6698

Re: Nissan Leaf Resolver offsets

I there a missing *2 in formula?

javascript code would look like this:

Code: Select all

var a = ((0x82 + 0x80) * 2 % 256) * 256;
a = Math.round(a/1000)*1000;
var b = a*360/65536;
b = Math.round(b*10)/10;
console.log(a + " @ " + b + "°");
by dima
Sat Aug 03, 2019 1:41 am
Forum: Battery Managment (BMS)
Topic: 4-channel BMS with daisychain bus
Replies: 230
Views: 66318

Re: 4-channel BMS with daisychain bus

Hey Johannes have you looked at "fastboot" as UART bootloader for ATTiny? I did an unrelated project with attiny and it was working great even with Attiny13! Very small written in assembly (510 bytes) here is a copy https://github.com/dimecho/ATtiny13-Pla ... r/fastboot