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.
Hi!
As suggested by KlausST you have to send the numbers in ASCII i.e.
putch('A');
or if you are directly writing it in assembly to some transmit register then you can simply write it as REG = '1';
where REG is the transmit register of your particular microcontroller.
Moreover check the...
Hi!
I have just bought a couple of MPU6050's. I haven't explored them yet. However this website looks promising. It may solve your problem
https://playground.arduino.cc/Main/MPU-6050
Regards.
As an experiment read the value of adc on an adc interrupt instead of timer interrupt. I think that with the reload values that you are using in the last code you are not giving enough time for the result to convert.
You have to be careful about a number of parameters for the ADC to give the correct result
1. The ADC conversion clock.
2. The ADC aqusition time.
3. Table 21-1 on page-265 of the data sheet gives the correct combination for the device frequency and ADC clock prescaler.
3. Another important...
Well once i used it to program my dsPIC2010.
Another more simple and better programmer (which i now use for all PIC's) can be found here.
https://www.edaboard.com/threads/189864/
In my opinion this is the best (and simplest) PIC Programmer.
That is not a problem. Keep track of the time by using a timer for interrupts of specific intervals. In the interrupt routine keep track of the time. You can use the controller for other tasks.
what is ur crystal frequency nd which device are you using? I can help u with the code.
Since the 30F series supports high voltage programming therefore u can use the attached schematic with winpic800 software to program a range of PIC microcontrollers.
The software can be downloaded free from
WinPic800 - Inicio
The reason is mentioned in the datasheet of the controller. Actually this time is called acquisition time.
There is a capacitor inside the adc module of the controller which must charge to the input voltage before the adc can start converting the voltage to a digital value. That capacitor needs...
I fully agree with you. Since i am from the teaching profession therefore i always try to give examples. To see where big companies can go wrong see this link. This is just one example
Ariane 5 Flight 501 - Wikipedia, the free encyclopedia
Yeah i just googled it, downloaded the pdf, read it and then pasted the link. I think that is the why u learn things and help others. Even examples and codes from big companies (microchip) have errors. The trick is to read the examples and the code carefully and then modify it to suit ur needs.
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.