All Projects → jaromaz → DigiOS

jaromaz / DigiOS

Licence: GPL-3.0 license
Mini OS emulator for Digispark (an Attiny85 based microcontroller).

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to DigiOS

ATtiny85-TinyLoad
Electronic Dummy Load
Stars: ✭ 32 (-30.43%)
Mutual labels:  avr, attiny, attiny85
ATtiny84-TinyCalibrator
OSC Calibrator and High-Voltage Fuse Resetter for 8-Pin ATtinys
Stars: ✭ 39 (-15.22%)
Mutual labels:  avr, attiny, attiny85
ATtiny85-USB-C-Tester
Simple USB-C Power Delivery Tester
Stars: ✭ 20 (-56.52%)
Mutual labels:  avr, attiny, attiny85
ATtiny85-TinyDFPlayer
MP3-Player
Stars: ✭ 22 (-52.17%)
Mutual labels:  avr, attiny, attiny85
ATtiny85-TinyCharger
Single-Cell Li-Ion Battery Charger with Monitoring
Stars: ✭ 20 (-56.52%)
Mutual labels:  avr, attiny, attiny85
Blog
A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.
Stars: ✭ 198 (+330.43%)
Mutual labels:  avr, microcontroller, electronics
ATtiny85-TinyFMRadio
FM Radio with RDS
Stars: ✭ 51 (+10.87%)
Mutual labels:  avr, attiny, attiny85
Original-CR10-Marlin-Firmware-Source
This is the ORIGINAL Creality CR10 Firmware Source as Creality installs it.
Stars: ✭ 16 (-65.22%)
Mutual labels:  avr, atmel
deneyapkart-arduino-core
Arduino Core for Deneyap DevKits
Stars: ✭ 39 (-15.22%)
Mutual labels:  electronics, arduino-ide
avr-high-voltage-serial-programming
AVR high-voltage (HV) serial programming for ATtiny
Stars: ✭ 34 (-26.09%)
Mutual labels:  attiny85, avr-programming
XMC-for-Arduino
Integration of Infineon's XMC microcontrollers into the Arduino IDE.
Stars: ✭ 85 (+84.78%)
Mutual labels:  microcontroller, arduino-ide
libavrutil
Easy to use, lightweight and unified library for performing common microcontroller tasks
Stars: ✭ 21 (-54.35%)
Mutual labels:  avr, microcontroller
atmega
Bare ATmega 8/168/328 microcontrollers with the Arduino IDE.
Stars: ✭ 75 (+63.04%)
Mutual labels:  avr, arduino-ide
micronucleus-firmware
Fork for the firmware / digispark part of the micronucleus repository
Stars: ✭ 50 (+8.7%)
Mutual labels:  attiny85, digispark
DemOS
Free, simple, extremely lightweight, stackless, cooperative, co-routine system (OS) for microcontrollers
Stars: ✭ 18 (-60.87%)
Mutual labels:  avr, microcontroller
Arduino
🚀 Proyectos de todo tipo para arduino utilizando sus sensores y actuadores. 🤖
Stars: ✭ 27 (-41.3%)
Mutual labels:  arduino-ide, arduino-sketch
arduino-primo-tutorials
Here some tutorials to explain and show how to make use of the new features of the Arduino Primo and Arduino Primo Core, such as Wifi, BLE, NFC, InfraRed and various sensors. Hope you can find this helpful to create amazing stuff, save the planet or make a cool project to look smart at the dinning table with your uncles.
Stars: ✭ 12 (-73.91%)
Mutual labels:  arduino-ide, arduino-sketch
avr-ds18b20
AVR library for controlling DS18B20 temperature sensors
Stars: ✭ 52 (+13.04%)
Mutual labels:  avr, microcontroller
open-electronics
📚 💻 Great Resources for Electronics Enthusiasts
Stars: ✭ 347 (+654.35%)
Mutual labels:  microcontroller, electronics
BadUSB
Personal implementation of the BadUSB exploit with an Atmel 8-bit AVR ATTiny85 acting as a HID keyboard
Stars: ✭ 63 (+36.96%)
Mutual labels:  arduino-sketch, digispark

DigiOS - mini OS emulator for Digispark

The sketch allows you to log in to Digispark, execute several commands, and then log out. It works on the default Digispark with micronucleus bootloader installed, and uses the DigiCDC module to emulate USB communication, because Digispark itself does not have any additional USB chip and everything is done in the AtTiny85 software.

When powering the Digispark via the VIN pin, you can connect to it via USB at any time, and after performing the commands, disconnect the terminal and the device – Digispark will continue to execute the code taking into account to sent commands - as in the video:

Available commands

  • p[0–2] [on|off] - sends HIGH and LOW signals to individual pins
  • uptime - displays the time from launching the Digispark in the linux format uptime pretty
  • vcc - gives the power supply voltage of Digispark in millivolts
  • reboot - software restart of Digispark
  • clear - clears a display
  • ls - displays GPIO status list
  • temp - specifies the temperature of the chip
  • login - prompts you to enter your password
  • clock [1-7] - reduces clock timing
  • help - displays the help screen
  • logout, exit - logs out the user

Sketch was intended to take up as little space as possible – instead of strings I used character arrays, instead of pinMode/digitalWrite registers and bit operations, thanks to which it was possible to push so many functions on such a small device. All three components together occupy almost 100% of Digispark’s memory, but to increase the amount of available space for your own code, it is enough to remove the reference to unnecessary functions (e.g. temp, uptime, vcc). These references are marked in a special code block – after deleting them, more than 30% of the memory will be available (excluding bootloader).

You can log in to Digispark under Windows with Putty (after installing Digistump drivers), to Linux with Minicom application and to Android with Serial USB Terminal.

Compilation of DigiOS sketch requires installation of an earlier version of Arduino IDE – 1.8.6, correct installation of Digispark in IDE and latest Micronucleus release.

DigiOS is licensed under GNU General Public License v3.0

For more information please visit my website: https://jm.iq.pl/digios

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].