Measuring Arduino Internal Pull-up Resistors

The Arduino (and many other boards) have a very useful time-and-cost saving feature ideal for when you are working with buttons and switches - namely internal pull-up resistors on the GPIO pins which can be enabled / disabled at will in software. This means you don't have to clutter your board up with pull-up resistors of your own for all the buttons and things, and also means they can be turned off and on to give your design much more flexibility.

But nowhere can you find out actually what the resistance of these resistors are. Why not? Simply because nobody knows.

Making your boards unique on Linux

I don't know about you, but I have a huge pile of different Arduino-like boards here. (I have so many because I need to test UECIDE with them - or that's what I tell the "bank manager"). Many is the time I will have more than one of them plugged in to my computer. Often times I have programmed one of them with some code only to find it's not worked - and why hasn't it worked? Because I have had the wrong serial port selected in the IDE.

Fast, Efficient Data Storage on an Arduino

Logging data on an Arduino is very much a trivial every-day task. Connect an SD card, open a file, and start printing data to it.

For many people that is good enough. It results in nice easily readable (by us humans) data.

But it's not fast. It's not efficient. It's perfectly fine for things like logging temperature every hour, or barometric pressure every 5 minutes, etc. But when you have large amounts of data to store very rapidly you have to think a little differently.

Top 6 Things Every Engineer Needs

So many people starting out in electronics, especially beginning to dabble in the world of Arduino and similar boards, just don't have the basic equipment to do the job properly. And not only that, they don't even know what the basic equipment is.

So here's a list of things you should have on your desk no matter if you have just got your first Arduino or if, like me, you are a seasoned veteran.

Making accurate ADC readings on the Arduino

There are many sensors out there which output a voltage as a function of the supply voltage as their sensed value. Temperature sensors, light sensors, all sorts.

Measuring that voltage, and converting it in to real figures for whatever is being sensed is not actually as simple as you might at first think.

There are many examples on the internet for converting an ADC value into a voltage, but basically it boils down to:

Reading Serial on the Arduino

I see many many questions on the Arduino forums from people trying to read data from a serial connection and not fully understanding how it works - and hence failing.

So, how should you read from serial?

Well, what a lot of new users don't realise is that serial data arrives one character at a time, and you have little or no control over just when that data arrives.

Pages