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...

Je fabrique mon meuble TV, ou... L'épopée d'un week-end...

Tout a commencé quand j'ai acheté mon ampli home-cinéma et les mignonnes petites enceintes qui-vont-bien-avec. Mon meuble TV m'a paru soudainement trop petit et non adapté: il m'obligeait à faire un choix malheureux: ou l'ampli, ou le lecteur DVD... Merci Maman pour le lecteur DVD, je te le rends! (bon, en plus, il a un gniak dans l'axe, vu le bruit qu'il faisait depuis le départ...) Tout ça pour dire que mon ampli s'est retrouvé dans le meuble TV, mais bon, sans être à l'aise non plus... Voici le meuble d'origine et tout le foin qui l'accompagne: Après m'être dit, vas-y, comme tu es riche (c'est un grand mot, hein ^.^), fais-toi plaisir... Ô horreur! après maintes recherches, je n'ai pas trouvé ce que je voulais... Un meuble tout simple avec 6 niches larges (50cm: ampli = 44cm, DVD = 40aine de cm). Bref, au bout d'un moment, j'ai fini par me dire: "Bon, grand, faut qu'on parle. Tu as vu tes potes faire du meub...

Nouveau dessin en cours (stage 3) ... ça avance, ça avance :)

Kon'banwa! You'll find below the current state of my next chef d'œuvre! Assez d'anglais, j'en bouffe toute la journée! Donc, voilà le stage 3! Ça avance pas trop mal, des roseaux, des herbes, un caillou, le décor prend forme tout doucement, selon l'inspiration du moment! Piqûre de rappel pour ceux qui prennent le train en route: - stage 1, la naissance, - stage 2, le retour . Allez, courage bientôt le stage 4! On y croit! Bonne soirée à tous, et... "Non à la dictature de l'équerre!!!" (ah non, c'est hors sujet, là!) Bye! ;) Tekka