Quantcast
Channel: ad hocumentation • n. fast documentation of ideas and solutions.
Browsing all 72 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

First attempt at printing to an LCD display from a dsPIC30F4011

The following example is my first attempt at printing to an LCD display using the dsPIC30F4011 microcontroller. The display I’m using is a 16×1 character screen with what I think is a standard Hitachi...

View Article


Image may be NSFW.
Clik here to view.

PWM servo control example for the PIC18F14K50

This is my first program for the PIC18F14K50 20-pin microcontroller. I haven’t used this chip before, but it seems to have some useful features including USB connectivity, so I intend to investigate it...

View Article


Image may be NSFW.
Clik here to view.

Starting with Circuitry

Reblogged from RoboSlam: RoboSlam starts with an introduction to the overall robot-building process and then delves into assembling the electronic components (i.e., building the circuitry).  The...

View Article

Image may be NSFW.
Clik here to view.

50Hz square wave example for PIC16F1829

This post presents two example programs for the PIC16F1829 microcontroller that generate 50Hz square waves. The first example uses simple bit banging to generate the waveform. The second example uses...

View Article

Image may be NSFW.
Clik here to view.

Simple PI control using the dsPIC30F4011

This is an initial sketch of a simple PI controller using the dsPIC30F4011. I hope to add in quite a bit more detail and explanation to accompany this in the coming days, but I thought I’d post the...

View Article


Image may be NSFW.
Clik here to view.

David Dorran’s PIC bootloader

David Dorran, one of my colleagues in the School of Electrical and Electronic Engineering here in the Dublin Institute of Technology, has created a wonderful bootloader for the PIC18F4620...

View Article

Image may be NSFW.
Clik here to view.

Basic LCD display example for the PIC18F4620

I previously posted an LCD display example program for the dsPIC30F4011 microcontroller. This is the same program adapted for the PIC18F4620 microcontroller. I’ll have to update this later with a...

View Article

Image may be NSFW.
Clik here to view.

Relaxation Oscillator

Editable Inkscape SVG version of the diagram above

View Article


Image may be NSFW.
Clik here to view.

Videos from Robotics 3.1

I teach a Robotics module in the final year of our DT009 Electrical Engineering programme here in DIT Kevin St. The philosophy of the module is to give the students enough bits and pieces to get stuck...

View Article


Image may be NSFW.
Clik here to view.

Simple ARM example for LPC1114

My Colleagues Frank Duignan and Richard Hayes have been experimenting with an ARM microcontroller in a dual inline package (DIP) which can be plugged straight into a breadboard. The chip they’re using...

View Article

Image may be NSFW.
Clik here to view.

Simple DFT in C

I’ve been spending some time recently thinking about the Discrete Fourier Transform (DFT), as well as the Fast Fourier Transform (FFT) which provides a computationally efficient means of calculating...

View Article

Image may be NSFW.
Clik here to view.

Relatively simple DFT example for dsPIC

I’ve been trying to create a simple DFT example for the dsPIC. I found it more difficult than I expected to come up with something which is both useful and readable. I’m intentionally not doing either...

View Article

Image may be NSFW.
Clik here to view.

Simple communication with a TCP/IP device using Python

I had an interesting correspondence recently with Wim Bruyn from Holland who was using my SerialSend program to implement a remote-controlled relay system for switching appliances on and off...

View Article


Image may be NSFW.
Clik here to view.

Programming the PIC16F819 on an LCD03 adapter using a PICkit 2

I was looking around the office for a PIC16F microcontroller to try out some sample code, but I couldn’t find any lying around. My colleague Richard Hayes gave me a little circuit board which is an...

View Article

Image may be NSFW.
Clik here to view.

Real-time analysis of data from BioSemi ActiveTwo via TCP/IP using Python

JohnAlan (Jack) Keegan and I have been doing some interesting work on real-time electroencephalogram (EEG) analysis recently and we had a really productive practical session in the lab today. The EEG...

View Article


Image may be NSFW.
Clik here to view.

Keyboard shortcut to simulate a mouse right-click in CrunchBang Linux

I don’t have Linux installed on my Windows 8 Asus laptop, so when I want to do some Linux work I usually just boot into a live session from a USB key. My favourite Linux distribution is CrunchBang...

View Article

Image may be NSFW.
Clik here to view.

Big Foot Magic Hands

Thanks to Shane Ormonde for this simple but very useful idea, which I got from his great blog post on 2D laser mapping which was recently featured on Hackaday.com. Magic hands but little feet makes for...

View Article


Image may be NSFW.
Clik here to view.

Motion Tracking on the Cheap with a PIC

batchloaf:Projects by Aron Horan from DIT programme DT009 have recently featured twice on hackaday.com. The first one to be featured was his Dodging Robot, which is pretty nifty, but this one here is...

View Article

Image may be NSFW.
Clik here to view.

2D Room Mapping With a Laser and a Webcam

batchloaf:Shane Ormonde, from DIT programme DT009, also recently featured on hackaday.com. His project is a lovely adaptation of a webcam laser range finder (originally by Todd Danko) to scan and map...

View Article

Image may be NSFW.
Clik here to view.

Phasor diagrams in GNU Octave

I’ve been experimenting with plotting phasor diagrams in GNU Octave. This approach may also work in MATLAB, but I haven’t tried that yet. I need to tidy this up a little more to make it convenient to...

View Article
Browsing all 72 articles
Browse latest View live