We need to provide the rotation angle to servo through RF link. The drive software needs to translate the rotation values into pulse width and feed this pulse to servo at pulse rate frequency. This motor requires a 50 Hz frequency at signal line to operate. We will be using V3001 bought online for this article, whose pulse width range is The transmitter is connected to laptop’s USB port and the receiver is powered through a 5V charger. I will be using two identical SmartRF boards for receiver and transmitter. Figure 6: Transmitter connected to USB Figure 7: Receiver connected to Servo Figure 5: Schematic for Receiver sideįollowing are actual setup images. System Setupįollowing is the schematic for whole setup and the image for actual setup. 1 x Mobile charger with Micro USB headerīesides these components, a laptop or PC with serial terminal software will be required to give commands to the setup. Figure 4: Servo control signal waveform Part List The frequency is kept constant and the pulse width is varied to get servo to another position. You need to check with your servo data sheet for exact values of these two parameters. The width is called as pulse width and duration is related in terms of pulse frequency. The signal line needs to be fed with pulse of a certain width at a particular duration to keep the servo at a steady position. Orange/White : Signal Figure 3: Servo Motor.Generally the servos follow same colour convention to maintain standardization. So we will use this convention for rest of the article. Out of 3 lines of a servo, two are Power and Ground and third is control line or signal pulse or PWM input, whatever it is called in different parts of engineering world. Just for a quick brief let’s revise a methodology to drive a servo motor. SmartRF has an 8 bit atmega324 and a RF radio, so our RF receiver and controller is physically same module, but I kept them separate in block diagram for logical understanding. We will be using SmartRF from Knewron Technologies that is an nrf24l01 based device. Drive : includes controller to create drive signal and amplify it to desired power Signal processing : includes RF radio, and controller to process received dataģ. Power : includes power source and regulatorĢ. So for starters we’ll see basic block diagram of how the system flow will work: Figure 1: System Block diagramĪs per figure 1 the logical block of unit has 3 major sectionsġ. Today we will command and operate a servo motor with RF data link. In this article I‘ll focus on how we can actually do this by controlling a servo motor with RF communication. Many new electronics engineers this way, either they never get time or they think it’s a lot to learn and create to do something like that. So the same I thought about making doors lock operated wirelessly and my shelf lock and a lot of other stuff. I made my first robot when I was in college and always thought to make totally wireless. Comment errors or corrections found for this circuit, and get the chance to win big! You can find our comments section at the end of this page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |