### # # ## # ## ### # # ####
# # ### # # ## # # # ## ### #
## ##### ## ## ##### ## ##### ## ## #####
_____ | __ \ | | \/ | | __ | |_\ \ \____/
## ## ##### ## ## ## ## ###
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: This page tries to describe how to connect V3 with VemsTune via wireless TCP. http://www.vems.hu/files/pacsa/tplink-v3/tplink-v3.jpg '''Router setup''' # Need a wireless router with usb host and openwrt. ## Hardware: [https://www.epointsystem.org/trac/vending_machine/wiki/WR1043ND TP-Link TL-WR1043ND] https://www.epointsystem.org/trac/vending_machine/attachment/wiki/WR1043ND/wr1043nd.jpg?format=raw # Upgrade it to openwrt ## Openwrt installation: https://www.epointsystem.org/trac/vending_machine/wiki/HotSpotInstallation#InstructionsforTP-LinkTL-WR1043ND # open a browser and try open the admin page. # install packages: go System/software menu (of course the router needs internet connection to acomplish this step) ## kmod-usb-serial-pl2303 (if you have another vendor like FTDI try to find appropriate driver for it) ## kmod-usb2 ## ser2net #ssh to to the router and try to plug the usb-rs232 cable #after dmesg should see something like this: " ## usb 1-1: new full speed USB device using ar71xx-ehci and address 3 ## usb 1-1: configuration #1 chosen from 1 choice ## pl2303 1-1:1.0: pl2303 converter detected ## usb 1-1: pl2303 converter now attached to ttyUSB0" # To make ser2net listen on TCP port 9000, '''append 1 line to the end of the /etc/ser2net.conf file:''' ## 9000:raw:0:/dev/ttyUSB0:19200 ## alternatively (using different, 50 msec timeout instead of 0, and a bit more options): ## 9000:raw:50:/dev/ttyUSB0:19200 8DATABITS NONE # start ser2net: ser2net '''VemsTune setup''' #Preferences/ECU Communication ## select tcp: and write the correct IP:PORT in my case 192.168.1.3:5678 press detect Enjoy your wireless V3. ---- I have tested this method with an Asus WL-500pP v2 router OpenWrt backfire 10.3 version, and with Pl-2303 usb serial converter succesfully. Installed packages: #kmod-usb-ohci #kmod-usb-serial-pl2303 #ser2net The vemstune works fine with tcp/ip connection but the communication is slower than native serial or usb-serial converter (19200baud). I have made some test: With wired connection the main overview group refresh about 17 Hz, and the calc model refresh more than 22 Hz. With wifi-connection tha main page below 10 Hz but calc model page sometimes go up to 22 Hz sometimes go to 3 Hz. Interesting... Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.