Invented Clock or Hoax Bomb…

A Texas high school student ‘invented’ a clock and brought it to school.  The police were called because it ‘went off’ in English class (and he was Muslim).

Or so the Media would have you believe.

What really happened:

Ahmed took the innards of an old Radio Shack clock and fitted it in a brief-case like enclosure.  Please note – he did not ‘invent’ anything.

Ahmed took this to school.  It was not a school assignment.  It was totally unexpected.  He showed it to his Electronics teacher who advised him not to take it to any other classes.   Ahmed ignored his teachers advised and hauled it around to all his classes – he even set it to go off during his English Class which it did.  The English teacher saw the ‘clock’ with loose wires and everything and called the Principal who then called the police.  Ahmed refused to answer any questions (or even refer them to his electronics teacher) until his parent (Muslim and Islamic activists) arrived.

The media of course, went ballistic claiming he was targeted because he was Muslim and he was only ‘inventing’ a clock.  Obama invited him to the white house and Microsoft gave him a lot of gifts as well.

Ok now.  think for a minute.  If you wanted to build a clock what would you do?  You probably wouldn’t start with an existing clock (that would be called cheating).  I would probably wire up a microcontroller like an Arduino with a real time clock and a display, do a little programming and voila – I created a clock.  If I wanted to get fancy I would put this in a box or something (cardboard or even plastic),  Add a few buttons for setting the time, etc…

Ok – now think a little more. Consider if you wanted to create a media incident about being targeted for being Muslim.  What would you do?  As well as make people hesitate on calling in strange activity (see something – say something).

Well I would create a device which looks an awfully lot like a bomb – perhaps a suitcase bomb.  Set it off during what is probably the most non-technical class I could think of (English) and then let people react like they would no matter what ethnic group I was in.

Here is what his ‘clock’ looked like:

hoaxbombclock

(also note that the media did not, ever not even once, showed this picture – that would defeat the narrative.  This is from another blog posting).

As you can see this is obviously a clock (/SARC).

Here is what I think happened.  Hold on to your tinfoil hat!

Ahmed or his father wanted to get some publicity and earn some ‘cred’ as well as show ‘blantant racist bias against Muslims’.   They may also have wanted to get people to hesitate to report activity – the neighbor of the San Bernindino Islamic Terrorists for example.

So Ahmed, or his Father, build this ‘hoax bomb’ using parts from an old Radio Shack clock and deliberately placed it in a briefcase (a lot of bombs on TV appear in briefcases) with a lot of wires hanging around.  Ahmed took it to school and showed it to his Electronics teacher (who recognized that it wasn’t really a bomb but advised him not to take it to any classes – because his fellow teachers were not as technical).

Ahmed didn’t want anything to do with that – it would defeat the purpose and he set it to go off during a non-technical class (English).  When it did the teacher looked at the briefcase (which as you can see looks awfully like bombs shown on TV shows) and alerted the Principal who, in turn, alerted police.

The teacher wasn’t about to ignore it and potentially have, what appears to be a bomb, explode in class killing a number of students and neither was the Principal.   Ahmed, following his script refused to provide any information – which of course raised even more questions.  Please note that this would have happened regardless of what religion the student followed.

The media, of course, exploded because poor Ahmed was being discriminated against for being Muslim (what race is Muslim? Isn’t that a religion?).   There were an awful lot Muslim groups set and ready to come to his defense – almost as if they were tipped off beforehand.  (We’ve see this again afterwards – CAIR was on the networks advising against ‘backlash against Muslims’ before the details were known about the San Bernindino terrorist act).

President Obama, called Ahmed up and invited him to the White House (apparently not even inquiring with the police or school what realty happened).  The Muslim Advocacy groups and news media made him out to be some whiz kid.

Arduino Robot Project

The Arduino is an open source hardware credit-card sized PC board with a microcontroller and supporting hardware to allow it to be used for prototyping.

When I say open-source hardware I mean the board’s schematics and design is freely available to anyone to use to fabricate their own boards.

The main purpose of the board is to breakout the various pins and functions as well as provide a UCB connector so that microcontroller programming can be compiled on a PC and ‘bootloaded’ onto the controller.

UnoLabeled\

An Arduino Uno (above) and an Arduino Nano (below)

 ArduinoNano

This allows the Arduino to be used for prototyping and the construction of a variety of items.  There are a number of different types of ‘Arduino’ boards from small IC chip sized nano boards to large mega boards (a little larger than a deck of cards) which support a lot of functions.

In addition to the Arduino board, companies like Sparkfun produce plug-on boards called ‘shields’ which are designed to ‘snap on’ to the Arduino board to provide additional functionallity such as Ethernet, Wifi, Sensors, SD card slots, etc…

