hwlib
nsec-badge
hwlib | nsec-badge | |
---|---|---|
6 | 2 | |
54 | 42 | |
- | - | |
0.0 | 7.2 | |
over 2 years ago | 8 months ago | |
C++ | C | |
Boost Software License 1.0 | 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.
hwlib
- Is using C++ singleton classes on atmega 2560 to abstract away port, pin and interrupt setup a good approach?
- Simple question on register programming
- Question about I2C
-
Should I write my own HAL drivers?
classic OO: github.com/wovo/hwlib
-
Pls check my understanding of stm32f411re microcontroller frequencies.
the full code is at https://github.com/wovo/hwlib/blob/master/library/targets/hwlib-stm32f4xx.hpp
-
ADC in Stm32F401RC ARM CortexM4
Last week I added that chip to my hardware library. The relevant file is here on github, the ADC code starts at line 316 and is copied below. I experienced no special problemes. I don't use interrupts. I see I should change the code to wait of the appropriate bit instead of just waiting a long time.
nsec-badge
-
Made the badge for Northsec 2023
All the source files are open and available on Northsec's Github: https://github.com/nsec/nsec-badge/tree/master/hw/2023/hardware
-
Creating something like a P.O. 33 K.O:
Step zero is to decide how is your board going to be assembled. Do you feel confident enough to solder and assemble everything yourself or would you defer some of that job to a manifacturer. If you go with a manufacturer, check how they get their parts supply, that will limit which parts you can select. For example, jlcpcb offers a manufacturing service for board assembly, but the parts have to come from lscs. Then the first step is selecting the parts required. This one is currently quite tedious because there's a big part shortage. The bigger costier chips first as everything else will fall around that. In this case, we're looking for the microcontroller and the codec chip, then the power supply chips. I'd choose the microcontroller first as it's an easy but laborious step. You want a chip that has at least all the peripherals you need and make sure that they're not conflicting: some peripherals might block another from being used in certain places. It's a bit of a puzzle to solve. In this specific case, we'd want at least some i2s peripheral and an sdio too, i2c or spi for the screen, with some left over pins and some decent amount of flash that can also be user configured. Next the codec which will require some interface compatible with the microcontroller. For the power supply, i copied the design from a board i already worked on i was board tested and known to work: the 2019 nsec badge
What are some alternatives?
Arduino-FastLED-Music-Visualizer - An Arduino based music visualizer using the FastLED library and a strip of individually addressable LEDs
EmbeddedProto - Embedded Proto is a C++ Protocol Buffers implementation specifically suitable for microcontrollers. It is small, reliable and easy to use.
OpenMQTTGateway - MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
chrzwatch-firmware - Custom firmware for the NRF52 based smartwatch I6HRC
IoT-For-Beginners - 12 Weeks, 24 Lessons, IoT for All!
dji-firmware-tools - Tools for handling firmwares of DJI products, with focus on quadcopters.
mpu6050 - MPU6050 Arduino Library
ESP32_BLE_OTA_Arduino - OTA update on ESP32 via BLE
Electroverse - 💡 Community for open source electronics enthusiasts.
dRehmFlight - Teensy/Arduino flight controller and stabilization for small-scale VTOL vehicles
AvrLib - Highly type-safe modern C++ library for AVR
blynk-library - Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.