Skip to main content

Which controller for this project?

Here we are...

What are the criteria to choose the "good" controller?
- Price of the IC => this one is not a problem, those components are just so... Cheap !! Oo'
- Number of pins for this project
- Easy to code, as it is a first for me
- Size
- Availability of the coding software & kit

Regarding the size, the idea is to be able to program the controller and install it on the board, or install the controller on the board and upload the code.
For this reason, I do not think Arduino is a good idea. Don't get me wrong, I don't say it is not good (I am not an expert) and I should give it a try for another project, just that it does not appear the best solution to have a stand-alone controller for this project without any interface/ intermediary card.

Then we have mainly two options: PIC controllers from Microchip or AVR from Atmel.
After having spent a long time reading different articles, comparatives, forums, etc etc... Well... Both solutions can be considered !

As it is the first controller I will be programming, I am going for the "original" stuff => PIC

From then, I need:
- A device to connect to the PIC and upload my program on it: the PICKIT 3 from Microchip is an official one and it is affordable. No need to spend time to save a couple of quids there.
- PIC as a free assembler available, I'll start from that.

Then we need to determine the number of pins for this project:
- Anode drivers: 1 pin per MPSA42 NPN transistor (1 transistor drives 2 multiplexed nixie gas tubes) = 3 pins for our 6 digits
- Cathode driver: 4 pins per cathode driver, 2 cathode drivers (1 K555ID1 connects to 3 tubes) = 8 pins
- Setting buttons: 2 or 3 pins (to be confirmed!)
- Oscillator: 2 pins (OSCI1 & OSCI2) according to datasheets
- Supply: 2 pins (Vss & Vdd) according to datasheets

The choice will be a PIC 16F1828 (obviously it is not an optimized choice, but it has the minimum figures necessary for this project)
And well... It's only 1.5£ :)

If you want to have more details, please follow the link to the datasheet

Comments

Popular posts from this blog

Rebuild of a Solex carburettor 26AIC

I am always keen to rework old mechanical parts, not only to satisfy my thirst for knowledge but also for the pleasure to bring back to life an old thing long forgotten. In this article, we will review a Solex carburettor 26AIC. Here is the thing: I have been happy to discover that mobile parts were not seized :D A bit of history: This carburettor was initially fitted on Renault Juvaquatre (1938-39): Photo from Lars-Göran Lindgren (Sweden)/ Wikipedia Another variant exists for Peugeot 202 , with a slight difference however: on the top, the 26AIC for the Peugeot has two holes to attach a protector on top: The Solex 26AIC has also been used on this models: Standard Flying Eight Side Valve 1938-48 Reliant 3 Wheeler Regal 1952-58 Reliant Export 1952-62 And also on industrial engines: Coventry Climax FSM2 & FSM3 Engines 1939-49 That's all for the history bit for now, the next step is to strip it down! 😄 Stripping down t...

Remplacement du tableau électrique... Episode 1 !

Hello, hello! Encore un long moment sans billet. Les travaux me prennent pas mal de temps, et lorsque je peux écrire un petit quelque chose, la flemme se pointe et m'agresse sauvagement! Avec cette nouvelle année (meilleurs vœux!!), je vais essayer de tenir mon blog un peu plus à jour. Et non ! Ce n'est pas une "bonne résolution"... Je n'en prends jamais, comme ça, pas de déception, pas d'échec. ^-^ Pour inaugurer 2011, je profite de ne pas être chez moi pour écrire un petit billet sur les premiers travaux de l'année. Sujet: le remplacement de mon tableau électrique, "épisode I: la mise en sécurité." La maison a été construite avant 1840 (la dernière grosse modification structurelle daterait de 1841). Ne s'agissant pas d'une réhabilitation totale, j'essaie juste d'être au plus proche de la norme NF C 15-100, mais sans que ce soit une obligation absolue. Je n'ai pas posé de GTL, par exemple. J'ai également une can...

Headlights/ Parking lights warning buzzer

On modern car, usually a buzzer warns you when you leave your lights on while leaving your car. Unfortunately on our oldies, such devices were not always available. That could result in a discharged battery... After having left a couple of time the lights on (but been lucky enough to not have a completely flat battery when returning some hours later), I have decided to install a warning buzzer. Theory: I am using the wiring diagrams from Advance Auto-Wire (document here ). My MGB GT is a 75 UK model. The correct wiring diagram is the one on sheet 31 (page 32 of the pdf file). We want to add a buzzer that detects the parking lights are on when the door is opened. That means we need to connect a buzzer between the parking light feeding wire and the door switch. The parking lights feeding wire is a red & green (RG) starting at the "HEADLIGHT SWITCH", the door switch wires are the purple & white (PW) "COURTESY LAMP & DOOR SWITCHES". ...