|
USB B |
x 1 | |
|
R2012 4.7k |
x 1 | |
|
R0603 510R |
x 2 | |
|
R3116 1M |
x 1 | |
|
R1608 22 |
x 2 | |
|
R0603 10k |
x 1 | |
|
STM32F103C8T6 |
x 1 | |
|
R0603 100k |
x 2 | |
|
LED |
x 2 | |
|
Header 4 pins |
x 1 | |
|
Header 3x2 |
x 1 | |
|
Header 20 pins |
x 2 | |
|
C0805 1uF 105 |
x 1 | |
|
Linear Voltage Regulator |
x 1 | |
|
C0603 20pf |
x 4 | |
|
C0603 1uF 105 |
x 1 | |
|
C0805 10uF 106 |
x 1 | |
|
C0603 0.1uF 104 |
x 7 | |
|
Button |
x 1 | |
|
C0603 0.022uf 223 |
x 1 | |
|
Crystal 32kHz |
x 1 | |
|
Crystal 8MHz |
x 1 |
|
Inventhub |
|
|
arduino IDEArduino
|
|
|
Altium DesignerAltium Designer
|
Getting Started with STM32- Arduino code Programming and PCB Design
STM32 Board:
STM32 is a high-performance, development board with loads of features in a small form factor. It features a 32-bit ARM Cortex M3 processor running at 72MHz frequency with 64Kbytes of flash memory and 20 Kbytes of SRAM. It has an extensive range of I/O and peripherals, including multi-channel Direct Memory Access, several high-resolution ADC, and three general-purpose 16-bit timers plus one PWM timer. It also has multiple communication interfaces including two I2Cs and SPIs, three UARTs, and USB. Further, it allows you to add additional flash by soldering an SPI Flash to the board.
This development board is pre-flashed with an Arduino bootloader, so you can download the sketch just like any other Arduino board. The STM32 can be programmed using either the Type-C USB connector (if the bootloader is flashed), the STLink USB dongle, or an external USB to 3.3V TTL adapter.
Features:
- On-board Mini USB interface, you can give the board power supply and USB communication
- On-board test indicator LED
- On-board reset button and power indicator LED
- On-board 100ma 3.3V Regulator
- All GPIO are led out and the names of the pins are marked
- After soldering the headers, you can directly plug the board onto the breadboard
Technical Specifications:
- CPU Part Number: STM32F103C8T6
- download.jfif
- Core: ARM 32 Cortex-M3 CPU.
- Debug mode: SWD (can be programmed with ST-LINK V2)
- CPU Internal Maximum Clock: 72MHz
Schematic:
For the design implementation, I have decided to work on Altium which is very useful and efficient for complex designs. After creating my schematic I have uploaded my schematic file online on Inventhub for the users. Anyone who wants to implement my design can visually view or download the file from Inventhub and can implement my design.
PCB:
I have implemented the PCB design of this board on Altium. It is a double layer PCB board one is the top layer and the other is the bottom layer. There is a silkscreen layer on both sides where I have written the text on my board. Autoroute in Altium allows us to route automatically but this design and its routing are quite complex so I did it carefully part by part. After completing the routing I can view the board in 2D or 3D to get an idea of how it will look after fabrication.
Once I have done designing my board I have uploaded the PCB design file online on Inventhub. The manufacturer can view or download my PCB design file to fabricate my board without any error.
Bill of Materials:
After the fabrication of the board, I created a list of components on Inventhub which contains the details of the manufacturer, supplier, manufacturer part number, pricing, and quantity. By just putting these details in the BOM file on Inventhub, I can easily calculate the total cost of my project automatically using the supply chain option. I can also view the datasheet of the component and can view its 3D model. Instead of visiting the component provider, I can send him this BOM file, he can download it in CSV file format and can deliver my components as per my design requirements.
Install STM32 to Arduino:
- In Arduino, go to File → Preferences
- Add the URL below to ”Additional Board Manager URLs” box then click ok
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
- Click on "Tools" menu and then "Boards → Boards Manager"
- Select the "STM32" and click on install.
- You can check the STM32 board from the menu
- Select the “Generic STM32F1 series”
- You can also select the part number of the board from the “board part number: BluePill F103C8” option
- Select the available port in your Arduino. Now you are ready to start with you STM32 board
Arduino Code to Test the board:
/*
Blink onboard LED at 0.1 second interval
*/
void setup() {
// initialize digital pin PB2 as an output.
pinMode(PB2, OUTPUT); // LED connect to pin PB2
}
void loop() {
digitalWrite(PB2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(100); // wait for 100mS
digitalWrite(PB2, LOW); // turn the LED off by making the voltage LOW
delay(100); // wait for 100mS
}
Getting Started with STM32- Arduino code Programming and PCB Design
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Arshmah Arshmah Shahkar
- Control Household Appliances Remotely- PCB Board This is a simple remote controller circuit consisting of two main parts:TransmitterReceiverThese kin...
- Better Quality of Sound with Class D Audio Amplifier PCB Board What is Class D Amplifier?As the name suggests D, is a digital amplifier. It is also known as a swit...
- Digital Voltmeter PCB Board To Measure Voltages Accurately Digital Voltmeter:Digital voltmeters are used to measure potentials between two different points and...
- Control Direction of DC Motor Using H-Bridge Driver PCB Working of H-Bridge Driver:H- Bridge driver circuit is made up of four transistors that act as switc...
- FPGA PCB Using ICE40 To Drive 64×64 LED Matrix ICE40 FPGA:The ICE40 chip is an ultra-low-power FPGA and sensor manager designed for ultra-low power...
- Heart Rate Monitoring PCB Board Design for Workout The heart rate monitor is used to measure heartbeats in a minute. It can be useful in many applicati...
- Determine Electric Field Strength To Adjust Gain and Transmitting Range-PCB Design Description:This PCB design board is useful for the RF signals to determine the strength of the sign...
- H-Bridge Inverter PCB Design Board The H bridge inverter is used to convert DC voltages to AC voltages. An h bridge is common in genera...
- For Avionic Applications: Reliable Phase-Shift Driver PCB based on TLC6A598 Phase Shift:Avionics refers to the electronic systems designed for use in aviation. It is a combinat...
- Water Level Indicator PCB Design Board Measure level of Water:The water level indicator is used to indicate the level of water or any fluid...
- Fire Alarm Sensor with Arduino Interface PCB Design Board Flame sensor:A flame sensor is sensitive to normal light. It is used to detect the presence of flame...
- Getting Started with STM32- Arduino code Programming and PCB Design STM32 Board:STM32 is a high-performance, development board with loads of features in a small form fa...
- PCB Board To Determine the Performance and Properties of an Antenna Antenna in Wireless Communication:Antennas are everywhere! An Antenna is an electrical device that c...
- PCB Device to Test Continuity in Circuit and Polarity of Components Introduction:A continuity testing device is used to check the breakage and shortage of wires in a ci...
- High Accuracy and Low Power Digital Temperature Sensor PCB MAX30207 Introduction to MAX30207:MAX30207 IC is a low-power and high-accuracy digital temperature sensor. It...
- PICAXE40X2 Efficient MCU Ideal in Hobbyist Project PCB Overview:Take an example of a microwave oven, the microcontroller processes your input that you ente...
- DC to AC Inverter Based on CD4047: PCB Design Board Inverter:Inverters are those electrical devices that convert DC voltages to AC voltages. It is used ...
- SMPS Power Supply PCB Board Design for Different Applications Background Story:Switch Mode Power Supply (SMPS) can switch the main AC supply to a 12V DC supply fo...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
117 0 0 -
DIY Laser Power Meter with Arduino
165 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
156 0 2 -