This article describes a simple continuity tester based on an ATtiny85. The tester features a buzzer that sounds to help you determinate the trace continuity. It is designed for checking circuit wiring, or tracing out the tracks on a PCB. According to it’s author David Johnson-Davies it has a low threshold resistance of 50Ω to avoid false positives, and passes less than 0.1mA through the circuit under test, to avoid affecting sensitive components. It’s powered from a small button cell, and automatically switches itself off when not in use, avoiding the need for an on/off switch.
Tag Archives: ATtiny85
The BeanDuino is an ATtiny85 based microcontroller development board similar to the Arduino line highly inspired by DigiSpark , BeanDuino is hardware compatible with Adafruit Trinket / Gemma.
- Support for the Arduino IDE 1.0 and later (OS X, Windows, and Linux)
- Built-in USB
- 5 I/O pins (2 are used for USB only if your program actively communicates over USB, otherwise you can use all 5 even if you are programming via USB) or 6 I/O pins if you dissable reset fuse
- 8 KB flash memory (about 6 KB after bootloader)
- I2C and SPI (vis USI)
- PWM on 3 pins (more possible with software PWM)
- ADC on 4 pins
- Internal temperature sensor
- On-board PB1 led – no shield required !!!
- Keyboard or other HID devices emulation (mouse, gamepad …)
- reset is enabled you can program this board with USBASP or Arduino via ISP you can easy replace/repair/remove bootloader
- slim design 11×20 mm
- breadboard compatible
BeanDuino Attiny85 – super small Digispark clone – [Link]
Chris @ chris3d.com build his own Attiny85 board:
The modularity of Arduinos is great, but after playing with them for a year or so, I wanted to start building things that needed a little more integration. I also wanted to design the components and programming around the actual controller I’d be using. So, I decided to start by building a small breadboard friendly ATTiny85.
Breadboard Friendly ATTiny85 – [Link]
An ATtiny85 and a 64×48 OLED display hand clock:
This is the third in my series of minimalist watches based on the ATtiny85. This version displays the time by drawing an analogue watch face on a miniature 64×48 OLED display. It uses a separate crystal-controlled low-power RTC chip to keep time to within a few seconds a month, and puts the processor and display to sleep when not showing the time to give a battery life of over a year.
ATtiny85 Tiny OLED Watch – [Link]
This is a simple fan controller with single LED temperature status light using an ATtiny85 microcontroller and DS18B20 temperature sensor. The fan is turned on/off based on temperature sensed and the controller goes in sleep mode when the temperature drop below a predefined threshold.
Simple ATtiny85 fan controller to turn a fan on/off based on temperature. Includes an LED as a temperature indicator. LED is dim at start of fan on temperature and blinks when above a max temperature. Fan is not PWM controlled since I am using a small 5V fan which is quiet running at 100%. The controller is in sleep state while the temperature is below the minimum threshold and wakes up every ~8 seconds to recheck the temperature. When temperature is above minimum threshold, the controller will stay awake checking every second till the temperature falls below the minimum threshold. The code uses ds18b20 library by Davide Gironi.
Temperature Controlled Fan With LED Status – [Link]
David Johnson-Davies @ technoblogy.com writes:
This article describes how to get up to two 10 or 12-bit digital-to-analogue outputs from an 8-bit Timer/Counter, such as in the ATtiny85. To test the routine I built a circuit which allows you to vary the brightness of two LEDs with two potentiometers:
10 or 12-bit DAC from the ATtiny85 – [Link]
Tinusaur is an Atmel ATtiny85 microcontroller board that comes in parts, as a kit, so you can solder it yourself and then program it. This small microcontroller board can run Arduino and its goal is to have a simple, cheap and quick-start platform for everyone interested in learning and creating things.
Tinusaur comes as an assembly kit, in parts, all in a small plastic bag, so you have to solder it yourself. In order to program this microcontroller board you will need a programmer like AVR ISP programmer, you can also use an Arduino to program the ATtiny microcontroller.
These are the components of Tinusaur standard kit:
- PCB: Tinusaur PCB
- MCU, Attiny85: Atmel AVR ATtiny85 microcontroller
- Socket, DIP-8: DIP-8 socket for MCU
- H1, Header: Header 2×4, Female
- H2, Header: Header 2×5, Female
- ISP, Header: Header 2×5, Male, for ISP
- RESET, Button: Tactile push button, for RESET
- Power, Header: Header 1×2, Male, for external power
- Battery, Header: Header 1×2, Male, for battery power on/off
- Battery, Jumper: Jumper, 2-pin, for battery power on/off
- C1, Capacitor: Capacitor 100uF, Low profile 5×5 mm
- C2, Capacitor: Capacitor 100nF, Small
- R1, Resistor: Resistor 10K, Small, 1/8W
- Battery holder: Battery holder for CR2032
- Battery 3V: Battery 3V, CR2032
Tinusaur was launched 3 years ago and it is now used in schools and universities to educate young people in both hardware and software. The team behind Tinusaur had launched an Indiegogo campaign to produce more of Tinusaur boards and bring the cost down to $3 per basic board and allow more people to be able to get them. A recent crowdfunding campaign was held by the team, it didn’t meet its goal plus it had the price multiplied by 3!
With just $3 you can get now the Lite edition of Tinusaur, the same components as the standard kit excluding the battery and its holder. You can get the Standard one for $4 and the Starter one for $6.
This Tinusaur is open source, both the hardware and the software, and you can check out the source files right here https://bitbucket.org/tinusaur. 3 days are left to end this crowdfunding campaign, so if you are interested in getting your own Tinusaur with that amazing price you should hurry up! More details can be found at the official product page, getting started page and tutorials.
David Johnson-Davies designed a minimalist ATtiny85-based watch using 12 LEDs, arranged like a clock face, to show the time in analogue-style. He writes:
To show the time you press the button on the watch face, and the time is then displayed for four seconds. It lights one LED to show the hour, and flashes another LED to show the minutes to the nearest five minutes, like the hour and minute hands on a clock. If only one LED lights up you know that both hands are pointing to the same hour mark.
Tiny LED Time Watch – [Link]
Daniil Guitelson’s BGI library was also used for the graphics.
Here is the output showing the DC, 3300 Hz, 5700 Hz and 25700 Hz signals:
The next step is to port the code to a suitable Arduino board and to show the results physically. Thus, he used a MicroView OLED display and here it is listening to a 3v 1kHz square wave:
He then updated the project to work with Nokia LCD, here it is showing the 0-3v 1 kHz square wave signal:
Amazing ideas and projects can be inspired by this project. You can download these files to start your own spectrum analyser!
The full project and detailed information are available at the project page on Hackaday. You can follow it to keep updates with the latest versions.
Hi! Today I’ll explain you how to recover your bricked ATtiny microcontroller using your Arduino board. ATtinys are very popular due to their small form factor yet very powerful. While working with them you may accidentally brick the ATtiny. As arduino is extremely popular and really easy to use, I guess you have one or more lying on your work table. You don’t need to purchase a HVP (High Voltage Programmer), or search for an old PC with parallel port to recover ATtiny. Just build a small circuit, plug it into Arduino board, upload a sketch and you are good to go. So let’s start… (more…)