Search found 157 matches

by dima
Sun May 24, 2020 11:00 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

This just happened a week ago :o LittleFS is indeed a drop-in / transparent replacement for SPIFFS. Just replace all occurrence of SPIFFS by LittleFS in your code. Source: https://github.com/esp8266/Arduino/pull/7263 Will need new Arduino Plugin https://github.com/earlephilhower/arduino-esp8266littl...
by dima
Wed May 20, 2020 3:33 pm
Forum: General
Topic: Patreon Support
Replies: 44
Views: 15449

Re: Patreon Support

I suggest that to increase Patreon participation you may want to use a persistent ribbon, tag or other visual element that appears on the patrons info box to the left of each post. That can be arranged just like the bottom "pop-up" banner. We can rotate another one with Petreon, just have...
by dima
Sat May 16, 2020 5:00 pm
Forum: General
Topic: How to 'Sniff' the CANBUS?
Replies: 39
Views: 8270

Re: How to 'Sniff' the CANBUS?

CAN Shields are not for beginners. MCP2515 can behave differently with different libraries (there are a few to choose from) I recommend plug-and-play USB dongle that your can read/write with software. https://www.tindie.com/products/lll7/can-usb-converter-uccb https://store.protofusion.org/product/c...
by dima
Fri May 15, 2020 2:49 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

Did you set maximum SPIFFS size? arduino-esp-spiffs-max.png Why not try command line? Need these tools: Python 3.7+ mkspiffs.exe esptool.py Build mkspiffs.exe -c C:\FSB\FSBrowser\Data\ -b 8192 -p 256 -s 600000 flash-spiffs.bin Flash python esptool.py --port COM1 --baud 115200 write_flash 0x100000 fl...
by dima
Thu May 14, 2020 4:14 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

All debug looks good, steps followed correctly. Maybe there is a bug with URL "/"?

Perhaps try full URL? -> http://192.168.4.1/index.html
by dima
Wed May 06, 2020 4:01 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

I can suggest to "put on your programmer's hat on" and try to troubleshoot beyond ESP. Try to connect TX/RX directly into USB-TTL dongle (CH340/PL2303 ...of course with proper drivers installed). Open "putty" https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.73-instal...
by dima
Wed Apr 29, 2020 3:29 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

ZooKeeper wrote: Tue Apr 28, 2020 8:02 pm Yup, thanks!! Olimex on the way so I have enough memory, apparently the ESP-01 does not :(
You can try removing not essential files from /Data folder.

Code: Select all

gauge.min.js.gz
gauges.html
gauges.js
by dima
Tue Apr 28, 2020 3:20 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

It sounds like your "Data" folder is empty, Johannes web interface folder structure does not reflect what is needed for Arduino IDE - ESP8266 SPIFFS Uploader.

make C:/FSB <-copy only FSBrowser.ino
make C:/FSB/Data <- Copy all files except FSBrowser.ino
by dima
Mon Mar 30, 2020 5:00 pm
Forum: User Interface
Topic: Olimex ESP8266 MOD requires main chip reset to connect
Replies: 10
Views: 6213

Re: Olimex ESP8266 MOD requires main chip reset to connect

I also tried Dimas wifi interface on D1 and it works smoothly. Weird? I have encountered the same issue, I had a work-around ..."auto refresh the page if detect 2D text" in web-interface. What happens is boot loader 2D text is getting through to esp8266 serial on start-up. What is even st...
by dima
Tue Mar 17, 2020 11:15 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

I flashed another esp8266 with Dima's interface and no luck on either Blue Pill nor fully tested GS450h-VCU. On both I get the error: ' SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data:'. GS450h-VCU will not work with Johannes or my web-interface. You will need to...
by dima
Wed Mar 11, 2020 5:55 pm
Forum: Inverters / Motor Controllers
Topic: The parameter documentation project
Replies: 13
Views: 3227

Re: The parameter documentation project

yaroslav wrote: Wed Mar 11, 2020 5:36 pm Hi, what are the effects of parameter changes:
syncofs
udcofs
viewtopic.php?f=4&t=108
by dima
Wed Mar 11, 2020 3:50 pm
Forum: Inverters / Motor Controllers
Topic: Mainboard V3 FAQ
Replies: 54
Views: 30443

Re: Mainboard V3 FAQ

Johannes can you allow ".drawio" or ".xml" file upload in Wiki?
I was going to upload the original diagram for public editing.

Original diagram can be edited with https://draw.io
by dima
Tue Mar 10, 2020 8:51 pm
Forum: Open Tasks
Topic: Make CANBus Standard
Replies: 12
Views: 7196

Re: Make CANBus Standard

Wow this is a discovery for me. It existed all this time :D

No need to do anything, send CAN and get a reply. Just works.

Excellent!

EDIT: Well not 100%, obviously getting "udc" will not work ...because it is out of parameter index.
by dima
Tue Mar 10, 2020 3:51 pm
Forum: Open Tasks
Topic: Make CANBus Standard
Replies: 12
Views: 7196

Re: Make CANBus Standard

I wonder if we should poll the more obscure values via CAN SDO instead of mapping everything somewhere? https://openinverter.org/wiki/CAN_communication#Setting_and_reading_parameters_via_SDO The way it works: send a request message for the value you want and receive the reply. If we agree on this I...
by dima
Tue Mar 10, 2020 12:40 am
Forum: Open Tasks
Topic: Make CANBus Standard
Replies: 12
Views: 7196

Make CANBus Standard

This page needs help > https://openinverter.org/wiki/CAN_table_CAN_STD This will help with "universal" dashboard or any other interface relying on CANBus messages. Make up a standard :) Maybe grouping things logically by functions ...I don't know if "AUX 12volt" belongs together ...
by dima
Mon Mar 09, 2020 6:58 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Arduino module/library not working correctly. Setting one parameter udc to be transmitted from inverter with id: 58 (0x3A) can tx udc 58 0 8 1 Reading this with MCP2515 module: Extended ID:0x0F1AE569 DLC:6 Data:0xFE 0xE3 0xC1 0xF7 0x3D 0x51 Questions: 1) Extended messages normal? not Standard? 2) Ho...
by dima
Sun Mar 08, 2020 5:16 pm
Forum: Inverters / Motor Controllers
Topic: Mainboard v3 future
Replies: 23
Views: 4776

