Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
divide and log function in Codevision
Hi,
Any one know what is the problem of following code, I dunno why it is not working in AVR Codevision
float c;
int a=30;
int b=500;
c=(float)exp(a/b);
sprintf(in_display,"c= %f", c);
lcd_gotoxy(0,0)...
Dear friends
I wanna use the Simulink block of complicated differential equation in M-file, also I know I have to use sim('model name'),
but the problem is there is an input and an output of my Simulink block, so how I can change the input of my Simulink block using M-file's code?
How I can measure the RPM of dc motor. I would like to use Codevision, in fact I have to measure the speed in one second, so I have to make a trick using timers but I dunno more detaails, ay one can help.
Hi, I have designed a PCB, and I made it, but there is a problem, I used L298 while I connected the L298's EnA to Interrupt port of microcontroller also L298's In1 and In2 to OC1 and OC2. The picture of this schematic is attached.
The question is, is anyway exists to do PWM control of a DC...
Dear Rohitkhanna, thank you for your valuable points, I am using Buhler DC motor 24 volt, 400 PPM
Manufacturer: Buhler Motor
Speed: 3000 RPM
Torque: 5 Ncm
Current: 1.5 A
any thing I have to do with my schematic?
Dear Rohitkhanna, thanks for your help, but one question, what is the difference of using L298 in 24V DC motor in comparison with 12V I suppose the difference is only Vs pin is it correct? and is it true using resistor in ISens pins to avoiding current more than 2A.
Hi,
I design a circuit by DC motor, which controlled by micro controller(using PWM), I want to control a 24 volt dc motor by L298, I have designed a schematic file but I'm not sure this is works, I atached the both schematcs in pdf and a part of circuit in image and also PCB, any idea?:idea...
I see S-function like this on a paper, it is pid controller, in fact we have two inputs and four output that we use one of them but in this sfunction wrote this
sizes.NumOutputs=4+5*nn;
sizes.NumInputs=9+15*nn;
is it true in your mind?
function...
Dear all,
I used m-file on Simulink by Matlab Function as shown in attached pic, In m-fie I write a code with parameters that need to have initialize value , for example the code is:
[HTML]
function out=control(in)
rin=in(1);
for j=1:1:6...
HI,
Is Orcad Cadence is the same with Cadence IC design? what about Virtoosu Cadence? all of cadence is works only for linux?
I need a Cadence that works like HSPICE.
here is my schematic
I NEED TO find phasemargin of this circuit but it dont works as shown in picture
but as you see the the volts db isnt 0 even when i expand .ac 200 1k 100g! what is a problem?
here is my model code
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.