Electronics > Beginners
microcontrollers
mkube396:
At my Work we have a tester it has 4 24v air solenoid to control 1 air actuator and to pressurizer and vent vales under test for leaks.
I have took it upon myself to rip out the old mortised system and replace it with a micro controller to make it more reliable and safer. But i want to build it on a bread bored first.
Now i am guessing a triac transistor to switch the 24 Volts AC on the air solenoid will work fine but will i have trouble with the 3.3v or do i need 5v? can i drive the triac right from the outputs of the micro controller?
i was thinking of using a STM32 micro controller do they make software that can simulate the controller so i can practice programming it?
the process is
hit start peddle
the tester then clamps the Valve
pressurizes the valve
hold under presser for 10 sec
when getting a single from the peddle will continue to next step.
Vent pressure
unclamp valve.
rstofer:
From Google search 'microcontroller triac'
https://www.st.com/content/ccc/resource/technical/document/application_note/ce/e4/e4/c5/d3/bf/4c/c7/CD00003868.pdf/files/CD00003868.pdf/jcr:content/translations/en.CD00003868.pdf
You don't need anything remotely resembling an STM32F <whatever>, an Arduino would be a much easier board to use for beginners. You could ultimately use an Arduino Nano plugged into a daughter card if you wished OR you could program the DIP chip on the UNO board and just use the chip itself in your final design.
Simulation is not a big feature of uCs. Program and try is the more common approach.
Read that paper closely, you may need a 5V Arduino and the 28 pin DIP version of the UNO is, I believe, 5V.
You need to study up on optoisolators. There is a tendency to want to tie the input switches and output triacs directly to pins. That doesn't often turn out well in industrial applications.
grumpydoc:
Hate to pour cold water on this project but...
What happens when your device malfunctions and holds the production line up, what happens if your device malfunctions and someone is injured?
In the right circumstances this sort of project could cover you with glory.
In the wrong circumstances (somewhat more likely) you will be out of a job and on the wrong end of an expensive lawsuit.
mkube396:
--- Quote from: grumpydoc on January 09, 2020, 05:39:11 pm ---Hate to pour cold water on this project but...
What happens when your device malfunctions and holds the production line up, what happens if your device malfunctions and someone is injured?
In the right circumstances this sort of project could cover you with glory.
In the wrong circumstances (somewhat more likely) you will be out of a job and on the wrong end of an expensive lawsuit.
--- End quote ---
That is nothing i need to worry about right now it don't have an E -Stop as it is and it is malfunctioning right now.. i'm not going to sue my self :D
mkube396:
--- Quote from: rstofer on January 09, 2020, 05:23:22 pm ---From Google search 'microcontroller triac'
https://www.st.com/content/ccc/resource/technical/document/application_note/ce/e4/e4/c5/d3/bf/4c/c7/CD00003868.pdf/files/CD00003868.pdf/jcr:content/translations/en.CD00003868.pdf
You don't need anything remotely resembling an STM32F <whatever>, an Arduino would be a much easier board to use for beginners. You could ultimately use an Arduino Nano plugged into a daughter card if you wished OR you could program the DIP chip on the UNO board and just use the chip itself in your final design.
Simulation is not a big feature of uCs. Program and try is the more common approach.
Read that paper closely, you may need a 5V Arduino and the 28 pin DIP version of the UNO is, I believe, 5V.
You need to study up on optoisolators. There is a tendency to want to tie the input switches and output triacs directly to pins. That doesn't often turn out well in industrial applications.
--- End quote ---
I have use optoisolators in my radio projects still have a Big Bag of them i used them to keep RF out of the Computer when using Digital modes.
so i am thinking i can use the optoisolator off the micro controller in to a 2n2222 then in to a triacs unless the optoisolator i have can do the work by there self. ill have to fined the data sheet on the optoisolator i have.
Yeah that's why i am bread boarding all of this and going to run all of it though its tests before it gets installed..
Navigation
[0] Message Index
[#] Next page
Go to full version