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.
pwm 40khz
Do you need constant 40kHz or do you need it for ultrasound range meter?
If you need it for US meter than it is easy .... turn on and off pin 8 times for ~12us and you have ~40kHz. (I used 12us on and 13 off in my project)
ad9834 function generator
I know this is an old topic, but if you still need the board design. I made one sided smd design according to spec. here is te Eagle files...
BTW: does anybody have better explained controll interface for te circuit???
Re: How to start study microcotroller because I want to stud
First look at your local supplier what kind of µC is most available. Than make a decision based upon that.
Start with 8bit family and than move on to higher families. This is probably the est advice I can give to you ;)
Re: ADC in PIC
It is usually around 4-6µs for PIC16 series. I think that dsPIC and some 18F series have faster ADC, but you should look at datasheet anyway.
You could have flag, that states that you have data in buffer. Another concern is that you write 0x00 to the first location if you get more than 3 bytes of data.
So code in main could look like this...
if (received==1)
{
PORTC.f0 =1;
received=0;
}
else
{
PORTC.f0 =0;
}
This is...
Re: 10F222
I don't know where to buy them, but I have comment on C compiler. PIC10 series have very limited memory/program space, so is it "sane" to program it with C?
Regardless to the previous sentence, CCS has support for some of them.
What kind of sensor?
In past I did ultrasound range finder with PIC, but principle is the same. If you are using piezzo receiver and transmitter than you need to amplify the received signal and just send it trough ST to the µC. All the magic is in the time between sent pulse and received pulse...
Re: why l298 get hot?
I'm using IRF7455 and IRF7416 because you can drive them with logic level (5V).
I read a lot of Microchip application notes and I found them helpful.
Classic H bridge
Here are some links, that could be helpful:
https://ww1.microchip.com/downloads/en/AppNotes/00906B.pdf...
If you know how long is the message then you can read character at a time and then stuffing it into array.
something like that:
for (i=0;i<=10;i++)
{
arr[i]=getc();
}
If you will use this array as a string and use printf() function then you will have to replace NULL character with space...
hot l298
How did you connect the diodes? And what is the frequency that you drive PWM with?
I have design with single Mosfet and I can put on motors that "suck" 5 amps and FET doesn't even get warm.
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.