It is confusing,when I bought these boards,I thought they are from same company,after the trouble installing board on IDE,I hope it can be useful,since it has many pins while attiny 85 only have 3-4 to use,I think if I get a completely broken wireless controller or something,maybe it is possible to make a usb controller,the problem is how to use that library?
When you go off-road and purchase non-Arduino clones or, in this case, Digispark clones, you are at the mercy of what is available on the Internet regarding usage, configuration, and IDE support.
The above said, a search shows that you are not in the boat alone:
"digispark" + "tiny88" at DuckDuckGo
Official boards: https://www.arduino.cc/en/hardware
To use the Tiny88
- You need the Tiny88 Board/Platform Support Package in the IDE Boards Manager
- The Tiny88 programs are the same as any Arduino, but read the PINS in the DATASHEET.
- To RUN the Tiny88, you must FIRST start the upload, NEXT insert the Tiny88 into the USB port. The IDE will tell you when the upload is complete.
I use the many Tiny88 for WS2812 projects that have been running for over a year.
I have bought pi staff before,didn't realize there can be clones,I am afraid all my boards are "improved" version,but as long as they work personally I won't ask much.
Yes,I have already gotten over that part,the problem for me is ide couldn't download the package,I have to look at the json file and get all files myself and place them,also ide is buggy,each it starts,it downloads something and fail,and no matter how I change the setting it is still using proxy after restarting.
I see the way it uploads program is the same as attiny85,so if attiny 85 can do it,then it should do too,probably after some modifying,but I don't know how.
I think I would like to support the original as well,but using as game controller seems not convenient for it,for example if I want to use nano since it is small,then
forum.arduino.cc/t/use-nano-as-an-hid-game-controller/693595
forum.arduino.cc/t/arduino-nano-as-hid/411510
I am quite sure it is possible but acorrding to what I searched,it is easier to try this example for digispark boards.
there is v-usb,I tried but it seems it somehow doesn't work now,since I just want to do it without learning a lot I think at this moment I don't bother for it,anyway it is just usb1.1 game controller,which is also very cheap if you want to get one.
It seems they may need another circuit if not attiny 85,it may be cause attiny 85 is at 16.5mhz,`/* Clock rate of the AVR in kHz. Legal values are 12000, 12800, 15000, 16000,
- 16500, 18000 and 20000. The 12.8 MHz and 16.5 MHz versions of the code
- require no crystal, they tolerate +/- 1% deviation from the nominal
- frequency. All other rates require a precision of 2000 ppm and thus a
- crystal!
`
I only want a easy way to use them so it is definitely not worth it for me,but I can tell what is possible in case somebody else get these cheap boards and want to have a try too.
it seems easier to generate the hex directly without arduino's ide,I use raspbian since I recognize those sudo stuff,I think it is also possible to use VMware to create a linux os on windows,or you can do it in windows and tell me how to succeed.also it seems you have to write hex in to the board without ide,you need to run a command in cmd like this"C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM9" -b115200 -D "-Uflash:w:H:\_arduino/main.hex:i" @pause
the com it uses seems depend on its mood,need to be changed.
if you use attiny 85,there seems no problem by plugging in like normal,but if you want more button you need to do shift register.
The short answer is yes,get the leonardo like others say and try to do something more on it instead.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.