In order to indicate every vocore screen connect to the computer, we have two ways:
use USB physics port, but once screen unplug and plug to other USB port, this id will change.
save a unique id into firmware, so every time we can read it from firmware, it will not change.
The second way maybe better for indicate different screens, so for new screens, we will have a unique id store into flash. ID takes 8byte, like B8D8-C876-CC123456, it is alloced in factory production process.
For old driver board do not have unique id, we need to write a unique id to it.
I write a simple tool to read and write unique id from driver board. Download link http://vonger.cn/misc/screen/screen_uid.20210907.zip
It has source code inside. For Linux and MacOS, please call gcc screen_uid.c -o screen_uid -lusb-1.0 to get the executable application.
Run screen_uid.exe, it will show the screen it detected.
Find screen at USB physics port 3 1: Type: 4inch, 480x800x16, TOSHIBA-2122 id: 0000-0000-00000000
choose a screen by index to set random id(1~1, other cancel):
PS: if no id in the firmware, id part will be 0000-0000-00000000 or ffff-ffff-ffffffff
Input id 1 to modify first screen in the list, then a random id will write to it.
After that we have alloc a new random id to the screen.
Find screen at USB physics port 3 1: Type: 4inch, 480x800x16, TOSHIBA-2122 id: ef00-4900-f1aede55
Next time run, we will find it has a new id, and if you do not want to modify it, directly press return/enter button to quit the write id process.
Because current 4inch screen(based on driver board v10a) is designed for very low power usage and intend to be long life time, so we have to limit its backlight brightness to save power. But currently maybe people do not care about the power usage and backlight lifetime, so I write this blog to provide a solution.
v10a driver board has a 1210 size resistor, normally on its top marked 20R0 or 200. It is 20ohm resistor(red arrow).
Change that 20ohm resistor to 1ohm resistor will be able to make it brightness to max, and its output current will be 160mA. Do not use smaller than 1ohm resistor, backlight will burn in a short time… and do not ask me how I know that. :’) 160mA should be its max safe current for 1~2 year usage — I did not test.
After the modify, it will be much brighter than the original version. But any magic has a cost, this will reduce 75% LED life time and much increase power consume, the driver board will become pretty hot, from my test, increase around 15C, current consume from 0.12w to 0.25w.
PS: this modification is not easy for beginner, need a hot air gun and some glue, if action not careful enough, might melt the connector, DIY is always dangerous, be careful 🙂
5inch(v7a) also has a way to increase brightness, need to change one resistor from 10ohm to 5ohm to double its current. From my test, it do not have big difference, not worth to do the change.
Recently everyday we get a lot of emails about screen can not work after USB plugin. I have to write this tutorial as people said there is no tutorial …
PS: I think this should be Simhub developer job? 🙂
First of first, plugin the microUSB cable to screen and another side to the computer. VoCore Screen requires a very good USB cable, because it will send data at max USB 2.0 speed, over 300MHz, even faster than most DDR data line.
You will find the screen in your device manager, means it is connected.
Next, let’s install its driver. Download it here: http://vonger.cn/misc/screen/v2touch-win64.zip
Uncompress the zip file, and run InstallDriver.exe in its driver folder.
After install completed, you will find the device is working now. Under libusbK Usb Device => USB2.0 Screen
Test, now everything is ready, we can run screen_test.exe in the driver package, check if the screen is able to show something, also screen_test can be used to check if touch screen is working normal.
Final, run SimHub
You will need to enable VoCore Screen first.
Click on Dashboard => VoCore => Enable display, once it shows connected, in a few seconds you will see the dashboard show in VoCore Screen.
Recently I get around 10pcs broken ones returned. Is it really the mystery ESD problem or something else? Let’s analyze one by one check what is the problem. Hopefully this blog will also help DIYer find a way to solve such problem.
1.Obvious physics broken ones:
Four screens has such problem. Red rectangle area is the weak point.
Left FPC 51p is for screen and right 8p is for touch screen. From the picture, the 51p and 8p both tear off by force. FPC is something like tape, it is afraid of sharp edge. Such problem normally happens when you bend the FPC hard, and FPC touch the PCB or the connector edge, it will be easily broken.
Recommend: FPC better to have a beautiful round corner, this will reduce tear off chance, also use the bubble tape around 1mm to stick it to PCB or back, NOT recommend use the hot melt adhesive, it is bad to fix the PCB because there are so less margin after it becomes solid, that will cause it easy to broken FPC.
2. Hidden Physics Broken
This screen problem is when we run test application send_frame frame.dat, its backlight will not able to turn on. One of broken screen is such problem. After remove its touch screen, I find the FPC is normal, but the liquid crystal driver chip is shattered. That driver chip is like a very thin glass, and when people is trying to force the glue on FPC off its holder, it will have very high chance to broken that chip.
PS: this part debug is a pain, last year on another project we use this screen, around 20pcs broken because of such problem, workers mistake stick the bubble tape to this area so when we remove the screen to repair other parts the screen broken by the force.
Recommend: tape or adhesive leave far away from this area! Do not touch this FPC at install. New version screen do not have such problem, but we still suggestion do not put any tape or adhesive on the FPC area, it should be only on the steel part.
3. Not Well Connected
One broken because of this reason, this screen also has FPC tear off problem.
Recommend: please do not use adhesive… 🙁
4. Firmware Problem
Rest screens are all such problem. This problem I never expected. That just is the unknown device problem. This should not happen if the screen is operated normally, I guess maybe some client side code has bug, I will check with SimHub developer.
For my MacOS or Linux, we have lsusb command, it will show the device like this:
Bus 020 Device 005: ID 04b4:8613 Cypress Semiconductor Vendor-Specific Device
If firmware is normal, it should be like this:
Bus 020 Device 011: ID c872:1004 c872 USB2.0 Screen
The firmware is written in EEPROM, and it should never lost any data unless client side application write something wrong to it…This is very weird.
I attached the firmware loader(download here), this application only run in MacOS.
For PCB version v05 and v07a, please call
./eeprom w ./FW200502-4IN14V.bin
For PCB version v10a, please call
./eeprom w ./FW210105-4IN3V3
After firmware upload completed, disconnect and reconnect the USB cable, all of the screens has such problem are fixed.
So the final result, none of the driver board are really broken 🙂 Just the physics broken screen we can not fix have to change screen. All 10 of them are repaired.
5. USB cable problem
This is not belong to this part but also very important, please use a short or well covered USB cable. This screen used max USB speed, every data line is 480MHz, so a bad quality USB cable will not make it work, will cause sometimes the screen can not be recognized or show some random noise on the screen. We also think the firmware is broken by this way. This need to be confirm.
Recently some people report to us one problem. After they power on computer, VoCore Screen can not be found anymore, it become an Unknown Device. Currently the bad ones are on their way shipping back to us, but for now, I think I can guess what is the problem already.
It is a very weird issue, because our screen is already in some projects and pretty stable for two years, should it be the chip become bad for this batch?
Interesting thing is our embed users never report such problem but only PC users who using the screen as an extend screen run SimHub has such problem.
So, it can not be the chip problem…If there are some problem, it must be ESD!
The critical problem should be the USB data line do not have TVS diode protected. And USB data line is weak to strong noise, strong EMI will broken it from inside. But where is the noise from?
After a lot of check with the client, the truth comes up. Normally Simhub users are using a very powerful PC who has a big power supply, some times the user will open the PC metal enclosure for better cooler, then the room become a hell of the screen driver board… because it do not have any protect. :'(
I have to say it is my design flaw, this screen is designed for VoCore2, it is not designed to use in such situation. Normally for embed usage, the USB cable is very short and well protected by ground, it is not necessary to use TVS diode to protect the USB. But PC…ahhhh, PC is another story.
OK, let’s talk something hardcore…
Solution for current version
PS: I know it is stupid…but in order to increase the board life, it is necessary
solder two TVS diodes to the USB cable D+/D-.
connect the screen after you power on your desktop PC.
cover the EMI source with metal case, to reduce the power on/off ; noise. (noise mainly from power on)
a well protected/short USB cable also work.
Note: TVS diode capacitance should be < 3pF, voltage 3.3V or 5V.
Any of the three way will work.
New screen shipped from Mar.25 will default have the protect diode solder on bottom side.
Update: we finally get some broken samples…but none of them are broken by ESD, all broken by force install caused PCB bend, chip is not connected well to PCB.
Update: v7a/v10a driver board is designed for embed device, not test on PC. From Oct.1, 2021, we have v7b/v10b version, special optimize for PC, fixed such problem.