Atmega8 UDP Client

February 21, 2015

As a follow-up to Radu’s Atmega8 and enc28J60 for ethernet support article, I used the libraries to implement an ATmega8 UDP client using ENC28J60 that broadcasts a simple “Hello World” message over Ethernet. Circuit Diagram is exactly the same as simple web-server project(take a look at Schematic&Docs in the project folder). Do not forget to connect CS to PORTB2 if you are using Atmega8 and modify CS pin section in…


Simple AVR Bootloader tutorial

July 21, 2018

I’ve used AVR microcontrollers both for hobbies and work projects. These versatile microcontrollers ran the code I programmed them with, but once the final device was shipped, it was hard to change the firmware (the software running on the microcontroller): The user needed an ISP programmer and the software tools to update the firmware. A more convenient solution is to use a bootloader. The bootloader is a small program that…


Featured by Atmel

November 7, 2015

Trained as a software developer I’ve been active in the field doing mostly mobile apps since 2003. My first contact with microcontrollers came later, in 2009, and I still remember how exciting it was to see the tiny silicon piece run some code. That was the Atmega8 made by Atmel, and the first app was blinking a few LEDs with a simple software loop and a delay. Amazed by the…


DIY Geiger Counter Kit 1.1

October 4, 2015

This is an Open Source Digital Radiation Dosimeter, that can be used both as a portable detector, but also as a monitoring station to upload readings to the uRADMonitor network. This project is an update to the previous Geiger Counter Kit 1.0. When used as a portable detector, readings are displayed on the LCD. There is also a speaker that beeps on radiation events or is used to sound an…


Digital bench power supply

April 8, 2015

As a follow up to one of my earlier projects, the Variable regulated power supply, initially designed to deliver 0..30Volts at up to 10Amps, I have decided it was time for an upgrade. I kept the enclosure and the nice 250W toroidal transformer, and am reshaping everything as a new digital power supply with regulated voltage and current, short circuit protection, lcd display, buzzer for various alarms, temperature sensor on…


Serial Digital to Analog converter (serial DAC)

April 8, 2015

Introduction We’re used to Analog to Digital converters (ADC) in a variety of applications such as voltmeters, thermometers or various other sensors. Their purpose is translating a given signal to a numeric representation. To handle numeric data, we encode it in digital, meaning all content is expressed by sequences of 0 and 1. A set of data is said to be continuous if the elements belonging to the set can…


DIY Dosimeter Geiger Counter KIT1.0

March 8, 2015

Note: there is a newer version of this project, KIT1.1, see it here If I was to give this project a version number, the closest match would be the uRADMonitor model B. Finally an open source compact radiation dosimeter, that has an LCD and thus allows mobile use, but also comes with an Ethernet adapter so it can do radiation monitoring (uRADMonitor compatible). Yet, this is not quite the uRADMonitor…


Using FS1000A/XY-FST RF Radio module with AVRs

July 31, 2013

Wireless data transfer can be useful for a variety of projects. I stumbled upon a very low cost emitter+receiver modules pair, and planned to use it for some time now. There are a few variants available on the market, but they do quite the same thing, just the operating frequency might be different (315MHz / 418MHz / 433MHz/ 915MHz): The emitter usually has 3 pins (VCC->5V, GND, DATA), with a…


Global radiation monitoring network

July 11, 2013

EDIT: there is a dedicated blog on this project, here. Make sure to follow it for latest news. A few days ago I announced my intention of creating my first crowd-funded project, but I didn’t tell you what was it about. Well, I’m planning quite a challenging project – to bring my uRADMonitor to a global scale, and create a network of distributed detectors, with data centralized on one server,…


How to set the AVR Fusebits

March 11, 2013

Learn how to set your atmega to work with various external crystals, program the fusebits, and build a fusebit doctor to revive your AVRs, in case you wrote the wrong settings .