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.
Hello shahbaz.ele,
thank you for that link.
As far as I can see this does not explain the issue I asked for - "What is the sense of Points and Level?".
There was the statement "Post it to the moderators or pm to them" in the previous contribution.
Is the answer that secret? A kind of mystery...
Hi,
if you have no other task, then polled reading of the keys is fine.
So let´s do some pseudo code in C:
if (switch1 == low)
{
if (digit1 < 9)
{
digit1++;
}
// Wait until Switch1 is released again
while (switch1 == low)
{
}
}
else if (switch2 == low)
{
if (digit1 > 0)...
Hi,
there is no need for any schematics. A rotary encoder has normally 2 outputs.
Let´s call it S0 and S90. S90 is 90 degree shifted in phase related to S0.
Connect S0 to PD2 and S90 to PD3. You can also connect S90 to PD2 and S0 to PD3,
but then the sense of rotation will change.
Many rotary...
Hi,
may be it´s a little stupid - but I don´t understand for which reason a member can get points and can get to a higher level.
What´s the benefit of getting points?
Regards
Udo
Hello,
years ago I made a program to control an inverted pendulum. To increase the system resolution for better control, I doubled the encoder resolution by software. Here is the code. It is written for ATmega88 - may be someone can use it.
// Port and Pin definitions for Rotary Encoder...
Hello FvM,
Where do you see values like "5V" or the resolution of a "10-bit ADC" in the calculation?
That´s the nice thing of this way to calculate the acceleration.
It works even without knowing the sensivity (+-mV/g), the full scale (+-x.xg) of the accelerometer, the ADC resolution and...
Hi,
it´s quite easy to calculate the acceleration for every axis. Put your accelerometer flat on the table.
It will output the bias values for X- and Y-axis (acc_x_bias). If you are using a 3-axis accelerometer, then the Z-axis will output the value for -1g.
Now rotate the a accelerometer 90...
Hi,
I´v done a float based PID some time ago. May be it helps...
// C-File
// Module..: PID.C
// Version.: 1.0
// Compiler: IAR ARM
// Date....: August 2007
// Chip....: STM32
//-----------------------------------------------------------------------------
#include "pid.h"...
Hello,
I would like to start a project where a small robot can be commanded by some spoken keywords. It should be based on 32-bit devices like ARM7 / Cortex M3/M4 devices.
Does anyone know a solution for this?
Regards
Udo
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.