Posts Tagged ‘raspberry pi’

NERP: Teensy 3.X – a 32-bit ARM microcontroller board for <20$

The Teensy name has been around for several years in the land of 8-bit MCU boards, but the 32-bit Arm platform introduced in Teensy v3.0, is a game-changer. PJRC (http://pjrc.com/teensy/teensy31.html)sent a few Teensy 3.0′s to Anna (our Electronics area host) at PS:1 with no discussion or fanfare. Thank-you, PJRC.

AT NERP TONIGHT, Ed will show the Teensy 3.0 hardware, Arduino tools, and some sample programs. After that introduction to the Teensy 3.0, Colorado Rob will show how he programs the Teensy 3.1 with a combination of tools and utilities from Eclipse, GNU, Freescale (manufacturers of the Teensy ARM MCU), and freeRTOS. ALSO – We’ll also raffle a new in box original aka white BeagleBone. Thanks to Drew for the donation!

The Teensy 3.X’s cost less than $20 and include all the peripherals you expect in a regular MCU. Some specs on the Teensy 3.1 are:

MCU MK20DX256VLH7 Cortex-M4, 72Mhz (96MHz overclocked), 256k flash, 64k RAM, 2k EEPROM, 34 dio pins, 21 analog input pins, etc.

The Teensy 3.0 is (mostly) pin compatible with the 3.1. The v3.0 uses an MK20DX128VLH5 MCU with 34 dio pins, 14 analog input pins, etc. Other spec values are one-half or less of the ‘DX256VLH7.

The 32-bit ARM chips are internally much more complicated than 8-bit processors, but the user doesn’t have to be aware of this when programming them. The Teensyduino IDE from PJRC provides a familiar user interface and Arduino(TM) libraries that make getting from zero to blinky very easy. There are additional libraries that provide access to some of the ARM-specific resources such as the USB port.

I’ve been exploring the v3.0 samples and am pleased with their sale price and performance. My setup is the basic Arduino install + Teensyduino on Linux. After doing the Arduino install I played with some sample code that does HID mouse and keyboard emulation on USB. Making it work was pretty straightforward.

Colorodo Rob writes:

I have been playing around with the Teensy 3.1 for a few days. It’s an ARM board for $17.
http://store.oshpark.com/products/teensy-3-1

My thoughts on it so far are that the CPU is way overkill for most embedded things that you’d program with the Arduino programming environment and library.* Also, there is a huge increase in complexity to overcome to program if using “real tools”. But the Arduino tools are easy to set up and use. But for my embedded project, the Freescale CPU it uses has the potential to save a bit of money. Even though the CPU costs more than the AVR part I currently use, it includes a USB controller and a voltage regulator, so those component costs go away. I’ve been following a tutorial for setting up a dev tool chain for these CPUs using Eclipse, GCC and Freescale’s tools:

http://mcuoneclipse.com/2013/07/20/dyi-free-toolchain-for-kinetis-part-1-gnu-arm-build-tools/

I’m looking at FreeRTOS (modified GPL) now. I’ve just gotten the ADC working with DMA which is pretty cool. My completion handler gets called when there are 32 samples ready for me, which is what I need for the carrier detect algorithm. The Freescale tools are pretty powerful for what they allow you to do, and an RTOS provides interesting departure from the sequential programming typical of Arduino development.

*Rob and I differ on this point…

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets every other Monday at 7pm at Pumping Station:One, 3519 N. Elston Ave. in Chicago.Doors open at 6:30pm.The next meeting is Feb 3rd, 2014. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com
Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14,
Pumping Station One

03

02 2014

Next NERP Jan. 6th, 2014 with Rev. Todd Freeman

Please remember that NERP will not meet on December 30th.

On Jan. 6th, Rev. Todd Freeman of the OpenSource Temple will be giving a short talk called “How an Embedded PC bonanza can save mankind”.

The good Reverend has used a variety of small embedded PC’s for data acquisition and control and embedded networking applications related to the various ministries of the OpenSource Temple. Some of these systems overlap the functional capabilities of the Raspberry Pi and BeagleBone, but live in market niches that are not usually encountered by the average maker/hacker/diy-er. At NERP we want to know about these kinds of things.

I asked Todd if there exists a website that catalogs for comparison the features of a bunch of these dark horse platforms. He replied that “While there is not a site I am aware of that has a comparison of every display-less mini pc, I think it’s primarily due to the difficulty narrowing down what that means.” He went on to describe a rather long list of devices, categorized by a couple of different schemes. I for one am eager to learn how we can use this “bonanza” to save mankind!

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets every other Monday at 7pm at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. The next meeting is Jan 6, 2014. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com
Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14,
Pumping Station One

28

12 2013

NERP Tonight: Big Blinkies

Tonight at NERP, Yours Truly will show a couple of ways to interface from low level logic to 120VAC to control lights, motors, etc.

It’s well understood that small microprocessors have very little power available on their output pins. A load controlled by the processor can be AC or DC, and low or high voltage. The interface circuit has to amplify the logic level signal to the appropriate power for the load.  An unusual method (Ok, it’s a hack) for controlling 120VAC light dimmers involves adding a photocell to a commercial wall dimmer, and coupling the photocell to the processor via a PWM’ed LED. (This method of interfacing involves working with dangerous voltages and currents. It is presented for demonstration purposes, only. Don’t try this at home. Or do. It’s your choice.) A simpler method of interfacing to 120VAC uses solid state relays for on-off control. We’ll see SSR’s  used for making a big blinky for large lamps.

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets every other Monday at 7pm at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. The next meeting is Nov. 18, 2013 NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com
Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14

18

11 2013

NERP Tonight: Ste on the Launchpad

Tonight at NERP, Ste Kulov will introduce the MSP430 line of microcontrollers from Texas Instruments. His talk will focus on using the MSP-EXP430G2 Launchpad kit.

The MSP product line from Texas Instruments contains an extensive variety of microcontrollers varying in size, peripherals, etc. MSP microcontrollers are know for being 16-bit, very low power, feature-rich, and low-priced. The development boards are called Launchpads. Open source software for developing on Launchpads has been scarce and not condoned by TI. This is changing however as TI has joined the msp-gcc project in collaboration with Redhat. One outcome to date is the energia development tools, which are a fork of the Arduino tools.

http://energia.nu/Guide_MSP430LaunchPad.html (see the pix of Launchpads)

Here’s what Ste says he’s likely to cover. (It’s a lot, so we may run a little over time).

1.) Talk about the MSP-EXP430G2 Launchpad kit and what comes with it.

