Browsing All posts tagged under »serial port«

Arduino Ethernet shield and Python socket

June 14, 2015

1

I started playing with an Ethernet shield for Arduino that I bought at a faire. I noticed that the shield itself is not original, but it’s a clone of the Arduino Ethernet Shield version 5.0, also identified as revision 2. The shield provides Ethernet connectivity and has an SD card slot to provide non-volatile memory […]

Using a rain sensor with Arduino Uno in C

December 23, 2014

10

An application written in C that interfaces a rain sensor to Arduino Uno by reading digital and analog signals, and visualizing the levels on a PWM-driven LED and a serial terminal.

A bug that always gets me

October 21, 2012

3

This week I made an error that I already repeated at least twice in my career; it doesn’t seem to stick in my brain. I’m going to write about it here, so that maybe I will stop doing it, and maybe it will prevent the same kind of error for my readers. Let’s see if you can spot […]

Capturing an analog signal with Arduino and python

March 26, 2011

6

Last week I salvaged a magnetic sensor from a stationary bike and connected it to my Arduino Uno in order to analyze the sensor’s behavior with the ADC converters.   I wanted to capture a good enough signal, so I searched about the Arduino capabilities: From analogRead() reference description: It takes about 100 microseconds (0.0001 […]

Emulating ARM PL011 serial ports

November 30, 2010

15

QEMU is able to emulate ARM systems with multiple serial ports, for example the Versatile PB. It has the ability to direct them to many types of host resources such as standard I/O, a pseudo-terminal or a telnet port. I started from my hello world example for bare-metal ARM programs to control three different serial […]

Emulating 8051 serial port communication on Linux

June 13, 2010

3

Setting up a system on Linux to emulate serial port communication with 8051, using SDCC, uCsim and socat.

U-boot for ARM on QEMU

March 10, 2010

112

Instructions to compile and run the U-Boot bootloader inside a QEMU emulation of an ARM platform.