Questions tagged [digispark]
The Digispark is an Attiny85 based microcontroller development board similar to the Arduino line, only cheaper, smaller, and a bit less powerful.
63
questions
-1
votes
2
answers
106
views
Why Digispark can be a HID but Arduino Uno/Nano can't? [closed]
I tried to make a project with a Nano as a head which was based on a V-USB-like library EasyHID. For unknown reasons this try was unsuccessfull and I couldn't make the Nano run correctly. It's normal: ...
2
votes
2
answers
437
views
Arduino Digispark ATtiny85 conditional logic not working
Expected Behavior:
I am attempting to use && or nested if statements to achieve the effect of two switches being required to close prior to an LED light (i.e., flip both switches), the LED ...
1
vote
0
answers
104
views
DigiKeyboard BIOS Compatibility
I am using a custom version of the DigiKeyboard library, to use a Digispark as a keyboard in the BIOS. It works on most computers, but HP 730 Thin clients dont recognize it as a keyboard.
Below is the ...
5
votes
1
answer
330
views
First Uses of Digispark can't get past upload error
Windows 7 (64Bit) Parallels VM on Macbook Pro running BigSur. Arduino version 1.18.19, Digispark ATtiny85 Micro USB.
Loaded Boards Manager http://digistump.com/package_digistump_index.json and updated ...
1
vote
1
answer
247
views
Need Digistump library for QWERTY keyboard and Fixes for my issues!
Hello there🖐 I am trying to install Digistump library to support ATTiny85 by digispark. But I am encountering a problem when trying to install Digistump AVR boards after adding an additional board ...
-1
votes
1
answer
224
views
Digispark: check if the USB host is connected
I am trying to detect if the digispark device is actually connected to a host (i.e. the USB line is "active") vs. just powered.
The issue: if I send a keypress while the data line is ...
2
votes
0
answers
190
views
Arduino NANO RF reciever and Digispark Attiny 85 transmitter issues
I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library ...
-1
votes
1
answer
669
views
ATTiny85(Digispark) not connected/recognized
I have 1xDigispark(ATTiny85) from Amazon https://www.amazon.pl/gp/product/B076KS2QDS/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1.
When i connect it into USB port nothing happen i didn't get ...
0
votes
1
answer
362
views
Duinotech ATTINY85 Pinout
I'm sure this is a super nooby question but,
what is the pinout of the Digispark ATTINY85 Development Board
The board looks like this:
Now the reason why I'm asking this question, when I do ...
0
votes
1
answer
1k
views
Unlocking Digispark ATTiny85 after flashing it to HID
I made a simple test sketch to make my ATTiny85 emulate a Keyboard and send a sequence of keystrokes.
#include "DigiKeyboard.h"
void setup() {
// don't need to set anything up to use ...
4
votes
2
answers
364
views
How to cut down size of imported DigiKeyboard library
I'm working on a project with a Digispark ATTiny85, that performs keystrokes using the DigisparkKeyboard library (https://github.com/digistump/DigisparkArduinoIntegration/tree/master/libraries/...
-1
votes
2
answers
624
views
Anyone had Digispark Attiny85 not SEEN by some USB controllers but seen via HUB or DOCK on same device?
I have purchased a couple of different types of DigiSpark Attiny85 clones (couldn't find originals available) and they have worked great except some devices (so far, just laptops) don't see the device ...
2
votes
1
answer
155
views
Safe to solder a slide switch to unused GPIO pins?
I have a Digispark Rev.3 Kickstarter with ATTiny85 (see pinout below) and a three pin slide switch (see example below). I want to use the slide switch to control a task running on the Digispark, with ...
2
votes
0
answers
700
views
Mistake in keyboard typing by Digispark
I want to open notepad by my Digispark. I use this code:
/* * Generated with <3 by Dckuino.js, an open source project ! */
#include <avr/pgmspace.h>
#include "DigiKeyboard.h"
...
1
vote
0
answers
931
views
Reusing Digispark ATtiny85 micro-USB as 1-wire bus
I'm working on a project of my home plants irrigation/hydroponic system(not cannabis!)) just chilies and other eatables). Also I'm trying to recycle modules, wires and other projects' leftovers such ...
2
votes
1
answer
3k
views
DigiSpark attiny85 computer not detecting
I purchased a DigiSpark attiny85 off of ebay. Over the weekend I tried to get my computer to recognize the DigisSpark, but it won't recongnize it. When I plug the device in, the 'Device Connection' ...
1
vote
2
answers
906
views
NRF24 and usb digispark
I want to connect NRf24 module with digispark and use USB capabilities at same time.
currently, i use this conexion diagram:
NC PB5 1|o |8 Vcc --- nRF24L01 VCC, pin2 --- LED --...
0
votes
1
answer
213
views
Attiny85 Clone Cannot set P1 to input [closed]
Everything i read about the chinese Digispark attiny85 clones says you can use p0-5 as digitlal I\O (p5 as after fuse reset)
Simple test code for a button will not let me use P1 as an input tied to a ...
1
vote
0
answers
244
views
Error in uploading sketch to digispark attiny85 board
I'm trying to use Digispark attiny85 board and running into issues uploading the sketch.
The drivers are correctly installed. I have followed this page as a reference.
Below the sketch and the error ...
1
vote
2
answers
369
views
Building RS485 serial to USB adapter with digispark
Is it possible to build an serial-adapter with digispark board?
Like: Embedded System with 2-wire RS-485 Port connect to my digispark board. Digispark Board is connected via USB to my Computer (...
1
vote
1
answer
2k
views
Digispark uploading not working in KDE Neon (Linux)
I am using KDE Neon and have downloaded the Arduino IDE via the Snap store. It worked well with the ESP8266 and other Arduions. But when I tried to upload a simple sketch or an example sketch to my ...
1
vote
1
answer
360
views
Problem with programming digispark ATtiny85 board with Arduino IDE
I have bought a Digispark ATtiny85 board to learn about that microcontroller. So I tried using internal register names in the code rather than using Arduino in built functions. I can get the board to ...
1
vote
1
answer
3k
views
Digispark ATtiny85 not recognized (bootloader problem)
I recently bought an ATtiny85 based development board. (picture below)
I managed to install it correctly following the official guides, without a problem.
Drivers are installed correctly, and I used ...
2
votes
0
answers
690
views
Using an ATTiny85 and DigiKeyboard.h, can I detect when USB HID is connected?
I am building a project to send HID keystrokes to a computer with an ATTiny85. I want to detect when the USB communication is working, in order to turn on a LED saying that everything is good. If USB ...
1
vote
0
answers
557
views
Burning Digispark bootloader without an Arduino
I've been wondering if there is any method to burn a Micronucleus bootloader into a blank ATtiny85 Digispark using just Windows or a Linux distro, and not needing another Arduino board such as UNO ...
1
vote
0
answers
1k
views
Digispark green led being the only one to turn on
I was doing some tests with an ATtiny85 Digispark module using Arduino IDE on my Windows PC. I was testing some stuff with the DigiKeyboard library from Digistump.
Everything was going fine until ...
1
vote
3
answers
209
views
Continuous voltage on IO Pins while 5V is not Connected?
i have a small project where i just sucessfully destroyed my frist of 5 Digisparks (Attiny85).
In the Picture you see the Cirucit. I have 2 Liion cells connected in series to get high enough voltage ...
1
vote
0
answers
124
views
DigiSpark External Oscillator
I am trying to set up a PJON SoftwareBitBang network with a bunch of DigiSparks. My setup works well with any other Arduino devices except the DigiSparks. Based on some internet searching I came to ...
2
votes
1
answer
2k
views
Digispark ATtiny 85 erases flash after power loss
I have some issues with my Digispark ATtiny85 board.
If I upload the blink sketch for example the LED starts blinking and everything looks fine. But as soon as I unplug the Digispark from the USB ...
0
votes
1
answer
616
views
Reset Arduino by connecting vcc and gnd?
A follow up question on my previous question, if a memory card reader can be used with three pins (digispark Attiny 85):
Can I read from a memory card with three pins?
Now I came up with another ...
0
votes
1
answer
1k
views
How to send keystroke with shift modifier?
This is a bit of a newbie question, but here it goes anyway. So basically I want to send a keystroke using the DigiKeyboard library, but with shift held down. I looked through the code and saw this ...
1
vote
1
answer
170
views
ATtiny167 Device not recognized
I'm frustrated I feel like I am 90% there but my computer will not recognize the ATtiny167. Here i9s the list of things I have completed/tried using Windows 10 and Arduino 1.8.6;
1) ...
2
votes
1
answer
922
views
Current mouse pointer position with Digispark attiny85
I am trying DigiMouse library for attiny85 Digispark board.
It allows to emulate the mouse quite well.
However, I also need to know the current cursor position. Is there a way to get it?
1
vote
0
answers
863
views
How to remove the 5 second boot delay on Digispark PRO (Attiny167)
I know there’s already a solution for removing the 5 seconds boot delay on Digispark (Attiny85), by writing a new bootloader someone already did to the Digispark. And to write code to it, you need to ...
1
vote
1
answer
2k
views
Digispark Micro (ATTINY85) not working on Macbook Pro 2016
I just bought 2 Digispark Micro to start learning some Arduino things.
But when I try to upload the code to my Digispark, it just send me an "Device search timed out" error.
My Digispark is plugged ...
0
votes
1
answer
319
views
Measure small capacitances with ATtiny85 (Digispark board)
I have successfully run the code provided here on an Arduino Nano. If nothing is connected, it will output a very small capacitance (~ 1 pF).
Then I tried to migrate the code to the ATtiny85 (using ...
1
vote
3
answers
4k
views
Digispark ATtiny 85 - not recognised as HID device
I am trying to create auto-username-writer with Digispark ATtiny 85. I have a pretty simple sketch:
#include <DigiKeyboard.h>
void setup() {
}
void loop() {
DigiKeyboard....
0
votes
1
answer
2k
views
DigiKeyboard - type a backslash (\)
I'm using digiKeyboard library to type to a powershell, but I need to type a backslash (a lot of them), but I can't figure it out.
I have been looking for the solution for about 3 hours and I still ...
2
votes
1
answer
1k
views
attiny85 reset itself instead of wakeup procedure
I have a digispark attiny85, and I am using SLEEP_MODE_PWR_DOWN to sleep, and wake-up with external interrupt on pin2. I am trying to count number of interrupts received with the code below.
Problem ...
0
votes
1
answer
69
views
Digispark don't work when I power it by 5v and GND inputs and chip starts heating
I'm beginner so probably I did something stupid, but now my digispark don't work when I power it by 5v and GND inputs but chip starts heating immediately. When I power it by USB everything works well. ...
3
votes
1
answer
2k
views
Flashing an ATtiny85 with a NodeMCU?
I recently purchased a Digispark for some of my smaller electronics projects. After it initially being a great little board, I soon found myself unable to flash the board in the same way I had done ...
3
votes
1
answer
3k
views
Serial communication mac to Digispark ATtiny85
I want to use the Arduino IDE serial monitor with my Digispark ATtiny85 over USB.
I can without problems upload this code(Digispark CDC example):
#include <DigiCDC.h>
void setup() { ...
1
vote
3
answers
4k
views
Why do DigiKeyboard.print and println change my string?
GOAL: I'm trying to use DigiKeyboard library but I'm facing a problem when I use print or println with character different from alphanumeric ones.
PROBLEM : I import the library as I've seen on ...
0
votes
1
answer
256
views
C# Arduino: How to detect if the needed software is present on the computer
I have a digispark that uses trinket keyboard library to send media keys back to the computer using a rotary encoder. I currently have it configured to send normal media keys but about 2 weeks ago i ...
0
votes
1
answer
4k
views
ATtiny85 (Digispark) with 433mhz RF transmitter not working
I have the following components:
ATtiny85 Digispark
433mhz Mini Low Power RF Transmitter
I got a communication flow transmit/receive working between two Wemos D1 and like to outsource the ...
3
votes
2
answers
10k
views
I2C libraries for ATTiny85?
I want to transmit I2C data, using a Digispark ATTiny85 board:
http://digistump.com/products/1
http://digistump.com/wiki/digispark/tutorials/connecting
I've found the following I2C libraries. Which ...
0
votes
2
answers
4k
views
Digispark ATtiny85 keyboard
I have a small project that I have in mind and I'm pretty new with Arduino.
I want to make a small device that if a key was pressed it would do something.
Now I know I could use a button with the ...
0
votes
1
answer
2k
views
Digispark / Digikeyboard code doesn't execute inside setup{}
Here's sample code to demonstrate my problem:
#include <DigiKeyboard.h>
void setup() {
// put your setup code here, to run once:
delay(5000);
DigiKeyboard.print("TESTING TESTING");
...
0
votes
1
answer
257
views
How is interaction with CDC device with no interface endpoints working?
I'm working on uploading to Digispark board. It uses micronucleus bootloader and i can see uploader code. I've modified it a bit to see interfaces and endpoints count:
nucleus->device = ...
2
votes
1
answer
762
views
Attiny85 - Method to discard glitched ADC values?
I have a problem i need to solve so i will simply it as much as possible.
Basically there is a system with a micro-controller where it reads 2 sensors. These 2 sensors are of variable resistance type,...