2.) Very brief overview of Energia, which is software that turns your Launchpad into an Arduino.

3.) Introduce Code Composer Studio, which is the official software used for most Texas Instruments software development.

4.) Basic Boolean algebra review.

5.) Go over simple tasks such as setting, clearing, and toggling bits.

6.) Run a simple “Hello World” LED blink program.

7.) Run through the project I had to create for my job.  It uses Timers, Interrupts, and the Low Power modes.

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets at 7pm Nov. 4, 2013 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com
Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14

04

11 2013

NERP: Implementing MIL-STD-1553 with 3 Beagles

Tonight Trefor Delve will present a distributed simulation development making use of three Beagle Bone Blacks as part of the network. The simulation is used as a proof of concept for a general purpose, configurable simulation platform making using of public domain software.

Mil1553_timingMIL Standard 1553 bus timing [wikipedia]

The presentation will introduce the principles of the MIL Standard 1553 data bus, show a simulation with simulated hardware and demonstrate the same software running on distributed Beagle computers making use of the Beagle’s ADC, PWM and SPI interfaces.

The presentation will also demonstrate the use of the QT widget set to allow remote virtual hardware to interact with the Beagle simulation.

The presentation will demonstrate the setup of the ADC, PWM and SPI interfaces using the system capabilities.

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets at 7pm Oct., 7, 201313 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com
Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14

07

10 2013

NERP tonight — 5400 seconds of Fame!

It’s Open Mic Night at NERP! Bring your comments, suggestions, questions, works in progress, etc. to NERP (not exclusively Raspberry Pi), the small and embedded computer interest group at Pumping Station:One. Tell us what you’re working on, show a demo, or get feedback, or maybe even ideas!

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets at 7pm 9-23-13 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.

Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com

Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14

 

23

09 2013

NERP Tonight: QT and Steppers

NERP Tonight: QT and Steppers

 