Re: Mainboard v3 future

jerrykco wrote: Sun Mar 08, 2020 1:41 pm Sorry, I can't figure out how to attach a picture.
forum-attach-picture.png
by dima
Sat Mar 07, 2020 11:51 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Wanted to visually document ESP8266 to MCP2515 development.

TJA1050 requires 5V but the inverter ESP8266 powered by 3.3V. We can still power MCP2515 chip with 3.3V but need to isolate CANBus chip by cutting off back PCB VCC trace. Then give TJA1050 separate 5V.
P1010007.jpeg
P1010009.jpeg
by dima
Sat Mar 07, 2020 5:22 pm
Forum: User Interface
Topic: HOWTO: Flashing ESP8266
Replies: 181
Views: 64659

Re: HOWTO: Flashing ESP8266

With these settings you posted above and an FTDI board connected as you originally posted, have you or Arber successfully managed to flash one of these boards with the latest Arduino IDE and esptool.py v2.6? Yes all the time. Only difference not using expensive FTDI (You will need USB to TTL not RS...
by dima
Mon Mar 02, 2020 4:42 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Thanks Elon. Ready for live test! ESP8266 binary here Once loaded you will need to switch the view (default is Open Inverter). Click the background, the view will flip, then select "View Menu" -> Lexus GH450 gs450-vcu_test1.png Turns out connecting ESP8266 to CAN is not easy, full SPI conn...
by dima
Sun Mar 01, 2020 11:56 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Bigpie wrote: Sun Mar 01, 2020 6:40 pm I'll take on looking at making it support Damiens Lexus-GS450H-Inverter-Controller.
I started the view, look at /views/teensy.json
view_teensy.png
Also planning to add OpenDBC for easy CAN picking :D
by dima
Sat Feb 29, 2020 5:31 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

let’s NOT spend development time/effort on building what’s already been built. Woof ...where is the excitement? Oh wait this is the Internet. Just looked into RealDash ....no source code! The main reason anyone is doing this is to "Learn". And you cannot learn without do (speaking like yo...
by dima
Fri Feb 28, 2020 10:52 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Out of pure excitement!!! I am going to build the First Beta . As usual flashing with command-line: esptool.py --port COM1 --baud 115200 write_flash 0x000000 flash-WeMos-D1.bin esptool.py --port COM1 --baud 115200 write_flash 0x100000 flash-spiffs.bin This is how back-side drag-drop interface looks ...
by dima
Fri Feb 28, 2020 8:58 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Does this make the version Damien started defunct? If so I'll cease making changes. No discouragement. This new CANbus-ESP8266 project is ambitious :o May look great but so far out from being functional (hope more people join the development) Being developed on the side of a desk ...not real-world ...
by dima
Fri Feb 28, 2020 4:18 pm
Forum: User Interface
Topic: Universal WiFi Interface
Replies: 79
Views: 23324

Re: Universal WiFi Interface

Thanks for feedback, much appropriated. At the moment ironing out the GUI and then will focus on adding functionality. It would be helpful to post relevant CAN messages that you want gauges to be build for. First fault I get is: Class MCP_CAN has no member 'sleep' Do I need all the libs. that you us...