ADXL345 is attached on the top plate of my Helical spring. I also attached arduino UNO with it. I want to generate time domain and frequency domain graphs for finding damping.. How can i get these graphs please.
Awesome video. Can you please test the phase shifts on the transformer of the ZMPT101B. Maybe you will have to remove it from the board. Can I use the only the transformer to calculate the Power Factor? Thank you in advance, appreciate it.
The transformer should not be removed. It is actually a current transformer (2mA:2mA). Some manufacturer decided to offload their bunch of useless parts and they came into the market. If I remove it from board and connect directly to supply, it will go up in smoke. I can test with signal generator, but I do not have one..
@@Debraj1978 Yesterday I removed the transformer and connected a 820k resistor in series with 230V AC mains power as the data sheet recommended. I'm getting an out put Voltage of 3.6V AC on the secondary. I don't have a osselescope to test the AC wave form to see if the transformer is in phase with the mains power.
i have tried to turn on and turn off the backlight of selec em2m-1p-c-100a meter example snippet : if (command == 'v') // "backlight OFF" { MODBUS_TXBuff[1] = 0x10; // As per MODBUS standard, '0x10' function code to WRITE "holding registers", which are read/ write MODBUS_TXBuff[2] = 0; // High byte of address on EM2M is always zero MODBUS_TXBuff[3] = 0x0D; // Refer to EM2M manual, this is low byte of address specific to the "holding register". Due to print error on EM2M manual, this register is called Stop bit. MODBUS_TXBuff[4] = 0; // Number of points, high MODBUS_TXBuff[5] = 2; // Number of points, low MODBUS_TXBuff[6] = 4; // Byte count MODBUS_TXBuff[7] = 0; // data-1 MODBUS_TXBuff[8] = 1; // data-2 MODBUS_TXBuff[9] = 0; // data-3 MODBUS_TXBuff[10] = 0; // data-4 retStat = MODBUS_write_13_bytes_read_8_bytes(); return retStat; } its not working bro
may I ask. is the spped and duty cycle linear? if in my software i want to set 120rpm how it is translated into the set value with this circuit? Thanks.
This is 14 years old project. But what I remember is that you cannot control the speed in closed loop. You have to set the firing angle of triac. And based on voltage, the speed of fan will be determined.
Very Nice video. I have only 1 doubt in case if we are doing closed loop control of current/torque, the pwm duty cycle will vary as per PID output. In that case can we get proper reading if we took samples at mid of on cycle.
Yes, it will be. But you have to vary your sample point to be in the center of every PWM, because the PWM duty itself will be varying as per PID output.
@@Debraj1978 i tried to run this on this with wemos Mini ESP8266 which is with same pin configuration but its not quite working. Will you be able to help on this?
It is possible, but the BW limitation of opamp may cause sine output from amplifier and higher order harmonics of square and triangle may be supressed. I did not try it, generation of triangle and square wave is much easier directly from microcontroller and DAC.
Hi Hello, I just want to clarify on which to follow on the circuit. I saw that the connection of Vout of the AD9833 was different on the hand drawing (5:19) with the annotated image (6:13). On the hand drawing Vout is connected to a voltage divider resistor of 5.1k ohms going to MCP6S21, while on the annotated image, it is connected to 10.2k and (not sure of the value 100E) and the connection is kinda weird. I'm not expert and just needed your corrections. Thank you.
@@Debraj1978 Wow thank you so much for the reply. By the way, what kind of connection is that? from Vout? Its not a voltage divider? Can you explain whats the two resitor and ground in the middle do? Last, 100E means 100 ohms right? TIA
This code is written for Microchip dsPIC and this particular hardware (MCLV-2 development board) only. If you do not have all these, the code is of no use. I would recommend you to understand the concept and write the code by yourself.
@@Debraj1978 Board is costly, is there any cost effective solution. I want to calculate speed of dc motor,so can I go for some simpler ckt to measure back emf and calculate speed by just dividing it by EMF constant??
Hi, Thanks for the detailed video, can you point me in some direction to use max485. I am not getting any response from the meter "Invalid response received from the meter" for any of the commands.
I have started working on this project now, and have modified esp code to just for logging on serial port, I have shared code over email, can you please check and provide your inputs
Sorry, Please understand that I do not have time to read your code. All details are provided on my video and website. You should learn from them and make changes for your requirement.
I don't know what is the point of comparing the output voltage from the CT with the current, I think there is not much difference. when you had 0.556 amps, the calculation should be 0.556/1000 because the ct is 1000:1, then I=v/r, the resistor on the ct is 200ohms, this means you should have 0.556/1000*200 = 0.1112 Rms volts, on the yellow channel you have 0.109 since you are using a10x probe. for 1.01 amp you should have 0.202 volts rms and you actually have 0.2 for 2.0 amps you should have 0.4 volts rms. you got 0.396 for 3.03 amps you should have got 0.606 volts rms. you got 0.602 for 4.02 amps you should have got 0.804 volts rms. you got 0.799 for 5.04 amps you should have got 1.08 volts rms. you got 0.996 the resistor might not be exactly 200 ohms. In fact if you calculate based on 198 ohm resistor you have almost got 100% accurate results
ADC and PWM are running independently of the dsPIC core. Once the values are loaded into PWM register (which takes few nano seconds), remaining time is free for dsPIC to do anything. Basicall, dsPIC is doing nothing in this case. You are free to implement low pass filter or any DSP algorithm to tune the audio output quality.
@@Debraj1978 Thank you for your reply. Are you using the internal clock or the quartz of the model? I have not started my development, I am looking for a dsPIC that could generate a signal up to 1kHz, control by PWM (100kHz chopping) my converter and read back voltage/current to make the necessary corrections. In principle like a class D, except that the reference is internal and that the measurement corresponds to the output signal.
@@MsAlatir I am using internal FRC of 8MHz and using PLL make is 100MHz to run the dsPIC core. You can generate 1KHz with 100KHz carrier. Should the 1KHz be sine wave? In that case, you will have 10 points per sine wave, so its going to be stepped sine wave (sinewave + harmonics).
Sir, I do it for myself only (hobby purpose). In fact, I do not know much about complicated ones, but this simple piece, I could do myself. I intend to keep it for whole life and one day show as antique piece to my grand children :-)