How about using a microcontroller. I have a graphics compiler for pic controllers which makes this kind of application a trivial excersize, and you can simulate the application to see it working in real time before picking up a soldering iron.
How about using a microcontroller. I have a graphics compiler for pic controllers which makes this kind of application a trivial excersize, and you can simulate the application to see it working in real time before picking up a soldering iron.
Although a micro is probably the best option you could also do this with a few logic ICs (counter, decoder. etc).
eTech, the compiler was posted on this forum some months ago but i think with the disk crash we had there is a problem with downloading. I can post it again in this thread if you want a copy.
Paul, to use the graphics compiler you do not need to know anything about programming, just a logical mind. It is a bit more than a compiler, it is more like drawing where you use function blocks and interconnect them. The function blocks (130) cover from logic gates, timers, maths, controllers (PID) communications (I2C master), sequencing. With the simulator you can test and debug. The compiler produces a hex file for burning into your pic. With a rs232 link you can then test the actual application in a similat way as the simulator. The hex file you can use on 18F2520 (or 2420). Making the hardware is no big effort, i use veroboard to make my test circuits. Will send you a mail with more detail.
The file attached will tell you a bit more about the program, but like learning to ride a bicycle - cannot be done via correspondence.
eTech, the compiler was posted on this forum some months ago but i think with the disk crash we had there is a problem with downloading. I can post it again in this thread if you want a copy.
Paul, to use the graphics compiler you do not need to know anything about programming, just a logical mind. It is a bit more than a compiler, it is more like drawing where you use function blocks and interconnect them. The function blocks (130) cover from logic gates, timers, maths, controllers (PID) communications (I2C master), sequencing. With the simulator you can test and debug. The compiler produces a hex file for burning into your pic. With a rs232 link you can then test the actual application in a similat way as the simulator. The hex file you can use on 18F2520 (or 2420). Making the hardware is no big effort, i use veroboard to make my test circuits. Will send you a mail with more detail.
The file attached will tell you a bit more about the program, but like learning to ride a bicycle - cannot be done via correspondence.
eTech, the compiler was posted on this forum some months ago but i think with the disk crash we had there is a problem with downloading. I can post it again in this thread if you want a copy.
Paul, to use the graphics compiler you do not need to know anything about programming, just a logical mind. It is a bit more than a compiler, it is more like drawing where you use function blocks and interconnect them. The function blocks (130) cover from logic gates, timers, maths, controllers (PID) communications (I2C master), sequencing. With the simulator you can test and debug. The compiler produces a hex file for burning into your pic. With a rs232 link you can then test the actual application in a similat way as the simulator. The hex file you can use on 18F2520 (or 2420). Making the hardware is no big effort, i use veroboard to make my test circuits. Will send you a mail with more detail.
The file attached will tell you a bit more about the program, but like learning to ride a bicycle - cannot be done via correspondence.
Hi eTech/Paul
Here is the compiler setup.... spending 2 minutes on the ReadMeFirst file is time well invested.
Once you have installed the compiler there is some documentation in C:\LLG_CB\DOCUMENTATION, the most important being the ERROR LIST in .....\GENERAL for when you compile and get error messages.
Hi eTech/Paul
Here is the compiler setup.... spending 2 minutes on the ReadMeFirst file is time well invested.
Once you have installed the compiler there is some documentation in C:\LLG_CB\DOCUMENTATION, the most important being the ERROR LIST in .....\GENERAL for when you compile and get error messages.
Hi Paul
Did you manage to run the install exe file on WIN8? If you could then there should be a new icon on your desktop to run VPS. (also check if there is a directory C:\LLG_CB) Do you get an error message if you try to run VPS and what is the message saying?
Regarding the PIC18F4520 board: VPS generate code that require an 8MHZ crystal. For the basic hardware required have a look at the Getting Started file in C:\LLG_CB\DOCUMENTATION\GENERAL (that is to say if you managed to install VPS)
The relay board looks good and you can connect the pic outputs directly BUT what are you going to switch with the contacts because the relays on the board (RY 12W-K) can switch maximum 0.5Amp at 120VAC. They seem to be designed for switching signals (not power). A simple calculation to check the current your relay is going to switch is Load (in WATT)/Voltage. The voltage in your case is probably 230VAC. So for a 1kWATT lamp you are going to switch roughly 4.5Amp. And also remember these voltages are lethal, keep things tidy and insulated.
Hi Paul
I think your download problem might be the firewall setting of your pc that is protecting against .exe files. I will add to this post the setup file with the extention modified to .brd, so if you are able to download it be sure to change it back to .exe
Your plan to use the 8-channel relay board as interposing relays to the power contactors is the right thing. The 4520 pic chip uses 5VDC and you must make sure the controller board uses an 8MHZ crystal. The VPS software uses the pic's internal PPL multiplier to have an effective 32MHZ clock signal.
Hi eTech
Good......
Documentation is about 7MB, so i am currently making up a few batches to post later in the week
For the Getting Started doc see C:\LLG_CB\DOCUMENTATION \GENERAL
Also in ....DOCUMENTATION\..... (dont remember exactly) there are a few sample projects.
Be sure to read the document about registration because your current installation is limited to 2 code pages.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?