Friday, January 29, 2010
2 price for a customer
Depending on the date start of the project, a new price. It is a famous issue for sap erp system. My invoice will be difficult.
Working on it now!
1 worksite only 1 quote.
If no quote, use latest quote.
If got quote, use the quote.
Monday, January 25, 2010
Photos of my computer DIY USB relay
The relay is used in the ordering system similar to mac Donald in Singapore. Once customer order is entered into the system via browser form, the alarm and flash goes off for 7 seconds. The LCD will update the latest order for packing and delivery. Once the order is delivery, notified by enter the vehicle number, the order disappear from the screen.
The purpose is to create a direction for team member to work together without much supervision.
Photos of my computer control USB relay
The relay is used in the ordering system similar to mac Donald in Singapore. Once customer order is entered into the system via browser form, the alarm and flash goes off for 7 seconds. The LCD will update the latest order for packing and delivery. Once the order is delivery, notified by enter the vehicle number, the order disappear from the screen.
The purpose is to create a direction for team member to work together without much supervision.
My serial port program code for the usb relay
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;
namespace ConsoleApplication1
{
class Program
{
static SerialPort _serialPort;
static void Main(string[] args)
{
try
{
_serialPort = new SerialPort("COM4");
_serialPort.DtrEnable = true;
_serialPort.Open();
Console.Write(_serialPort.DtrEnable);
Console.Write(_serialPort.BaudRate);
Console.Write(_serialPort.RtsEnable);
DateTime endTime = DateTime.Now.AddSeconds(7);
while (endTime > DateTime.Now)
{
// Process loop
_serialPort.WriteLine("");
}
Console.Write("Port Closing...");
_serialPort.DtrEnable = false;
_serialPort.Close();
}
catch (Exception ex)
{
Console.Write(ex.Message);
}
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;
namespace ConsoleApplication1
{
class Program
{
static SerialPort _serialPort;
static void Main(string[] args)
{
try
{
_serialPort = new SerialPort("COM4");
_serialPort.DtrEnable = true;
_serialPort.Open();
Console.Write(_serialPort.DtrEnable);
Console.Write(_serialPort.BaudRate);
Console.Write(_serialPort.RtsEnable);
DateTime endTime = DateTime.Now.AddSeconds(7);
while (endTime > DateTime.Now)
{
// Process loop
_serialPort.WriteLine("");
}
Console.Write("Port Closing...");
_serialPort.DtrEnable = false;
_serialPort.Close();
}
catch (Exception ex)
{
Console.Write(ex.Message);
}
}
}
}
Friday, January 22, 2010
Test working on my p23g vaio
Done with my laptop. Use php and Ajax to get the relay working remotely. The php system run the relay program.
Wednesday, January 20, 2010
Finally done my USB relay
Today manage to get it to work, flashing for 7 seconds.
At first the software fails, after build a new project, it starts to work again.
I am grateful for the boss to help me in the connector, soldering,
2 volt it also runs.
The relay is toshiba brand for 5 volt dc to 240 ac.
Weeks of thinking, trying, I finally get it to work!
Patenice is worth the wait.
Now is to get the software to run the alert the moment it has new orderid or returnid.
The testing show a negative volt when low. It is only 3 volt when high. Very strange as my measurement is 7.5 volt at office. Maybe I should buy a soundtech digital next time I come sim lim tower.
I am very grateful of the boss, helping me and charging at such a low cost.
I observe he solder, he
1. Solder on the component
2. Add flux on the component a lot.
When solder pin at serial port,
1. Leave flux on table
2. Solder the flux with a wire
3. Move the wire to the serial port
4. Solder the wire with the pin
When pc start up, it will have a 4 counts flashing.
I go there 4 times.
First time to find relay and ask price.
Second time with my num lock idea, but can only get 2 volt.
Third time, to buy transistor to produce 5 volt
Four time, it works!
Ah Meng is working on the cover opening for the dc and ac cables. He is interested in the stand too.
At first the software fails, after build a new project, it starts to work again.
I am grateful for the boss to help me in the connector, soldering,
2 volt it also runs.
The relay is toshiba brand for 5 volt dc to 240 ac.
Weeks of thinking, trying, I finally get it to work!
Patenice is worth the wait.
Now is to get the software to run the alert the moment it has new orderid or returnid.
The testing show a negative volt when low. It is only 3 volt when high. Very strange as my measurement is 7.5 volt at office. Maybe I should buy a soundtech digital next time I come sim lim tower.
I am very grateful of the boss, helping me and charging at such a low cost.
I observe he solder, he
1. Solder on the component
2. Add flux on the component a lot.
When solder pin at serial port,
1. Leave flux on table
2. Solder the flux with a wire
3. Move the wire to the serial port
4. Solder the wire with the pin
When pc start up, it will have a 4 counts flashing.
I go there 4 times.
First time to find relay and ask price.
Second time with my num lock idea, but can only get 2 volt.
Third time, to buy transistor to produce 5 volt
Four time, it works!
Ah Meng is working on the cover opening for the dc and ac cables. He is interested in the stand too.
Tuesday, January 19, 2010
Mac donald target
Today, while at the ntu mac, I chat up the cashier on the red border at the packing LCD. She says is over 40 seconds, it will turn red. So they have to ask for the next order.
If too slow, the manager will ask. Look like they have a target to hit, if below the target, it will have a red marking.
Look like it is good to set target for your people so they know where the company is going.
If too slow, the manager will ask. Look like they have a target to hit, if below the target, it will have a red marking.
Look like it is good to set target for your people so they know where the company is going.
Subscribe to:
Posts (Atom)