From bb551099d95ee5229bb1548220ae35eb5008c344 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Thu, 8 Feb 2018 18:19:42 +0100 Subject: [PATCH] Magn Sens: README updated --- sensors/MagneticFieldSensor/readme | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sensors/MagneticFieldSensor/readme b/sensors/MagneticFieldSensor/readme index 195e360..07dea39 100644 --- a/sensors/MagneticFieldSensor/readme +++ b/sensors/MagneticFieldSensor/readme @@ -1,3 +1,15 @@ -This project is made for a ATmega168Pa with 16MHz/5V. +This project is made for an Atmel ATmega328p microcontroller. -It is tested on a Pro Mini Developement board. +The microcontroller runs off an external 16MHz oscillator. +The board can be powered with 3V3 or 5V. +3V3 operation is only stable with 8MHz. Thus, a prescaler of 2 for the main clock is applied in the early startup of the uC. + +Each board will get a serial number that is being compiled into the firmware. +It needs to be specified at compile time: + + make SNUM=1 + +Set the fuses and flash the firmware with: + + make fuses + make program_avrisp2 # or program_dragon depending on your programmer -- 2.43.0