Hi,
Been trying everything I can find about adding Attiny85 board support into Arduino IDE without much luck.
Many places show the procedure but something is just not right.
https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829?f=1
I can copy the following from different sources, ....
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
But for some reason, under preferences,additional board manager URL, I cannot get it to paste into the field. Even by clicking on the two squares on the right of the window, which opens up another window, I still cannot paste into it.
The procedure says to then go to the tools and look for Attiny board listing and install them but there is nothing there.
I've even uninstalled the IDE (v1.85) and installed the latest (V1.88) but still nothing works.
Can someone advise where I am going wrong.
Thanks
I find it easier to insert URLS directly to the preferences file.
If you click preferences in the IDE it will open a new box as you have seen.
Then there is a link to the actual file that you can click on near the bottom of that box of options.
It should open the directory containing the preferences file itself.
I open with notepad on windows but you could use your own preference to open it.
Note that if you open the preferences file that way you should close the IDE.
When you have that file open there should be a line that says "boardsmanager.additional.urls="
Simply add the URL after the equals sign and save the file.
Restart the IDE but note it might be a little slower the first time around and you may see additional messages about it getting boards etc.
Always seperate any further URL's with a comma.
ballscrewbob:
I find it easier to insert URLS directly to the preferences file.
If you click preferences in the IDE it will open a new box as you have seen.
Then there is a link to the actual file that you can click on near the bottom of that box of options.
It should open the directory containing the preferences file itself.
I open with notepad on windows but you could use your own preference to open it.
Note that if you open the preferences file that way you should close the IDE.
When you have that file open there should be a line that says "boardsmanager.additional.urls="
Simply add the URL after the equals sign and save the file.
Restart the IDE but note it might be a little slower the first time around and you may see additional messages about it getting boards etc.
Always seperate any further URL's with a comma.
Ah...ok.... I did see your reference to adding manually on other sections but it didn't really say how.
I did see the part you refer to but had no idea where to add the additional link.
I'll try it and see how it goes. ...Many thanks
Any idea why the designed adder doesn't work..??
Ok...did the procedure and added the address to the preferences.( with the IDE closed)
Then re-opened the IDE, went to tools board manager, made sure "all" was selected and searched but the Attiny does not appear.
If I run down the list it is not there either.
When you run the IDE make sure there are no error messages in the lower console.
It may mention if there is an error in the URL you added.
If it does check the URL for any spelling mistakes.
"Error downloading https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json."
The normal method of just dropping a URL in there also does work. (just double checked on a portable installation)
I just have a few URL's in there for ESP's etc. and it seems more designed for a single URL.
Going on the error I just got maybe there is an issue with the server for attiny ?
Those things can happen and do often for ESP boards.
Usually they get fixed PDQ.
UPDATE.
This URL is working.
"https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json"
I tagged it onto the end of the other URL ( comma first)
Boards manager now sees the package.
Hopefully it should get you going.
Use the tiny 85 here for a lot of projects with led displays...Super cheap way to get some projects running and quite durable too.
ballscrewbob:
Hopefully it should get you going.
Use the tiny 85 here for a lot of projects with led displays...Super cheap way to get some projects running and quite durable too.
Yes, working now, Thankyou.
It added two entries for the Attiny.
I thought about using the little board in place of an Arduino promini on an ina219 current sensor and a 128*64 oled display ......have to write new code though it seems.
Have read some reports that some libraries can take up too much space though.
Edit...I looked closely at the one I had been using and the link you supplied and they appear identical. Can only put failure down to something I was not doing correctly...all ok now though... Thanks again
Yes you will find some libs dont play nice with the tiny.
On occasion I just rooted around on GITHUB and checked file sizes until I found something smaller.
For projects that wont fit in a tiny I move up to clone micros although I have my eye on a couple more small boards to acquire like the attiny pro (167) or beetle (32u4) .
ballscrewbob:
Yes you will find some libs dont play nice with the tiny.
On occasion I just rooted around on GITHUB and checked file sizes until I found something smaller.
For projects that wont fit in a tiny I move up to clone micros although I have my eye on a couple more small boards to acquire like the attiny pro (167) or beetle (32u4) .
Thanks again for your time and info....many things to look for.