What people do with the Arduino is really amazing.  Some are rather silly while others are real serious.  One example is a board hidden in an elevator so when it senses the elevator going up or down it makes the ‘Doctor Who’ sound.  Another is a wireless remote-controlled robotic hand using a couple of Arduino lilypads and a glove (done by a high-school student…).

An Arduino Nano mounted in what appear to be a frame for a quadcopter  (This is not my project or picture):ArduinoQuad

The heart of the Arduino is the ATMeg microcontroller.  You can’t run windows or linux on it.  The ATMeg microcontroller combines a cpu, memory, flash memory and various circuits on a single chip.  The Arduino board basically takes these, adds some usefull components (a led, a reset button, a USB connector) and exposes the pins the ATMeg controls.  Programs manulipulate the state of these pins to interact with, sense, and control outside components (like motors, ultrasonic sensors, ethernet, etc…).

Arduino ‘programs’ are called ‘sketches’ (I think that has something to do with the history of the IDE used to code).  A ‘sketch’ is basically a C++ program and the IDE facilitates development since it has to link into the Arduino libraries and get the GCC compiler to generate binary code which will execute on the ATmeg microcontroller on the Arduino.  It also facilities downloading and ‘bootloading’ the code.  There isn’t an Operating System on the Arduino – you are literally coding on bare metal (or Silicon as the case may be).  The only thing on the microcontroller is a little bootloader to facilitate loading programs (otherwise you would need a separate microcontroller ‘programmer’ device).

I first got involved with these boards when I came across the Raspberry Pi – a simular board running the Linux operating system.  In fact I’m using one as my Voip (Voice-Over-IP) system running freePBX.  From there I moved to the Beagleboard, and the Arduino ‘uno’ (which is their basic model board).

This Robot-car project

This is a project for a Robot car. I ordered the ‘kit’ on ebay and here is what the parts look like:

IMG_0836

Features include:

Infrared remote control and recever

Arduino UNO board

Sensor Shield (which fits on the Arduino)

Ultrisonic distance sensor (used for colission advoidance)

Three sensor ‘line follower’

Motor control and 4 motors with wheels

Platform

Here is a pic of the Sensor Shield attached to the Arduino:

IMG_0840IMG_0843

The lower board is the Arduino and the upper board is the sensor shield.

Motor Controls

The motors which are attached to the wheels are powered by 4 stepper motors which are wired to the ‘motor’ control board. This takes signals from the Arduino and, using supplied power, move the motors forward and backwards.  In this case the left and right wheels are setup to operate in pairs.  If they both run forward the car goes forward and if backwards the car goes (you guessed it!) backwards.  If they go in opposite directions the car turns left or right.

A set of batteries (6 1.5 volts) supply 9V of power to the motor board to power the wheels.

The motor board also has a voltage regulator to supply 5V of power to the Arduino and sensor board.  This is how the Arduino is powered when it is not connected to the UCB connector.

Here is a pic of my setup for testing the motor controlsIMG_0847

Along the left is the bottom portion of the platform sitting on a glass (so it won’t take off when the wheels start to spin). Below that is the ‘top’ portion with the Arduino board and a battery compartment to provide power.  A USB connector runs from the computer (on the left) to the Arduino to download compiled programs – the computer itself is running Linux and the Arduino IDE.

Quick note – a compiled program, once downloaded, remains on the chip even without power – when the microprocessor is powered up it will start executing the program.  The above robot wouldn’t be much good if it had to haul around the laptop.

Motor testing.

The ‘test program’ given in the instructions was badly written and I didn’t want to use it (not to mention type it in).  I did use portions of it for basic testing (go forward, go backwards) but for the video below I rewrote to code to be more structured and modular.

Basic testing of the motor shield and motors

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Actually this isn’t.  I’ve moved my site to a new web-host and used the wordpress export/import functions to move the content of my site over.  That required that I first create the target wordpress site and then import the contents (posts, comments, etc…).

iPad koolaid

Well I went and did it – went out and bought an iPad. In this case an iPad 4 with wifi and 128Gb. (What would I do with cellular?)

So far it seems to work pretty good. I like the ’keyboard’ more than the android tablet. Seems easier to use than those tiny keys on the droid.

Loading the apps isn’t too much different. Loading data into the apps is different. For that you use itunes.

I will keep this space updated.

Marrow Design MM256K S-100 memory Board– Mystery Jumpers…

I purchased this board on Ebay since it looks like a good 256K board for a S-100 based computer.  Unfortunately I could not find any documentation for it.

 

After receiving it I noticed there was a single bank of jumpers.  What they were for I did not know but I suspected that they were for some sort of bank or extended address selection and perhaps some options.

20130225_191639

This was marked as ‘J19’ on the board.  there are 6 jumpers out of 8 ‘positions’ – the top two (not seen above) were not selectable by jumper.

 

