Following on from A tiny one and Using an ATtiny development board, I figured that it was time to get the DigiStump/DigiSpark ATtiny85 board (that I had ordered over two months ago) to work, seeing as I had failed to get the ATtiny85 and the development board to work previously.
This time around it was a lot easier…
What makes a crystal tick exactly?
Code to make an ATtiny15 output a 2 MHz clock signal.
As the Atmel datasheet recommends frequencies no higher than 1.75 MHz, then you will need to use an ATtiny25/45/85 for frequencies greater than this.
Following on from Frequency Abacuses, from Re: Ten Dollar Frequency Counter’s – Thread #2, there is a link, Schaltungsbeschreibung ‘reziproker Frequenzzähler 0,0025Hz-50MHz’, to building your own frequency meter:
Do any of these come with a simple serial port output of the reading? With let’s say a 1 per second dump at 9600 baud?
That would be immensely more useful than a display, really.
Are you able to programm an ATtiny2313? If yes you can use ‘fmeter20.zip’ to get a frequency counter 0,005 Hz – 1 MHz (up to 200 MHz with prescaler). With 20 MHz Xtal baudrate is 38400. The LCD is not necessary at all.
You can find another low frequency counter using Arduino UNO board with serial data output. First version 0,016 Hz – 250 kHz and 2. version with internal prescaler up to 7 MHz: http://mino-elektronik.de/fmeter/fm_software.htm#bsp7
A simple 5-digit counter is shown here: http://mino-elektronik.de/fmeter/fm_software.htm#bsp13
Sorry for german description.
Below is the German translation… and the ATtiny2313 version is at the bottom of the page.
Following on from A tiny one, my development board finally arrived, along with an ATtiny85, and this is how to use it… and it’s not as easy as it would seem.
These instructions, and troubleshooting tips should work for ATtiny 85/45/25
The Neo is a simply device that plays ByteBeat, and provides a mechanical interface (two rotary controls and some buttons) in order to change the current ByteBeat being played, see ByteBeat on Arduino. As the name suggests, around half of the device (and code) is dedicated to using the Adafruit NeoPixel LED library. Examining the code of 8Bit-Mixtape-NEO/Code/NEO_8Pixel-OneLiners/NEO_8Pixel-OneLiners.ino, the left hand rotary control controls the speed, the right hand merely changes the visuals, and a button selects which one out of seven bytebeats is played, or plays a single tune in the case of FamilyMart.ino.
The featured image is from Center for Alternative Coconut Research – 8Bit Mixtape Neo