• Most awesome airplanes!

    I am not quite the airplane nut, but I do enjoy reading and watching stuff about awesome airplanes. Here are a couple of airplanes that are definitely worth checking out on Wikipedia and Youtube:

    Mikoyan-Gurevich MiG-25 “Foxbat”

    An old school Soviet interceptor and reconnaissance plane. It is ridiculously fast, even compared with contemporary airplanes, with a top speed of Mach 2.8. It is big and heavy, mostly made out of stainless steel. The original electronics were implemented with tubes instead of solid state parts due to high temperature requirements and EMP tolerance in case of nuclear war. It is still in military service in Russia and Syria, and if you have some money civilian rides can be arranged.

    Continue reading  Post ID 1348


  • Trinket powered geiger counter

    Lately I have been messing around a bit with microprocessor powered geiger counters. One smart guy came up with the idea of generating high voltage using PWM signals from the microprocessor itself. With some additional external parts a HV supply and negative going pulse suitable for microprocessors is easy to make. Here is a schematic I came up with:

    gm counter interface

    The circuit works as follows: A ~1 Khz squarewave turns the MPSA44 high voltage transistor on and off, generating high voltage when the  inductors current is shut off. The voltage depends on the pulse width of the square wave which can be tweaked in software. The 1N4007 diode rectifies this voltage, and the HV cap removes most of the ripple on this voltage. The resistor limits current to the GM tube. The current pulses from the tube generate a voltage drop over the 100K resistor which turns on the BC546. When this happens the voltage through the 10K resistor is pulled to ground, generating a negative going pulse each time the GM tube detects an ionizing ray or particle.

    To drive this circuit I used my new Adafruit Trinket, a small board with a Attiny85 microprocessor. Using the tutorials on the Adafruit website it is easy to work with from the Arduino environment. Here is the code:

    void setup() {
     analogWrite(0, 30); //starts PWM on pin 0, generates about 400V
     analogWrite(1, 255); // needed to get LED to full brightness
     attachInterrupt(0,countPulse,FALLING); // attach interrupt to pin 2
     }
    void loop() {
     //nothing much really
     }
    void countPulse(){
     //pulse led
     digitalWrite(1, HIGH);
     delay(100);
     digitalWrite(1,LOW);
     }

    And here is a video of the setup in use:

     

    Of course it is rather wasteful to only use the microprocessor to generate PWM and flash a LED. I plan on implementing counting and serial output in software later. Unfortunately the Trinket does not have native serial USB capability but bit banging a serial signal on one of the pins should work fine according to several sites. Then it is just a matter of adding a cheap PL2303 serial to USB adapter.

    Update 18/4/2014

    Added serial logging capability. Using a tx only software serial library, the Trinket outputs the measurements in CPM each 10 seconds on pin 4. New code:

    // Trinket GM counter by Johan/dynode.nl
    
    //counting vars
    long count = 0;
    long countPerMinute = 0;
    
    // init softserial only tx on pin 4
    #include <SendOnlySoftwareSerial.h>
    SendOnlySoftwareSerial mySerial (4);
    
    void setup() {
      mySerial.begin(9600); // init serial 9k6
      analogWrite(0, 30); //starts PWM on pin 0, generates about 400V
      analogWrite(1, 255); // needed to get LED to full brightness
      attachInterrupt(0,countPulse,FALLING); // attach interrupt to pin 2
      mySerial.println ("Trinket GM counter starting..."); 
    }
    
    void loop() {
      delay(10000); //the count is incrementing during this delay
      countPerMinute = 6 *count;
      mySerial.println (countPerMinute);
      count=0; //reset the count
    }
    
    void countPulse(){
        count++;
        //pulse led when count is increased
        digitalWrite(1, HIGH);
        delay(100);
        digitalWrite(1,LOW);
      }

    Example serial output using cheap eBay USB<>TTL serial adapter:

    Trinket GM counter starting...
    84
    12
    6
    0
    402        <--- thorium bearing mantle held next to GM tube
    996
    1218
    1146
    1074
    1104
    
    

    There still need to be some tweaking done, the circuit is quite susceptible to electromagnetic interference which causes erroneous counts.


  • Spits en Metro, promotors van angst voor radiostraling

     

    Geenstijl was me al voor, maar ik las met verbazing gisteren een artikel in de Metro waarin weer de bekende onzin werd uitgekraamd over de vermeende schadelijkheid van radiostraling van mobiele telefoons.
    Nu is de angst voor radiostraling van mobieltjes niet echt een nieuw onderwerp. Op het internet maken legioenen hypochonders en lijders aan paranoïde wanen zich hier al jaren druk over. Feit is echter dat de schadelijkheid van de elektromagnetische straling van mobieltjes, wifi e.d. nooit hard is aangetoond. Er zijn vele, vele onderzoeken geweest maar er is nooit een duidelijk verband tussen deze radiogolven en gezondheidsproblemen waargenomen.

    De Spits en de Metro lijken zich van de domme te houden, en voelen zich blijkbaar niet gehinderd door enige journalistieke integriteit. Het artikel in beide bladen is namelijk niks meer dan een advertorial voor  RADYGO “antistralings”hoesjes welke door ene Derck Mekkering worden verhandeld.

    Over het nut van dergelijke hoesjes kan ik kort zijn (niet), maar aangezien mijn doel voorlichting over dergelijke onzin is: hieronder een samenvatting van de claims bij dit product en mijn commentaar.

    Iedere 900 milliseconde vormt zich rondom smartphones een stralingsbol ter grootte van een voetbal.

    Dit is onzin aangezien de “stralingsbol” veel groter is en over vele honderden meters tot kilometers reikt om de dichtstbijzijnde “toren” te bereiken. Er wordt ook niks over de aard van deze bol gezegd. Is het een denkbeeldige bol met signalen boven een bepaalde veldsterkte? Hoe is bepaald vanaf welke veldsterkte de radiostraling schadelijk is? Dit wordt allemaal in het midden gelaten.  Het doel hier is om mensen te laten denken dat hun hoofd in een bol van schadelijke straling zit als ze met een mobieltje bellen. Pure angstzaaierij dus.

    Om gebruikers daar tegen te beschermen brengt het Amsterdamse bedrijf RADYGO nu speciale beschermhoesjes op de markt. Die reduceren deze stralingsbol tot de grootte van een golfbal en verminderen daarmee naar eigen zeggen de gezondheidsrisico’s.

    Wederom onwaar, de “bol” zal er nog steeds zijn en nog steeds de afstand tot de toren halen. Mogelijk dempt het hoesje de radiogolven enigszins maar en de elektronica zal daarop reageren en met meer vermogen gaan zenden, wat het nut van het hoesje teniet doet.

    Mekkering is bezorgd over de risico’s voor de langere termijn. ”Die zijn pas over enkele decennia duidelijk, zoals ook lange tijd het geval was bij roken. Pas dan zal duidelijk worden hoe gevaarlijk dat whatsappen, sms’en en bellen was.

    Dit is pure angstzaaierij met de motivatie geld te verdienen met de verkoop van deze hoesjes. Het feit dat de schadelijkheid van tabak jarenlang is ontkend door een krachtige lobby is geen bewijs voor de mogelijke schadelijkheid van radiostraling. Er is maar een manier om dit duidelijk te maken, met wetenschappelijk onderzoek.

    Helaas zijn vele mensen makkelijk beïnvloedbaar met alarmistische verhalen, en twijfelachtige figuren zoals Mekker(ing) kunnen daar fijn geld mee verdienen. De Metro en de Spits mogen van mij de oudpapierbak in, dat ze vol staan met advertenties is prima, maar als deze worden gepresenteerd als normale artikelen is er iets fors mis.

     

     

     

     

     

     


  • De “zakelijke” kant van KPN

    Zoals ik al eerder aangaf is het niet altijd even prettig zaken doen met KPN. Matige klantenservice is echter schering en inslag bij eindgebruikerproviders, dus wat dat betreft is KPN waarschijnlijk niet beter of slechter dan zijn concurrenten.

    Aangezien ik al enige jaren zakelijk contact heb met KPN voor technische support op connectivity (xDSL, fiber, FttH) leek het me mooi om daar ook eens wat over te vertellen. Het is mijn persoonlijke mening dat de support op wholesale producten bij KPN ondermaats is. Niet dramatisch, maar ik heb helaas voldoende ervaringen met situaties welke bij andere zakelijke/wholesale providers veel beter en consequenter worden aangepakt.

    disclaimer: Dit artikel geeft mijn persoonlijke mening over de dienstverlening van KPN en is niet representatief voor de mening over KPN van mijn vorige of huidige werkgever(s). Continue reading  Post ID 1348

  • Streaming radio receivers with the Raspberry Pi

    rpi_audio_stream

    The Raspberry Pi is a small computer that has become very popular. Lots of applications and hardware hacks have been made for it. You can run various software like web/file/printservers, read out sensors, the possibilities are endless.

    I own multiple Raspberry Pi’s, one is a test platform for sensors, and a new one pictured above will be dedicated to audio streaming. I use the software packages darkice and icecast2 to capture the audio from an USB audio card and make it available on the internet.

    To stream audio with the RPi you’ll need the following hardware and software: Continue reading  Post ID 1348