While I did not have the documentation – I did have a set of schematics from www.bitsavers.org (a great repository of old documentation).

 

The section of these schematics which cover this set of jumper are as:

 

MM256Jumpers

 

It looks like these jumpers are leading to some chip (U68) which I figured out to be a 8-bit equal comparator.  Comparing 2 sets of 8 bits and giving a true if they are equal.  The other side leads (eventually) to the A16 – A23 address pins of the bus.  The writing just above seems to indicate a ‘jumpered’ setting (in) is a zero and an unjumpered setting is a 1.

 

So my conclusion seems to indicate that these jumpers are used to select one of the 256K banks within the 16Mb [extended] address space of the S-100 bus.  Something which seems to conform this are some notes along the left hand of the same schematics:

 

MM256Jumpers2

 

U68 goes into the ‘A’ position (which it is – you can just make it out in the picture that it is to the left – the ‘A’ position) for Extended Addressing and the ‘B’ position for Bank select.

The HP tm2t – network / tablet convertable

My laptop is now a HP tm2t I ordered from HP.  I did not get the ‘stock’ model availabe at costco other places.  This has a Intel Core I5, dual graphics processors (one for low-power), 8Gb ram and 500Gb disk.  Multitouch display. Bluetooth and wireless N (which reall works as a wireless N – unlike the Dell Duo) and of course wired ethernet and three USB 2 ports and a HTMI port and card slot.  With Windows 7 professional.

The mutitouch display I something I really like.  To be able to scroll back and forth with a flick of a finger or go forward or back between pages.  zoom and resize with a finder gesture.

The I5 is pretty nice too (much faster than the Duo)

Sweet.

Arrogant Software

I hate it when software – or rather software manufacturers – become arrogant.  Take for example Google Update.  By the name I assume that this is used by google software to check for updates. 

However google insists that a) it run at system startup along with the hundreds of other applications which are trying to start at the same time and b) that it runs all the time.

Why does software which only checks for updates have to be running ALL THE TIME?  There is absolutely no reason for it.  I don’t care if it’s not doing anything – it’s taking up resources and a entry in the process table.

Another one is Steam – it always starts up during the startup period and prompts you to logon to steam.  I am not asking to logon or use Steam or play any games on steam.  Yet I have this damn login panel in my face.  And if it cannot connect to the internet it complains and offers to run in ‘offline’ mode – and then if you choose offline mode it bitches because it cannot connect to the server (don’t get me started on stupid software design…).

Yet another is Adobe update.  It seems that Adobe releases an update to reader, flash or air about once a month – and this panel pops up and tell you that you have to re-install. WTF?  Maybe it’s the cost of free software to have this in your face every few days or something.  I don’t even use Adobe reader (I prefer Foxit Reader – smaller and doesn’t have this frigging annoying update every few days).

SOPA and Move your Domain Day

 

Well I started the process for moving all my domains registrations (in number – 5) from Godaddy to namecheap.com.

The reasons I did it was because of Godaddy’s support of the SOPA bill (misnamed the Stop Online Piracy Act).  Godaddy has now changed their minds and decided to oppose the bill – but still they should not have supported it to begin with.  I don’t think I could _every_ trust them to watch my back – particularly since I have, a times, blogged some fairly un-politically-correct feelings.

The process was amazingly simple. I went to Godaddy and unlocked the domain names and at the same time I had emailed to me the EPP codes. These are codes which are used to transfer domains.

Today (December 29th – the official ‘MoveYourDomain’ day. I went onto namecheap.com and entered a transfer request.  I selected namecheap.com because they oppose SOPA, they offered a reduce price on this day, and they would give $1 to the EFF.  There were a number of other registration services out there I could have selected.  They even gave instructions on how to transfer my domains from godaddy.com.

Right now I am waiting.  I have a receipt for the order from namecheap.com.   But I have not received a verification email yet. I suspect that they are very busy transfering domains from godaddy.com today.

I heard that the final step is that godaddy will send me an email giving me ‘one last chance’ to change my mind and I will have to log into godaddy and verify that I want to transfer the domains.  We’ll see what happens.

I would guess that godaddy is also very busy — being gutted like a fish but its competition.

I always had a problem with godaddy’s website – far too busy and too much push for sales.  No to mention their rather sexist ads.

UPDATE 12/30/2011 – 5:20AM

This morning I found 5 emails from namecheap.com – emails they sent to the administrator of record for the 5 domains I am transferring.  Each requested that I go to a link and verify that, yes indeed I do want to transfer the domain.

I did that -  5 visits to 5 URLs 5 click on a ‘Yes I want to transfer the domain’ button.  It says that the transfer can take from 1 to 5 days – depending on the losing register.   Next I expect godaddy.com will send me an email asking me to reconsider or go to a URL on it’s site to, again, verify that I want to transfer the domain.