Recent Posts

Pages: 1 ... 8 9 [10]
91
According to the Differences (from the Arduino) and limitations section of the Digispark Basics page (https://digistump.com/wiki/digispark/tutorials/basics)
Quote
Pin 3 and Pin 4 (P3 and P4) are used for USB communication and programming, while you can use them in your circuit if you are not using USB communication, you may have to unplug your circuit during programming if the circuit would impede the pin states or dramatically affect the voltage levels on these pins.
Try moving your input to another PWM pin, P0 or P1 (since you are not using any other pins in your circuit.) See if that does the job.
92
Digispark (Original) Support / Control 12V fans with Digispark, TIP122 and DigiUSB
« Last post by Greg311 on October 07, 2019, 10:59:29 am »
Hi!

I want control 12V PC fans with Digispark. I made some scheme based on this tutorial: http://www.mythoughtspot.com/2017/06/20/controlling-a-fan-using-pwm-and-arduino/
My friend make simple PCB:
https://www.dropbox.com/s/bj4ixrn1jsmk94a/IMG_20191007_195400.jpg?dl=0
https://www.dropbox.com/s/c19gvi9yx4odpax/IMG_20191007_195405.jpg?dl=0

But it doesn't work. Digispark crashed or don't connect with my Mac Mini (Arduino IDE or Digiterm).
When I unsolder power jack and 1N4001 it connects.

Can someone check my PCB scheme and board? I have no idea what is wrong with that :(
93
Digispark (Original) Support / Re: Watch out for the clones!
« Last post by Lakindu on October 04, 2019, 10:29:47 pm »
i got a ATtiny85 development board. ill uploaded a Blink code to board. its worked. but its worked only single time. when is unplugged and repluagged to USB port it doesnt work. can you please help me to fix this issue??
94
Digispark Projects / Using IR remote to control PC/emulate keyboard, HID
« Last post by XGamer223 on October 03, 2019, 11:07:24 am »
Hello folks,
so I've been struggling the past few days to get it working correctly.
The plan is like this: control PC using a normal/standrad TV remote or any other kind of remote.
Well, I made the digispark to control the PC, no worries, used the "DigiKeyboard.h" library, used "DigiKeyboard.sendKeyStroke(xxxx);" command to use the keys.
Works just fine, now, the issue is controlling it with a remote.

With a TSOP4838 IR reciever, I'm able to pick up any of my remotes, decode them with an Arduino, and also works with digispark when turning a LED on or OFF (but the code is some ordinary plain code, no libraries used, so ANY key means LED on or OFF).

The issue is using the IR reciever with key sending at the same time. I tried the IRremote.h library (that I  tried before on an UNO which went just fine), but I end up exceeding the digispark's total code memory, with "...avr/bin/ld.exe: region `text' overflowed by 774 bytes" error.

My question is, has anyone been successfull with making this possible? I could really use some guiding here.

Thanks in advance!
95
Oak Support / Re: Digistump / Oak dead ?
« Last post by exeng on September 29, 2019, 10:12:24 am »
Chad and Dynek,

I moved my Oaks to the ESP8266 Arduino Core months ago and have not looked back. Works great. I use the FTDI Friend from Adafruit for USB flashing to convert (on a Windows system) but once converted, I use OTA for subsequent flashing. Again, it works great. You just need to make sure your sketches include the requisite OTA code to support OTA flashing.  Also, depending upon the structure of you code, you need to be mindful of the ratio of time spent in "loop" doing whatever your code is written for versus the time (or opportunity) the OTA handler gets to run.  If the OTA handler is blocked for long periods, the OTA update attempt may timeout and require retries.  If the retries required are too many for your liking, you can sprinkle in more opportunities for the OTA handler to run in your sketch loop.
96
Oak Support / Re: Digistump / Oak dead ?
« Last post by chad on September 28, 2019, 04:40:19 pm »
I would like it to use the Oak as a regular device (meaning without particle.io) but what refrains me so far is that I'd like to be able to flash it using USB.
Reason is, I haven't yet found a serial adapter that works out of the box on OS X plus plugging USB cable is much easier.
I'm using ESP8266 Arduino Core and flashing the Oak via USB. It's working great! I use this FTDI USB to Serial adapter and it works "out of the box" on my MacBook with no problems. I also use a BusPirate but it requires a little more effort to set it up as a transparent bridge and might be overkill unless you have other uses for its versatility.

What about this:
https://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html

Has anyone tried this?
I have not tried OTA updates yet but intend to after I finish a few projects.
97
Oak Libraries / Re: OakOLED Library
« Last post by Freddie43 on September 27, 2019, 08:43:16 am »
This sounds good, but could we please have an example of how to use it?
I have been stuck too long with being unable to reset 128x32 OLEDs
Thanks
98
Digispark Libraries / Re: Big font
« Last post by Christopher_martin on September 25, 2019, 12:08:19 pm »
I also need this information deeply.
Pages: 1 ... 8 9 [10]