Description: The prototype circuit board utilized an external LCD display that received commands through an RS-232 interface. While this setup functioned adequately, programming it was cumbersome. Consequently, the circuit board was revised to support a directly attached LCD display. The image of the back of the board clearly illustrates the LCD connector and the extensive rewiring necessary to adapt the circuit board originally designed for another project. The connector in the lower right connects to a six-pin stepper motor cable, while the USB plug on the left connects to the Canon camera's USB port using the accompanying cable. Pressing "1" on the TV remote initiates shooting, "2" allows for camera position adjustments, and "3" enables variable value changes. The variables are displayed on line 4: "d" for Degrees, "s" for Steps, "p" for Pause before/after the shot, "c" for clockwise (0) and counterclockwise (1). The setting screen permits variable modifications within the program. Pressing "1" allows input of a four-digit number representing degrees multiplied by ten (e.g., entering "0450" for 45 degrees or "0225" for 22.5 degrees). The shoot delay indicates the pause duration before and after a shot, allowing for tripod stabilization and accommodating time exposures. This is entered as a two-digit number in seconds; for instance, entering "10" results in a five-second pause before and after shooting.
The circuit is based on the PIC16F88 microcontroller, configured for an 8 MHz oscillator with various settings for the watchdog timer, low-voltage programming, power-up timer, and brown-out detection. The LCD is connected to specific pins on the microcontroller, with defined registers and bit settings for data communication. Variables are declared for various functions, including camera control, stepper motor operations, and user input handling. The program includes commands for controlling the stepper motor's movement, managing the camera trigger, and handling remote control inputs for operational commands. The circuit also includes data for configuring the stepper motor's operation, ensuring proper torque development during movement. The implementation of this circuit allows for enhanced functionality and ease of use compared to the previous design.The prototype circuit board used an external LCD display that received commands via an RS-232 interface. Although it worked well programming it was cumbersome. For this reason the circuit board was revised so that it would support a directly attached LCD display.
This view of the back of the board shows the LCD connector more clearly. It also show s the amount of rewiring that was necessary to repurpose the circuit board which was designed for another project. The plug in the lower right goes to the 6 pin stepper motor cable. The USB plug at the left goes to the Canon camera`s USB connection via the connecting cable that came with the camera.
Pressing 1 on the TV remote starts shooting, 2 allows you to adjust the position of the camera and 3 lets you change variable values. Note the that variables are shown in line 4: d=Degrees, s=Steps, p=Pause before / after shot and c=0 for clockwise and c=1 for counterclockwise.
The setting screen allows you to change the variables in the program. Pressing 1 allows you to enter a 4 digit number of degrees X 10. That means to enter 0450 for 45 degrees or 0225 for 22. 5 degrees. The Shoot delay is the pause time before and after a shot is taken. It allows any motion of the tripod to settle and also allows for time exposures. It is a 2 digit number in seconds. If you enter 10 the system will pause for 1/2 of the time (5 seconds) before shooting and an additional 5 seconds after shooting. `9-12-2008 version 3-5 - WORKS `on green speedo board with H-bridge `works properly with 6 wire stepper (old hard drive ) `working well with Hurst motor - 3600 steps per revolution rather than ` advertised 14400 - four steps per pulse, I would guess ` needs pause in "step 1" routine to develop proper torque INCLUDE "modedefs.
bas" cmcon=7 `allows you to use pins as digital rather than analog ansel=0 `allows you to use pins as digital rather than analog @ DEVICE PIC16F88, INTRC_OSC_NOCLKOUT, WDT_OFF, LVP_OFF, PWRT_ON, PROTECT_ON, BOD_ON DEFINE OSC 8 OSCCON = %01100111 `MUST BE USED to set clock speed =$67 = 4mhz DEFINE LCD_DREG PORTB `pins 9-12 on PIC with next item set to "4" DEFINE LCD_DBIT 4 `change to 4 to use top 4 bits (pins 4-7 rather than 0-3) DEFINE LCD_RSREG PORTA DEFINE LCD_RSBIT 1 `pin 18 on PIC with PORTA set DEFINE LCD_EREG PORTA DEFINE LCD_EBIT 0 `pin 17 on PIC with PORTA set p_len VAR BYTE loop VAR BYTE temp0 VAR BYTE temp VAR WORD temp1 VAR WORD temp2 VAR WORD temp3 VAR BYTE temp4 VAR WORD temp5 VAR WORD temp6 VAR BYTE digit VAR BYTE PauseWord VAR WORD TempWord VAR WORD TempWord2 VAR WORD value VAR BYTE LED VAR porta. 2 `also high 10 StartSwitch VAR porta. 5 `pin 2 CameraTrigger VAR porta. 7 `pin 16 - pull high to trigger camera CW VAR BIT `CW if 1, CCW if 0 CW_CCW VAR BIT `stores what was done last line1 CON 128 line2 CON 192 line3 CON 148 line4 CON 212 zero CON 136 one CON 128 two CON 129 three CON 130 four CON 131 five CON 132 six CON 133 seven CON 134 eight CON 135 nine CON 136 channelUP CON 144 channelDOWN CON 145 volumeUP CON 146 volumeDOWN CON 147 OK CON 148 Menu CON 224 ENTER CON 139 Degrees VAR WORD `degrees (steps actually) to move each time NumberOfSteps VAR WORD `number of times to do the rotate ShootSeconds VAR BYTE `pause after completed rotate before shot CWorCCW VAR BIT `0=cw, 1=ccw x VAR BYTE steps VAR WORD stepArray VAR BYTE(4) serial_out VAR porta.
This circuit illustrates an 8-digit digital tube display driver, utilizing two ICM7211A integrated circuits. A BCD (Binary-Coded Decimal) to binary data signal is transmitted to the BO-B3 pins of the ICM7211A. The digital signals are divided into two groups and...
A Darlington connection-type transistor is utilized for driving the coil. In this configuration, two stages of transistors are connected in series, resulting in a high current gain, where the "hfe" of the Darlington transistor is the product of the "hfe"...
The SC1088 is a bipolar integrated circuit designed for use in mono portable and pocket radios. It is particularly beneficial when a minimal number of peripheral components, which are compact and cost-effective, is essential. The circuit features a frequency-locked loop...
Best 1183 - A4988 Stepper Motor Driver Carrier with Voltage Regulator in Robot Italy. The A4988 stepper motor driver carrier with voltage regulators is a breakout board for Allegro's easy-to-use A4988 microstepping bipolar stepper motor driver. The board has two...
The circuit depicted can be utilized to control a unipolar stepper motor equipped with four coils. This design is derived from an older fax machine. The circuit is capable of handling a motor current of approximately 500 mA per winding,...
The SM5023 series consists of 3rd overtone crystal oscillator module integrated circuits (ICs). These ICs are equipped with built-in oscillator capacitors that provide excellent frequency response. The cutoff frequency can be configured using an external feedback resistor (Rfo), allowing for...
Connecting a LCD display to your personal computer is an easy job. Displaying data from your PC to a LCD can be proven very exciting, so give it a try and build your own today! In this article, we will...
The Spartan-3an board features external interfacing for stepper motors, as illustrated in the accompanying figure. The stepper motor is driven by the ULN2803A, which is a high-voltage, high-current Darlington transistor array. The ULN2803 serves as a driver for the port...
If the control circuit of this motor driver is based on a microcontroller or digital component, it is advisable to implement a buffer for each port that controls the stepper motor driver. This precaution helps prevent overloading the microcontroller ports....
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more