stm32f4xx-hal
Arduino
stm32f4xx-hal | Arduino | |
---|---|---|
11 | 139 | |
506 | 14,005 | |
2.8% | 0.2% | |
8.4 | 0.0 | |
7 days ago | 8 months ago | |
Rust | Java | |
BSD Zero Clause License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stm32f4xx-hal
- Rust newcomers are 70x less likely to create vulnerabilities than C++ newcomers [pdf]
-
1.5st project: Rusty Stopwatch
I would personally use the abstractions provided by the stm32f4xx-hal crate more. See https://github.com/stm32-rs/stm32f4xx-hal/tree/master/examples/ for examples.
-
[Media] To get familiar with embedded Rust, I wrote a Tetris clone! It's running on an STM32. I repurposed a board I designed for another project
For this project, the audio ended up being the biggest challenge. I spent a few days on-and-off working on it because it would stop working as I modified the PWM frequency. I was eventually able to track it down to a bug in the HAL and opened a PR accordingly: https://github.com/stm32-rs/stm32f4xx-hal/pull/555
-
Hey Rustaceans! Got a question? Ask here! (30/2022)!
For my specific issue, I'm using the stm32f4xx-hal library to control a bunch of RGB leds, each with a pwm output. Since I have to get pins and timers where I can find them, each component of the led is made by something like
-
STM32F4 Embedded Rust at the HAL: PWM Buzzer
At the time of writing this post, I noticed that if going with option 1 stated earlier that returns a PWMChannel can prove to be quite problematic. In navigating the documentation, the PWMChannel implementations do not include methods that allow to get and set the period of the peripheral. There is an issue that I submitted here for that.
-
blink sketch for stm32f411?
Maybe check out this example from the stm324xx-hal repo?
- How to setup CLion for programming AVR microcontrollers?
-
can u reccommend a microcontroller for my protorypes needs?
Here is an example for stm32f407 (trivial to change to stm32f411) that gets random numbers from the rng peripheral and displays them on an ssd1306 display: https://github.com/stm32-rs/stm32f4xx-hal/blob/master/examples/rng-display.rs although this uses Rust, which you may or may not like. Arduino will have you covered as well, obviously.
- Huge binary size when using usbd_device SerialPort on stm32
-
Learn a new language after C. Rust or C++?
A major benefit of Rust in embedded is how easy it is to use libraries. This example implements USB serial communication on an STM32 in under 80 lines. You add some libs and if it compiles it works.
Arduino
-
Which electronic kit should I get ? Absolute beginner
I learned from looking at example code in the Arduino IDE (a really good and free code editor https://www.arduino.cc/en/software). The Arduino IDE allows you to add more boards (like ESP32, ESP8266, Tiny etc.) so you're not limited to using only their Arduino boards.
-
Robot Tour Software Problems
Based on what I am seeing from the Keystudio website, the software you need is just the Arduino IDE. This can be downloaded from Arduino.cc for most operating systems, including Mac OSX. You may need to install support for other boards or install libraries to make it work with the Arduino and hat included with the kit.
- General information about getting started with the Pico SDK
-
Save Data to Kintone with an ESP8266
Download and install the Arduino IDE. After installation, open the IDE to the first sketch.
-
I am a noob at this pls dont roast
Well, your first course of action would be to download the software - https://www.arduino.cc/en/software
-
How to begin
You can download the IDE from here.
-
arduino leonardo
You will need to download and install the Arduino IDE to do that. I would suggest the Legacy 1.8.x IDE or the Arduino Web Editor (which will still require that you install some software on your computer to help transfer the program to the Arduino).
-
How to program a Raspberry Pico to make a button box
The software used for that video is the arduino IDE https://www.arduino.cc/en/software
- [Arduino] Réflexions sur Arduino IDE 2.0?
-
Trying my hand at a brake
Wiring: You're on the right track with your wiring assumptions. The red wire should connect to the 5V pin, the black wire to the GND pin, and the green wire to one of the analog input pins (A0-A5) on the Arduino Leonardo. For example, you can connect the green wire to the A0 pin. Programming the Arduino Leonardo: To translate the handbrake input to Assetto Corsa, you'll need to program the Arduino Leonardo to act as a USB HID (Human Interface Device). This will allow your computer to recognize it as a game controller. First, you'll need to install the Arduino IDE (Integrated Development Environment) on your computer. You can download it from the official website: https://www.arduino.cc/en/software
What are some alternatives?
stm32-rs - Embedded Rust device crates for STM32 microcontrollers
vscodium - binary releases of VS Code without MS branding/telemetry/licensing
meta-raspberrypi - Yocto/OE BSP layer for the Raspberry Pi boards
tinyusb - An open source cross-platform USB stack for embedded system
embassy - Modern embedded framework, using Rust and async.
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
cargo-binutils - Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
Makelangelo-software - Software for plotters - especially the wall-hanging polargraph also called Makelangelo.
bare-metal-stopwatch-rust - Bare-metal interrupt-driven stopwatch on STM32F439ZI, written in Rust
arduino-create-agent - The Arduino Create Agent
hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
Marlin - Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.