Tonight at NERP, we’ll have a show and tell about the PS:1 entry in the Element14 hackerspace challenge.(http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/06/12/beaglebone-black–the-2013-hackerspace-challenge/)We’ll highlight use of the QT framework and gui tools on the Beagle Bone Black to run the stepper motors on the pick and place machine. There are always challenges in getting a new platform up. One challenge has been resolving version problems with the QT3 to QT4 transition on ARM. We’ll find out how that’s going. Also we’ll also have a tour of the system’s Z- and θ- axes mechanism and find out what the test results were on using some very small stepper motors to drive the head. As a bit of improvisational comedy, some of the tests will be done live during NERP! Yow!

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.

 

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets at 7pm 7-15-13 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com

 

Tags: electronics, embedded, NERP, Open Source, raspberry pi, hackerspace, Beagle Bone, Element14

 

 

15

07 2013

NERP: Retro DOS Gaming on the Raspberry Pi, and a Hackerspace Challenge Update

Tonight at NERP,  Jay Hopkins will show us some how to set up an MSDOS emulator and use it to run 8-bit games. Bleep.

Ed will talk about the status of PS:1′s project for the Element14 Hackerspace challenge. While amusing, entertaining, and informative, the update will also be a pitch for anyone who is interested in the technologies to help PS:1 compete for the big prize.

NERP is not exclusively raspberry pi, the small computer interest group at Pumping Station:One in Chicago.
Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org/

NERP meets at 7pm 7-1-13 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics com

01

07 2013

Raspberry Pi Video Camera, BoneScript on the Beagle

Raspberry Pi Video Camera, BoneScript on the Beagle
NERP is not exclusively raspberry pi, the small computer interest group atPumping Station:One in Chicago.

We’ve been wondering what it’s like to work with the new Raspberry Pi camera module. Tonight we’re in luck. Craig LeMoyne has a Raspberry Pi project he’ll show us tonight. In his words:

“I have an RPi Model A in my basement running Apache2 and taking pictures
using the new Camera Module every few seconds of a wet area that I *hopefully* managed to patch. It is good fun, and I can also do timelapse video from the pictures. The Pi will even compile the timelapse for me!”

Drew Fustini will introduce us to programming the Beagle Bone Black in BoneScript.
I’ve been saying for years that Javascript would be the next hot language for microcontrollers – maybe it’s true. From beagleboard.org/Support/BoneScript

“BoneScript is a node.js-based language specifically optimized for the Beagle family and featuring familiar Arduino function calls, exported to the browser. Get started exploring the BoneScript Library to discover the great simplicity that is made possible by utilizing Linux in BoneScript.”

Find NERP and Pumping Station:One
at http://www.meetup.com…
and http://pumpingstation…

NERP meets at 7pm 6-3-13 at Pumping Station:One, 3519 N. Elston Ave. in Chicago.
Doors open at 6:30pm. NERP is free and open to the public.
Ed Bennett ed @ kinetics and electronics . com

03

06 2013

NERP tonight: Beagles and Barbells

NERP is not exclusively raspberry pi, the small computer interest group at
Pumping Station:One in Chicago.

Two Pumping Station:One members, Jarrod Wolf and Gabe Priyev, are co-founders of SpotMe (spotmefit.com), a startup which aims to “Bring Gyms and Health Clubs into the Digital Age”. Spotme’s patented technology

“… makes fitness easy. SpotMe provides workout plans that are tailored to an individual’s goals and that adapt to a user’s biometrics. Our system is seamless; it does not require user input to function. SpotMe service is offered through a subscription that is bundled with gym memberships. When a member shows up at the gym, they are provided with a personalized workout (accessible via app or print out). All a user has to do is put on a wristband and ankleband. It’s that easy.”

Tonight Gabe will describe how the sensing parts work, and the role of small wireless hardware devices that move data between different parts of the system.

Dem Bones

The Beagle Bone embedded computer is in the spotlight again tonight. Drew Fustini will share some of the BB-related insights he gathered a couple of weeks ago at Design West. This will be the first in a series of talks Drew will give on “official” guidance for new users as offered by the Beagle Bone developers and project evangelists. Good stuff.

Find NERP and Pumping Station:One
at http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/
and http://pumpingstationone.org

NERP meets at 7pm 5-6-13 at Pumping Station:One, 3519 N. Elston Ave. in
Chicago. Doors open at 6:30pm. NERP is free and open to the public.

Ed Bennett ed @ kinetics and electronics . com

06

05 2013