jump to navigation

Meet the Arduino Killer!! The BeagleBone! November 5, 2012

Posted by phoenixcomm in Arduino, Beagle Board, BeagleBone, DIY Aircraft Cockpit, Flight Simulation, Linux, ps2 keybaord, TI Cortex™-A8 CPU.
Tags: , , , , , , , ,
add a comment

All I can say is: Holly crap Batman

they got it right!

I plugged in the little board (its size is 3.4″ × 2.1)Image It comes out of the box with the Angstrom Linux distro, an RJ45 (Ethernet) and 2 USB ports, one is to connect to your host and the other is for devices, and then just a shit load of I/O! let me explain: two I²C ports, five UARTs,  a SPI interface, a CAN interface, eight PWM ports for motor control etc, eight Analog-to-Digital Converters, and count them 66 general purpose Digital I/O pins!! There are a mess of Shields but here their called Capes, an no your Arduino Shields will not fit.

Gone is the Arduino  bastard kind of C language! Now instead of their smallish library, you can draw on 35+ years of code. No more add-hock programming. It’s not a new paradigm its Linux.  Now I can write and test my code in Eclipse, move it to the bone, recompile / re-target it, or do that on the desktop and run it!

Ok the Bone has a 720Mhz TI Cortex™-A8 CPU, 256Mb DRAM, + Flash. All of this for just under 90 bucks!

Ok like I said before I plugged it into my Linux Mint desktop via the USB port. The board came up within less than 10 seconds. I located it in the finder told it to ‘exit’ thats to change modes on the USB interface,  and then in Chrome and entered 192.168.7.2 in the URL bar and hit enter and I am in the Cloud9 IDE but more about that later.

Enjoy!!

BTW: My first Challenge is to migrate the PS/2 keyboard code from the Arduino Playground. http://www.arduino.cc/playground/Main/PS2Keyboard to the BeagleBoard.

Advertisements

Arduino Trials and Tribulations, Part 3 May 4, 2011

Posted by phoenixcomm in Arduino, DIY Aircraft Cockpit, Flight Simulation, Linux, ps2 keybaord, Software.
Tags: , ,
add a comment

It’s Alive, and how I got there!    I made my share of nubie mistakes. There where three right off the bat: First make sure that your serial monitor is the same speed as your program; Two and a big one, make sure you check under Tools->board->(pick your board), and lastly Tools->Serial Port->COM3.  It seems that my keyboard drvier sends out some ASCII (thats good), and some scan codes (thats bad). It looks like the ps2 keyboard driver is sanitizing my out puts for me, so I’m ahead of the game.

Key Press HEX Key Press HEX
0 30 NL 77
1 31 / E0,2F,E0
2 32 * 7C
3 33 7B
4 34 + 79
5 35 ENT E0,D,E0
6 36 DEL 71
7 37
8 38
9 39

Remember I only need to generate 0 through 9, KEYBOARD, TARGET, CLEAR, and ENTER. I like to to take the easy way so I will use: 0 through 9, *, -, +, and DEL keys, that way I don’t have to mess with the scan codes, in my program.

Now I have to hack a ps2 keyboard, to remove the keyboard controller, ps2 cable, and the thin plastic sheets with the keyboard layout you will need them, and put the shell, etc into the garbage.

Arduino Trials and Tribulations, Part 2 May 1, 2011

Posted by phoenixcomm in Arduino, DIY Aircraft Cockpit, Flight Simulation, Linux, ps2 keybaord, Software.
Tags: , , ,
add a comment

Well lets get the ps2 keyboard interfaced first.  I’m going to use one of unmodified prototype shields they cost me $16.74 including shipping, oh well. first thing is to scrounge a ps2 female connector, luckily I had a damaged ps2 extender cable with the end that I needed.

Arduino Keyboard Cable Color
5+ Vcc Orange
Ground GND Red
DIO3 CLK Yellow
DIO4 DATA Black

The first thing I need to figure out how to hook it up. While looking around I found a interface and some code at Practical Arduino I really cant use much of his software as I only have 14 keys, but want to use a full ps2 for testing, I plan on using a keyboard encoder from a ps2 keyboard that I took apart.  Now I will solder the female end of the cable to the shield.

%d bloggers like this: