Läs mer om artikeln Don't trust the datasheet!
Pinout of the 2SS52M magnetic sensor according to the March 2016 datasheet from Honeywell.

Don't trust the datasheet!

Today I wanted to use a magnetic sensor for a small project. I had three Honeywell 2SS52M sensors in my stock – a magnetoresistive switch, more sensitive than your usual Hall-effect based ones. For my project it didn’t matter, but since I had these lying around I could as well put them to some use.

Since I didn’t know the exact pinout of these TO-92-similar devices, I asked Google. The first link after the advertisements was the direct link to the datasheet on Honeywell’s homepage.

Happily I realized that it was supposed to have the same pinout as the more common Hall-effect sensors, e.g. the venerable A3144 from Allegro. When my AVR-programmer decided to switch itself off after connecting the finished circuit I got a bit suspicious, but not suspicious enough to not burn up two out of three of my sensors.

What had happened?

Well obviously there is a printing error in Honeywell’s most recent datasheet, dated March 2016. Figure 3 should show the pinout of the sensor, but if you compare it to an older (less fancy) version of the datasheet, which the internet hadn’t forgotten, then you will see the difference. I assume that Honeywell has not changed the actual pinout of the devices in production – let’s see and wait if they will answer my email pointing out their mistake.

Pinout of the 2SS52M magnetic sensor according to the March 2016 datasheet from Honeywell.
Pinout of the 2SS52M magnetic sensor according to the March 2016 datasheet from Honeywell.
Pinout of the 2SS52M magnetic sensor according to an older datasheet.
Pinout of the 2SS52M magnetic sensor according to an older datasheet.

Fortsätt läsaDon't trust the datasheet!
Läs mer om artikeln A portable electronics bench
The briefcase now with increased breadboard area.

A portable electronics bench

A couple of years ago I mounted an Atmel STK500, a couple of breadboards and a power supply in a briefcase. This allowed me to bring test circuits to my lectures and demonstrate them in the class room.

The briefcase with the STK500 still mounted.
The briefcase with the STK500 still mounted.

Since I now have abandoned the STK500 in favor of just a USB programmer for AVR microcontrollers, I decided to rip out the STK500 and instead mount even more breadboard tiles inside the briefcase. This is how it looks now:

The briefcase now with increased breadboard area.
The briefcase now with increased breadboard area.

Fortsätt läsaA portable electronics bench
Läs mer om artikeln ATmega328P - measuring its own supply voltage III
Timing of the internal analog-to-digital converter of an ATmega328P with a 5 V supply voltage.

ATmega328P - measuring its own supply voltage III

[latexpage] After the first two parts of this series ATmega328P – measuring its own supply voltage ATmega328P – measuring its own supply voltage II where I investigated the possibility of…

Fortsätt läsaATmega328P - measuring its own supply voltage III
Läs mer om artikeln ATmega328P - measuring its own supply voltage II
A simple yet versatile testcircuit for the analod-to-digital converter.

ATmega328P - measuring its own supply voltage II

[latexpage] Here is a brief follow up from yesterday's post on the internal reference voltage VBG of the ATmega328P. I wrote a small test program where I wait for a…

Fortsätt läsaATmega328P - measuring its own supply voltage II