Coder Social home page Coder Social logo

k-code / stm32f4-examples Goto Github PK

View Code? Open in Web Editor NEW
274.0 64.0 181.0 778 KB

Examples programs for STM32F4Discovery. These examples were written while I was exploring STM32F407VGT microcontroller. I think this is may be helpful somebody.

C 99.03% Assembly 0.93% Makefile 0.04%

stm32f4-examples's Introduction

stm32f4-examples

Examples programs for STM32F4Discovery board. These examples were written while I was exploring STM32F407VGT microcontroller. I think this is may be helpful somebody.

stm32f4d_template

This is Eclipse project template for STM32F4Discovery board

Task-1-Leds

This is "Hello world" project. Simple blinking LEDs on board.

Task-2-Buttons

This is "Hello world" project, but this also used buttons for switch LEDs.

Task-3-SystemClocks

Setup and runtime change system clocks settings.

Task-4-PWM

Example how to use PWM to change LEDs brightness.

Task-5-SPI

Use onboard accelerometer by SPI bus.

Task-6-Interrupt

Expamle external and system timer interrupt

Task-7-USB

Simple exampe CDC USB device. Press 'a' and 's' for toggle LEDs, press user button for send 'HELLO' to PC.

Task-8-US

Simple example shows how to use Ultrasonic sensor

Task-9-RTC

Real time clock example

Task-10-DHT

Simple exemple for DHT21/AM2301 sensor

Task-11-SepperMotor

Simple example about how to work with sepper motor

Task-12-ADC

Simple ADC example

stm32f4-examples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stm32f4-examples's Issues

Bug in Ultrasonic Sensor Example

I found an interesting bug in ultrasonic sensor example and it cost me a sensor :). In program, if duration over 30000 it get returns to loop. But this cause to be sending of 10us trigger pulse over and over without break0. Due to this, tx transducer becomes hot and I think its driver burning. If you somehow forget to connect echo pin to right mcu input, sensor burns.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.