Sanguino
u8g2
Sanguino | u8g2 | |
---|---|---|
6 | 39 | |
178 | 4,768 | |
- | - | |
0.0 | 8.6 | |
8 months ago | 8 days ago | |
C | C | |
- | 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.
Sanguino
-
Trouble with burning Bootloader onto Creality V1.1.4 Board
The first time I programmed my v1.1.4 board, I set up an Arduino Uno to use as the programmer, in ArduinoIDE 1.8.9. Then I used the board manager to install https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json to the "Additional Boards Manager URLs" field as per the instructions at https://github.com/Lauszus/Sanguino/tree/master, and installed the bootloader. That was in early 2019, and I didn't have any problems, but I believe that later versions of ArduinoIDE 2.x may be slightly different. Maybe worth trying an older version?
- Help with Marlin 2.1.2 on my Sanguino ATmega1284P processor
-
Hot End Temp Issue
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #pragma once /** * Sanguinololu board pin assignments */ /** * Rev B 26 DEC 2016 * * 1) added pointer to a current Arduino IDE extension * 2) added support for M3, M4 & M5 spindle control commands * 3) added case light pin definition */ /** * A useable Arduino IDE extension (board manager) can be found at * https://github.com/Lauszus/Sanguino * * This extension has been tested on Arduino 1.6.12 & 1.8.0 * * Here's the JSON path: * https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json * * When installing select 1.0.2 * * Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino * Just use the above JSON URL instead of Sparkfun's JSON. * * Once installed select the Sanguino board and then select the CPU. */ #define ALLOW_MEGA644P #include "env_validate.h" #ifndef BOARD_INFO_NAME #define BOARD_INFO_NAME "Sanguinololu <1.2" #endif // // Limit Switches // #define X_STOP_PIN 18 #define Y_STOP_PIN 19 #define Z_STOP_PIN 20 // // Steppers // #define X_STEP_PIN 15 #define X_DIR_PIN 21 #define Y_STEP_PIN 22 #define Y_DIR_PIN 23 #define Z_STEP_PIN 3 #define Z_DIR_PIN 2 #define E0_STEP_PIN 1 #define E0_DIR_PIN 0 // // Temperature Sensors // #define TEMP_0_PIN 7 // Analog Input (pin 33 extruder) #define TEMP_BED_PIN 6 // Analog Input (pin 34 bed) // // Heaters / Fans // #define HEATER_0_PIN 13 // (extruder) #if ENABLED(SANGUINOLOLU_V_1_2) #define HEATER_BED_PIN 12 // (bed) #define X_ENABLE_PIN 14 #define Y_ENABLE_PIN 14 #define Z_ENABLE_PIN 26 #define E0_ENABLE_PIN 14 #if !defined(FAN_PIN) && ENABLED(LCD_I2C_PANELOLU2) #define FAN_PIN 4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan #endif #else #define HEATER_BED_PIN 14 // (bed) #define X_ENABLE_PIN 4 #define Y_ENABLE_PIN 4 #define Z_ENABLE_PIN 4 #define E0_ENABLE_PIN 4 #endif #if !defined(FAN_PIN) && (MB(AZTEEG_X1, STB_11) || IS_MELZI) #define FAN_PIN 4 // Works for Panelolu2 too #endif
-
How to Upgrade stock CR10 V1 to Marlin 2.0
Grab the Sanguino Board plugin here - https://github.com/Lauszus/sanguino/zipball/master and extract to Desktop
- Do you know of any ATMegas with approximately 40 pins, that are programmable through the INO-language?
-
BLtouch Install
I believe it's the Sanguino 1284P. Have a look at the Github: https://github.com/Lauszus/Sanguino
u8g2
- DIY Mahjong Scorer Guide with Chito - mahjongAsst
-
Anyone had success displaying anything on GME64128-11 type displays?
Try the https://github.com/olikraus/u8g2/wiki library.
-
I need help with transparent display. More info in the comments
If you want to stick with the u8g2 library, be sure to check out the u8g2 wiki for some more information. There's a lot of info on the setup page and I find the u8g2 reference especially useful in practice.
-
Arduino with OLED
Check out the U8G2 library if you're going to work with OLED displays. It's really the best one out there and it does it all, supporting multiple OLED displays with the one library. It also has excellent support for numerous fonts in different sizes.
-
Library design that is not fixed to a specific mcu
I have been considering two different methods for achieving this. The first method is the one that Olikraus uses with the u8x8 library, which implements a callback system that handles the hardware abstraction layer. The second method that I have been contemplating is using i2cdev, which allows for sharing the i2c port with other threads.
-
Sketch - Cardboard - Improved cardboard. Next step: Laser cut case
I use the u8x8 library (https://github.com/olikraus/u8g2/wiki/u8x8reference) for the display. I like this library a lot!
-
I need some help, I want to "rotate" the screen by 180 degrees. I am just printing some simple data on the screen for my modified nerf gun. Any advice on how to do it?
Use u8g2, awesome library, very flexible, works with everything.
-
Both SH1106 and SSD1306 displays..?
Try U8G2. It works with both these OLEDs and many more.
-
STM32F411RE and SH1106 OLED Display
For displays like this, I strongly recommend the U8G2 (https://github.com/olikraus/u8g2) library. It has support for pretty much everything. However, you might need to find/write/tweak your own "hal" later, which is just a couple of simple callback functions that bridge it to the I2C or SPI ports of your MCU.
- 128x64 OLED display not working properly
What are some alternatives?
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.
TFT_eSPI - Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Configurations - Configurations for Marlin Firmware
u8g2-hal-esp-idf - U8g2 compatibility component for esp-idf on ESP32
arduino-esp32 - Arduino core for the ESP32
Arduino - ESP8266 core for Arduino
Arduino - Arduino IDE 1.x
SparkFun_Micro_OLED_Arduino_Library - Arduino library for the SparkFun Micro OLED - a breakout board for a monochrome, 0.66", 64x48 OLED display.
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
SPI_LCD - A simple C library for directly communicating with SPI-connected LCD displays
Arduino_Core_STM32 - STM32 core support for Arduino
ArduinoCore-avr - The Official Arduino AVR core