super_star

stm32 writer control board_V1.1_20200428_[under development]

 
Overview

characteristic

  • STM32F103C8T6 as master
  • The screw stepper motor part in the scrapped optical drive is used as the hardware system framework
  • 4988 module as stepper motor driver board
  • SG90 servo control pen lift
  • Arduino has a source code similar to the engraving machine, transplant it to stm32 to deepen the understanding of the algorithm
  • low cost! The scrapped optical drive is 6 yuan x 2 from a certain treasure, the steering gear is 3 yuan, the 4988 certain treasure is 3 yuan x 2, the circuit board is made from a Lichuang board, and the glue is 6 yuan from a certain treasure, a total of 27 yuan

describe

Hardware framework construction

Hardware circuit block diagram

image.png

Hardware circuit description

  1. power circuit
    • It is powered by a 12V 2A power adapter (the lithium battery will be considered later). The 12V power supply is stepped down to 5V through the 7805 linear voltage regulator circuit, and the 5V voltage is stepped down to 3.3V through the RT9193 circuit.
    • The schematic diagram is as follows:image.png
  2. MCU circuit
    • The schematic diagram is as follows:image.png
  3. Stepper motor circuit
    • To save trouble, connect MS1, MS2, and MS3 to 5V, that is, set the step to 16 subdivisions, short-circuit SLEEP/ and RESET/, that is, connect them to high level (disabled), and connect DIRECTION, STEP, and ENABLE/ The pinout is connected to the MCU circuit [2].
    • The schematic diagram is as follows:image.png
  4. Steering gear circuit
    • When connecting a large capacitor, the main consideration is that the current required when lifting the pen is large, and the capacitor can help provide current.
    • The schematic diagram is as follows:image.png
  5. interactive circuit
    • sta is the status indicator light, and the other four are front, rear, left, and right indicator lights; pa/st is the pause/start button, sus is the termination button, and the other four buttons are the front, rear, left, and right buttons.
    • The schematic diagram is as follows:image.png

code design

Later addition

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-23 11:15:00

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号