Watch the dog watch the watchdog

What’s wrong with this picture?

watch-dog

Here, we have a classic example of a PIC being reset by its watchdog timer.

The PIC used in the simulation – 16F866 – has a default watchdog countdown timer of about 2.3 seconds.

So, the count from 0 to 9 is interrupted before the end of the sequence and the program is restarted.

In the following article, we will see how to configure and use a watchdog on a PIC micro-controller.

Read the article

Introduction à Xcode et swift

Voici un laboratoire d’introduction à Xcode et swift que j’ai rédigé pour mes étudiants:

http://tim.cstj.qc.ca/cours/xcode/wp/index.php/premier-projet-xcode-swift-capitaine-haddock/

projet.Haddock.02

A new DL380 G7 in the data center

dl380_g7

6 months ago, I have added to my data center a new HP DL380 G7 server.

A superb machine with 2x 6 cores CPU which gives 24 virtual cores, 32GB of DDR3 RAM and 6x SAS 10k 300gb disk .

Soon, I will move the Asterisk and pfSense vmware machines to this server, in addition to some experimental virtual machines : Windows 10, centos and OpenStack.

To be continued …

Apollo Guidance Computer

Apollo Computer Reproduction

One of my favorite projects:

Reconstruction of the ‘Apollo Guidance Computer’.

John Pultorak did an extraordinary job.

———————————————————————-

Un de mes projets préférés:

Reconstitution du ‘Apollo Guidance Computer’.

John Pultorak a fait un travail extraordinaire.

———————————————————————-

Documents:

build_agc_1 build_agc_2 build_agc_3 build_agc_4 build_agc_5 build_agc_6 build_agc_7 build_agc_8 build_agc_9

PIC 18F – Exemple pour afficher sur LCD avec plib/xlcd.h

Sample code that displays on a LCD using the xlcd XC8 library

Note: The internal clock is used with the default clock rate of 1 MHz.

———————————————————————————————–

Voici un exemple de code qui permet d’afficher sur un LCD en utilisant la librairie xlcd sous xc8

Note: L’horloge interne est utilisée avec la cadence par défaut (1 Mhz).

Directives de connexions

LCD PIN PIC PIN
RW 5 RB6 39
RS 4 RB5 38
E 6 RB4 37
D4 11 RB0 33
D5 12 RB1 34
D6 13 RB2 35
D7 14 RB3 36

montage Référence LCD Continuer la lecture de « PIC 18F – Exemple pour afficher sur LCD avec plib/xlcd.h »