Search Engine

Position Microcontroller

Add Question

41 Threads found on Position Microcontroller
Depends on the touch panel type, may have discrete "buttons" or continuous (x-y) position sensing, newer types are "multi-touch" sensing two or three touches simultaneously. In any case, a microcontroller or dedicated touch controller should be able to translate the touch input to the intended button actions.
I would like to use a potentiometer attached to a ball valve and e.g. (10) 2.5mm x 7.4mm rectangular LEDs to indicate the position of the valve: no LEDs lit = fully close, and 10 lit = fully open. This seems pretty simple and I can almost imagine this circuit, but wonder if someone out there could save me some trial and error. Thx!
Hello, This is a project for controlling sensored brushless dc motor (BLDC Motor) using Microchip PIC16F877A. This motor is a 3 phase motor, it has three hall sensors to detect its position in order to generate the appropriate signal to the three phase bridge as shown on the attached circuit schematic. The following video shows the working: [
adding to post #2 that do use the cursor positioning command and overwrite the wrong entered character with blank space if you want to delete the character with delete button.
which microcontroller are u using? The selectable 12 position switch will have perticular voltage output for each selection. This voltage can be given to ADC and corresponding msg can be read from ROM and sent to LCD_print function. is LCD alphanumeric or graphic? If its alphanumeric there are plenty of example codes online. Can u share the schemat
For my project, stepper motor will be used to rotate thermostat knob. My problem is i want stepper motor to rotate to the shut off position of knob. When the knob is not moving(obviously it has some shutdown point), stepper motor should stop rotating. Is there any mechanism for microcontroller to know that stepper motor is not moving anymore an
I presume you understand about the function LDR half bridge in each axis. We can expect that both LDRs have same resistance in balanced state (correct tracking position) and also with diffuse lighting (no sun at the sky). In balanced statem both relays are off and the motor stops. In unbalanced state, the comparators are either activating one or
hi i have a project to track objects and send their position data through. I also read this topic : there were a useful module there SIM548 GSM/GPRS+GPS Module that have both GSM and GPS integrated, but i wanted to ask again that is there any microcontroller with integrated GSM or GPS module
Hi all, I am currently designing a Telemetry system for my Model Aircraft. So i need a board with GPS,GPRS and a microcontroller Possibly an ARM(LPC2148 or similar) And that board should also have RS232, USB Host and GPIO for analog input to monitor fuel level, temparature air pressure at current position. I may consider a digital Barometric
Hello everyone, I am doing a project on gps and gsm based vehicle tracking system, where the location of the vehicle is got by gps and the position will be sent to the mobile through gsm. So which microcontroller is best to use for this project? plz help me out.....
Hello anyone, I am trying to to connect a 74hc165 parallel to serial shift register, to a 74hc595 serial to parallel shift register. i would like to use a 555 timer for the clock. i am trying to send the position of switches or push buttons at least 7 minimum, through a least amount of wires. if anyone has any other ideas how to do this i need h
Hello! You can build a linear servo (without hysteresis), but the problem will be to detect the current heading. If you want to built a system with a compass, it's simple, and you can lock to a certain heading. If you add a GPS and if you have geographical data of the river, then you can know at any time your heading and your position. But from th
Thumbwheel switches can be obtained in hexadecimal (16 position, they read A to F after 9) with a 4-bit binary output. You could use just one of these for your purpose. (assuming you only need channels 1 to 15 on your chart).
I need huge help. I connected my RN-XV module to board (see attachment). 4 pins from RN-XV (5V,GND,TXT,RXT) I connected to IC106(see on scheme), 5V-slot 8, GND- slot 5, TX- 1, RX- 4. Jumper J102 I switched to left position so I could use RX. When it is connected like this I cant use my serial port so
I think you forgot to read the button position in the main loop. void main(){ int l; while(1){ read_button(); // read the button to know if is pressed or not if (button==0) // if switch pressed execute this part{ ... }else{ //if not pressed execute this part ... } }
You can drive direct servos in both examples like @jpanhalt say.... Only you need pulse on control line.... Pulse define position of servo!
I have implemented PID control on precision dc motors. The position of servo motor is determined through linear optical encoders. The encoder values are read using a counter/timer/ TIM4 in the microcontroller. When I make very small moves, the servo moves and stops. Then according to my algorithm , I check if the movement has finished or not. In so
what kind of positioning hardware do you have, or are you planning to build all the mechanical structure? I think you basically need 3 stepper motors and 3 H-bridge controllers, and probably you will like to have 3 encoders... you can also use linear actuators instead of the stepper motors..
We are looking for a microcontroller development kit with SIM300 or SIM908 or any other modem. that sends gps position to web database by gprs connection. The core of all project is establish a internet connection via GPRS and send to internet database . Also, i presume it has sim card slot also. Request you to send me the link of any such pr
Kunal, I may sugest you to use dsPIC instead PIC. That´s because it have incremental built-in hardware module, wich allows the firmware to take account of encoder position without need to count incoming pulses, but reading a specific counter register. +++
Can you eloborate the question? Don't you trust the servo in tracking the position set by the control pulsewidth? Or is the servo disabled by setting an out-of-range pulsewidth? A possible option is to open the servo and tap the potentiometer signal.
I want to turn the hardwired power seat controls into a microcontroller controlled circuit using an analog joystick (like what is on a game controller). Each seat has 3 motors and 3 switches, and each switch is in a normally open position, and when moved one way will send one polarity to it's motor, and when moved the other direction it will rev
our project is position control of antenna using dspic.....we wil run a pmdc motor using dspic30f and motor wil rotate the antenna in direction of max received signal....problem is we need a code for dspic for doing this...... can anyone help me please.... motor is 12v,60 rpm pmdc motor....antenna is horn antenna,,,,microcontroller is pic16f8
Hai friends, I am using AT89C51ED2 microcontroller. I would like to store the position information measured by the optical encoder into internal EEPROM of AT89C51ED2. Can anybody help me in writing C code for storing the data in EEPROM.
Pinch roller with chopper-wheel type encoder. X pulses/rev. Pulses fed to a microcontroller or PLC. microcontroller or PLC controlles motor speed. or Tension idler with position output to microcontroller or PLC to motor. Ken
A correctly positioned mirror and reflective optocoupler will give one pulse per rotation of the pulley. If you use more mirrors you can get greater accuracy by producing more frequent pulses. You need a reference point to tell you when the lift (elevator) is at a particular position, this might be at bottom or top of the shaft. Use this to zero
I'm almost finished building an articulated arm robot. It uses 6 DC brushed motors with quadrature encoders and one brushed dc with pot for position sense. The microcontroller (dspPic 33fj256gp710) is connected to six LM628 motor controllers. I've used assembly code to control one motor with encoder at a time but I've been struggleing, with limit
If potentiometer position feedback is suitable for your application, then more simple drive methods than stepper motor, particularly DC motor, should be considered. Nearly all existing stepper driven designs are counting steps and using an index sensor (zero position), if absolute positioning is required.
I am doing dc servo motor controller.I want control position.But i don't know used some registry?Now I can read encoder by timer counter registry.Plsease help me. Hardware: LPC2148 form Nxp
im a newbie in learning microcontroller... need a lot of help from u all... i have a PIC16F877A... and some RC servo motor.... can PWM module used in here to control the position in servo motor??? or need to use timer0 interrupt?? which method better?? in C language... im using Micro C compiler... if i wanna control multiple servo motor such as
You can drive it in simple stepper mode, commutate at a very slow rate. BUT, it will not run smoothly, it will jerk about a lot and any load will destroy your drivers. A brushless motor is designed to run at speed and needs some feedback of position to know when to commutate. Checkout Microchip application note AN1175 for a simple program to dri
Hello, i'm looking for one microcontroller with 2 QEI (Quadrature encoder Interface) to count automaticaly up and down the exact position of 2 axes. In the product selector of microchip, I have found that the PIC18F4431 have 2 x QEI but in the datasheet only appears 1 QEI. What is my error?
plzzzzzzzzz help me i have to write a simple program in microcontroller preferrably in C; in the program i have to implement this eq: D=V/(f * pi) derivation... V is the velocity of sum roller.... D is diameter of roller Actually there is a roller rotating on sum velocity and it has sum angular velocity.... Diameter of roller is contino
Hi I have to read the position of a potentiometer shaft from a distance. The potentiometer is placed 150 to 200 meters from the control room. The supply voltage is 24Volts DC. I have to report the position of potentiometer in the control room. The display and other methods I have an idea. But will the normal ADC reading method will
How can I build a simple encoder on the wheel of my robot? May I please know how exactly do you determine the position of the robot in a game field using encoders? I am using AT80c51 microcontroller.
One simple approach to this issue is to use two, or more, standard miniature security IR sensors, which are off-the-shelf items and therefore inexpensive, and position them in such a way that each covers certain section of room .. Even if they overlap a little bit, the microcontroller can easily "decide" how to re-position your video camera (...)
I'm using an Atmel AVR series microcontroller to position a motor using feedback from a rotary encoder. The code uses avrgcc libs. The problem is this: When I was developing the control algorithm I put code in it that printed out variable values to a serial port so I could get feedback if the code was working as expected. When I remove the co
Hey, I'm planning to use a grid of IR diodes to measure the position of one IR emitter. My idea is to wire up the diodes to the A/D converter of a PIC microcontroller, and scan over the diodes in the grid in rapid succession, measuing the exposure of each. I'm not sure if I need to amplify the signals. Maybe feeding a low reference voltage to th
hi can any body tell me how do i get data for 8051 mcu. (how do i read x,y position and directiob by a microcontroller) :cry: thanx...........
I think most PS/2 mice use some sort of microcontroller or ASIC. I dont think you would be able to buy the controller off the shelf. Their workings are pretty simple tho. The position is calculated by a simple rotary encoder, every time the notched wheel passes through the sensor, the sensor outputs a pulse. All you need to do is to count the pulse
I've done preliminary design work for a AVR based PID controller for DC motor position control. I no longer have the links, but you should be able to perform a google search on PID control system to find information. You should find several university class notes and examples for the design equations. We used the AVR PWM outputs to control cur