PaintingMachine Operation Guide

20160914 ver1.0

1.About Auto Mode and Manual Mode:

The Software will parse config.json to initial itself. There are two Modes which will be used in most cases:"auto" and "manual".
In AUTO mode, the program will init and start drawing automatically.
However, if machine detects error or pen positioning is invalid, we need to use manual mode.

2.Reference Procedure for running as AUTO Mode.

2.1 Pre-Power-on Check

  1. Check the Pen Module and we need to prevent cables from winding together.
  2. Make sure the Emergency Stop Button near you in case you need to push it down.
  3. Make sure the Power Plug(the white one) for Motors/Pumps are well connected and power is in OFF State.

2.2 Power On Check

  1. Power On the Power Plug(press the button and lights will be ON)
  2. Make sure the AC-DC Power's green Light is ON. Also, all four Motor control board's green lights should be blinking.
  3. !!!Attention !!! When Power is On, the Pen Module will push and pull the Pen and shoots out Laser dots to the left wooden panel and the floor for getting pen X and Y Coordinates.
    You should always do a visual confirm on those red dots to make sure the machine will get the correct Position of the Pen, which is crucial for machine's safety.

If you are new to this machine, you might probably miss the red dots. you can simply Turn OFF the Power Plug and ON for another try until you see where those red laser dots go.
Once you have visual confirm that the red dot run outside of the wooden panel, it is NOT safe to run the machine under Auto Mode.
In this case, please skip the rest of this chapter and jump to Chapter 3.3(manual mode operation).

2.3 Computers Power Up(Auto Mode)

  1. Power On the Raspberry Pi
  2. Power On the CV computer
  3. Power On the Painting Machine Computer
  4. Confirm that Emergency Stop Switch is Not .
  5. Power On LCD Monitor and select Painting Machine Computer as its input source.
  6. In normal case, you can see the computer powered on and the program will run automatically and start drawing.If you wait too long , there might be a unexpected situation.
  7. if the machine is running properly, you can switch it back to Raspberry Pi.

2.4 Basic Troubleshooting

  1. switch the LCD Monitor Input source to Painting Machine's PC. (windows 10 OS)
  2. Check the program if running in auto mode and if there is any pop up windows saying anything.

3.Machine Start Procedure(Manual Mode)

3.1 Pre-Power-on Check

see Chapter 2.1 above

3.2 Power On Check

see Chapter 2.2 above

3.3 Start Program as Manual Mode

Since the config file sets the default mode is Auto Mode, we need to modify it and restart the program.

  1. Push Down the Emergency StopButton to make sure the Machine will hold.
  2. Close the current running program.
  3. use notepad++ or notepad to edit C:/PaintingPlotterDemo/config.json,find the line that says
    "default Mode": ,change "auto" to "manual"
    4.double click on paintingPlotter.exe,the program will start as manual mode.

3.4 initialization

  1. Single click the init button on the top left of the GUI,a self check task is executed for motors and pen's status.
  2. Take a look at the right top of the GUI, if you see the module is marked as timeout,it means that module is not connected correctly.
  3. Pen will shoots Laser dots to get current position, if it detects invalid value, it will show -1.

3.5 Adjust Pen Laser shooting Position

Please be aware that it is crucial to get the position correct. If not, it could lead to damage of the machine.

  1. check the Pen location and look at the corresponding location of the wooden panel, single click on the init button, confirm the actual location of the red dot. if the red dot is shoot on the panel, we can proceed to next step.
    if not, which is a little bit complicated, please jump to chapter 4.1
  2. move pen to HOME position(which in the middle bottom of canvas(1500,2500))。
  3. when then pen moved to HOME, it might still have some deviation to the correct position. you can try to click on the init button to do laser measurement again,if it doesn't at the HOME coordinates, you can set next position to HOME again. However, if the laser test says it is on the right position while actually not, we need to modify the config files for calibration.

3.6 Establish Connection with CV Server.

check the IP address then click Connect. if success, it will show "connected".
Otherwise we need to check the CV Server.

3.7 Switch back to Auto Mode.

Modify config.json's default Mode from "manual" to "auto",restart the program.

4. adjustment method for laser positioning

background introduction:
the painting machine use four wire structure to control the pen module. It is inevitable that some of the wires are too tight while the rest are too loose.
There are two solutions available:

4.1 Manually Input the Correct Position

We can simply measure the position of pen and input its coordinate into the software.
then we can move the pen to a known position, e.g, HOME (1500,2500).

4.2 manually loose or tight wires.

reference steps:

  1. loose LD and RD wires just to make LU and RU are tighten by pen's G force.
  2. exec laser positioning by clicking init
    button, and see which direction the laser is overshoot.
  3. tighten LD or RD wire one at a time a little bit, observe if the wire we chose iscorrect. if so, repeat the adjustment until the laser hits the wooden panel.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 157,012评论 4 359
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 66,589评论 1 290
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 106,819评论 0 237
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,652评论 0 202
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 51,954评论 3 285
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,381评论 1 210
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,687评论 2 310
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,404评论 0 194
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,082评论 1 238
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,355评论 2 241
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 31,880评论 1 255
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,249评论 2 250
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,864评论 3 232
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,007评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,760评论 0 192
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,394评论 2 269
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,281评论 2 259

推荐阅读更多精彩内容