Programming the ATtiny: This is a tutorial for programming the ATtiny chip. This tutorial will be more in depth than most. I will give you every step and tell you the things nobody told me when I first started programming ATtiny.Things You'll Need- Arduino Uno( Can be done…
Frequency Counter Schematic using Microcontroller AT89C51 is a simple yet mostly used frequency counter schematic used. The reason behind
AVR High Voltage Programming (Fuses Rescue): Half a year ago I restarted one of my old passions - electronics. I've studied electronics in college but that happened during the Middle Age (20yrs ago). While I was expecting this huge leap in schematics and what a hobbyist can do nowadays, I stil…
Updated Guide on How to Program an Attiny13a or 13 With the Arduino IDE: The ATtiny13 series chips are extremely cheap and useful chips for small projects that don't need a full Arduino, but due to very outdated tutorials and a lack of information, it took me the better part of a day to figure out how to program these wi…
Alex, of Tinkerlog, writes: The Problem: Whenever I was prototyping on a breadboard I was annoyed by all the wires to setup before the actual project
Here we present a microcontroller based clock using AT89C2051 MCU. Additional feature of the clock is that the time display is visible in the dark.
Often, when I am tinkering with a controller on a breadboard, I have to open up the according datasheet, only to look up the pinout. So I designed a simple page with all of of the pinouts that I us…
Этот прибор можно купить за несколько евро, но я захотел собрать его сам используя небольшой OLED-дисплей, микроконтроллер ATtiny85 и несколько пассивных компонентов. Благодаря этим библиотекам,
So you’ve designed a plethora of cool DIY Maker projects with Atmel-based Arduino boards. Want to take the next step with stand-alone Atmel AVR microcontrollers (MCUs)? Written by Elliot Wi…
Attiny85 Wireless Weather Sensor: In this article is shown how to build your own wireless weather sensor compatible with Oregon weather station using compact attiny85 micro controller. You can buy spare Oregon sensor THGN123N for about $20 or you can build your own wireless sensor t…
Arduino UNO As AtMega328P Programmer: After receiving my first Arduino UNO, I soon realised that it will be impractical to use an UNO for every project. As with the Microchip family of MCUs, I wanted an easy way to program stand-alone circuits and chips. Searching the internet, it was …
ATtiny13A Line Follower: Create a robot with ATtiny13A is a challenge, it only have 1k flash and 5 IO pins. But it is good enough to create a tiny line follower. Youtube demo video: https://youtu.be/00PYO1ThzEA
DIY ATtiny ISP Shield Programmer: ATtiny ISP Shield makes programming AVR ATtiny bare Chips easy and simple and also helps shrink your arduino projects.ATtiny ISP Shield is a programming tool used to program bare for 8 Pin IC’s like ATtiny13, ATtiny15 ,ATtiny25, ATtiny45, ATtiny85.…
Simple and Cheap Fuse Doctor for Attiny: When you are working with Attiny's like the Attiny 85 or the Attiny13, it is bound to happen sooner or later: you brick your Attiny.I got faced with it while trying to burn a bootlaoder (i.e. setting the correct fuses), that I suddenly got the drea…
Switching to Atmel ATtiny microcontrollers is an excellent way to shrink your Arduino designs, especially when you don’t require many pins or need to conserve space. In this vein, it’s …
ATTiny Port Manipulation (Part 1): PinMode() and DigitalWrite(): First off, this is written with Arduino and the Arduino IDE in mind. I will be referencing various Arduino sources and datasheets for AVR chips. Secondly, what does this really mean? Manipulation of port registers allow for lower-level and faster m…
[IMG] [IMG]...
I love AVR ATtinyx5 series microcontrollers. They are cheap, easy to use, they can be programmed just like Arduinos and comparing to their size they offer great features. For example, they can be used as a remote analog to digital converters connected to a master device using an I2C bus. Background: A few years ago I've built a weather station based on Raspberry Pi. It collects various data and displays them on a dedicated web page and Android app. Every few months I try to add a new sensor to it. Last time it was a daylight sensor. Raspberry Pi does not offer ADC inputs and I had a few ATtiny85 on hand tat hand. One to another, a few hours later: a photoresistor based daylight meter sensor connected via the I2C bus. Electric assembly is pretty simple: ATtiny85 directly connected to Raspberry Pi via I2C, photoresistor with 10kOhm pull down connected to ATtiny85 and signal LED. Code driving this rig is also pretty simple: watchdog timer wakes up ATtiny85 every few minutes, measures voltage, filters it and stores in memory. Every time read operation is requested, last filtered ADC value (10 bits as 2 bytes). I2C support is provided by TinyWireS library that configures USI as an I2C slave. /** * This function is executed when there is a request to read sensor * To get data, 2 reads of 8 bits are required * First requests send 8 older bits of 16bit unsigned int * The second request sends 8 lower bytes * Measurement is executed when a request for the first batch of data is requested */ void requestEvent() { TinyWireS.send(i2c_regs[reg_position]); reg_position++; if (reg_position >= reg_size) { reg_position = 0; } } /* * Setup I2C */ TinyWireS.begin(I2C_SLAVE_ADDRESS); TinyWireS.onRequest(requestEvent); //Set I2C read event handler ` Example code to read from device might look like this:
`Wire.requestFrom(0x13, 2); // request 2 bytes from slave device #0x13 int i =0; unsigned int readout = 0; while (Wire.available()) { // slave may send less than requested byte c = Wire.read(); // receive a byte as character if (i == 0) { readout = c; } else { readout = readout << 8; readout = readout + c; } i++; } Serial.print(readout); Full source code is available on GitHub and my Weather Station with almost a year of light level history is available here.
A hitetlenkedőknek, a glozeli kövek kapcsán felmerül 14,000 év, kiigazítva, Tekintse meg a videót: Ősi magyar rovásemlékek, ancient hungarian runic artifacts a székely-magyar rovásírás 30,000 évesn…
Hope things are going great for you! So apparently the PID regulated current source using a switching regulator is a pretty popular thing, something that is searched for online quite often, a…
Hope things are going great for you! So apparently the PID regulated current source using a switching regulator is a pretty popular thing, something that is searched for online quite often, a…
Attiny85 Decision Box V2.0: After seeing my first Attiny85 based "Decision box" had become quite popular I decided to make a second version with more improvements using common materials so everyone can build it. The main difference between the first and second version are the…
ATtiny Watch Core: This instructable show how to use an ATtiny85 to create a tiny watch core that can run over 1 year before recharge or replace battery. The instruction to make the watch case may be in next instructable. I have made a few Arduino watch before, but I …