How to Use LectureMaker Video Studio for Hardware/Software Demos

March 23rd, 2010

Ron Fredericks writes: Have you tried to post software demo’s on youtube? If so, then this online video produced from LectureMaker‘s high-tech video studio can help you get up to speed very quickly on how to solve the video publishing problems associated with software screencasting. The video demonstrates how to build a simple external hard disk starting from an enclosure for USB and eSTATA connectivity with a PC, MAC, or Linux box. The video concludes with a walk-through on how to format the disk into two partitions.

Enjoy…

Hardware Software Demonstration
Presented by Ron Fredericks, Business Videographer and Open Studio Director

Video Link

Technorati Tags: , , , , , ,

Embedded Hypervisor – the RTOS in the clouds

February 11th, 2010

Ron Fredericks writes: I just read the press release on Wind River‘s Hypervisor and Mark Hermeling‘s blog on the subject of multi-core virtualization.

Wind River gets a second chance on connecting smart devices into the enterprise world.

One of their previous attempts was Wind’s office political initiative into Embedded BSD/OS. I thought the BSD OS play was great for Wind River if only they connected their robust multi-core OS from the smart device into the enterpise. Now I see and hope that Wind River has learned from this prior effort and is off to a second chance.

The classic Hypervisor diagram
The Wind River Hypervisor

So there are a few different kinds of hypervisor: here is a link to a short discription of the server OS, versus their type 1 and 2 hypervisors. Follow Wind River to learn more about their vision for an embedded system hypervisor.

Now of course the cloud is more tied to the embedded system world than ever. Just look at UC Berkeley‘s upcoming annual technology day called BEARS, where CAL’s EE and CS researchers share with the technology industry.

I sure hope Wind River will be attending!

This year’s 2010 Berkeley EECS Annual Research Symposium event is called: From Clouds to Sensors – A Berkeley View

BEARS symposium image: from clouds to sensors
The CAL BEARS 2010 Symposium view from the clouds

Ron has been in the enterprise, embedded systems, and smartphone technical marketing and partner development for the past 15+ years. Contact him to learn more about how relationship marketing can be used to connect the embedded systems hypervisor to the enterprise clouds with effecient use of industry and university partnerships.

Technorati Tags: , , , , , , , ,

Introduction to Google Android

February 5th, 2010

Ron Fredericks writes: Are you new to the google android smartphone platform and developer ecosystem? If so, then this online video produced from LectureMaker‘s high-tech video studio can help you get up to speed very quickly. The video includes several navigation dots along the time line so you can jump to the content you want to watch (once it has downloaded). Expect to get an overview, some sample code demos, and an understanding of the business case behind developing apps for Android from watching this great video presented by Marko Gargenta of Marakana.

Enjoy…

Android Introduction by Marko Gargenta, marakana
Presented by Peter Lam, Mobile SIG Co-chair, Software Developer Forum

Video Link

Technorati Tags: , , , , , ,

Bay Area R User Group 2009 Kickoff Video

April 2nd, 2009

Ron Fredericks writes: In February I attended the Bay Area R User Group meeting held at Predictive Analytics World 2009. Michael E. Driscoll, one of the meeting co-chairs, was gracious enough to let me capture the video as a “light house” project for LectureMaker.com.

Panel:

  • Bo Cowgill, Google
  • Itamar Rosenn, Facebook
  • David Smith, REvolution Computing
  • Jim Porzak, The Generations Network

Moderator:

  • Michael E. Driscoll, Dataspora LLC
The R and Science of Predictive Analytics:
Four Case Studies in R
screenshot-intro
Learn more and watch lecture

Watch this video to learn about:

  1. The open-source analytics programming language called R
  2. How Google and Facebook approach analytics to predict their web user community’s behavior
  3. Where to download R and get enterprise level support
  4. How the meeting co-chairs use R

Technorati Tags: , , , , , , , , , , , , , , ,

The Marketing Bubble

October 9th, 2008

The marketing bubble‘s effect on embedded device software developers

Introduction

Ron Fredericks writes: In yesterday’s marketing webinar: Beyond Monitoring: Managing Social Media Engagement by SocialRep‘s CEO, Chris Kenton, viewers were riveted by his inside knowledge on social media’s word-of-mouth marketing. Chris is well known for his combination of social media marketing knowledge as well as his ability to strip away the facts from the hype.

To set the stage, my own readers have found my marketing FAQ to be a very popular read for the embedded device software industry: Assessing marketing’s critical role in organizational performance. Read on to see if it will blend!

Read the rest of this entry »

Technorati Tags: , , , , , , , ,

Setting up Drupal 6.4 as a multi-user blog site

September 19th, 2008

Ron Fredericks writes: I finally got around to cleaning up my old Drupal 5 site. The solution was to simply start over with Drupal 6.4 – the current stable release. The clean-up was necessary because too many spammers had flooded my old Drupal 5 site. Although there are many core modules bundled with a new Drupal installation, I discovered the hard way that some very important extra modules must be added from the excellent community of Drupal contributors. A good anti-spam module is a case in point.

My WordPress blog on this site is well protected thanks to Akismet. They also have a Drupal project too: drupal.org/project/akismet

You can follow my Drupal site blog – as a work in progress – from here:
www.ronfredericks.net/drupal-6.4

Technorati Tags: , ,

Introducing 74HC193 Simulation to LTspice

April 21st, 2008

Ron Fredericks writes: I have completed the design and test of a new component for LTspice/SwitcherCAD III circuit simulation and schematic capture. In a previous post I discussed my interest in the 74193 presettable synchronous 4-bit binary up/down counter IC for a digital volume control circuit I am building. The circuit simulation described below focuses on how to simulate the 74HC193 IC, but timing and voltage parameters built into this design allow a designer to easily simulate other variants of this IC from high speed Si-gate CMOS HC and HCT devices to low power Schottky TTL devices.

All circuits related to this 74HC193 simulation are available here>

The 74HC193 Component

See figure 1 below for a screen shot of the completed design. The circuit was built from the digital gates in the component library supplied with the original Linear Technology‘s free LTspice tool.

74HC193 Circuit and Related Components
Figure 1 – 74HC193 Circuit and Related Components
View larger image>

To keep the design looking like the original data sheet logic diagram, as published by companies that include NXP Semiconductors and Texas Instruments, a custom “T notS-R FlipFlop” subcomponent and corresponding assembly file was first created. This subcomponent was reused 4 times in the main IC logic diagram. An assembly file called 74hc193.asy was also created. It includes all pins used on the commercial IC except ground and Vcc. The IC’s internal power supply is not simulated by the Linear Technologies’ gates, and so they are not used or required in this design either.

Each gate within the design has a few variables assigned to them so that the IC remains flexible and easy to reuse in new projects:

  • tdgate right td (propagation time delay assigned to each gate)
  • tdgate2 right td (propagation time delay assigned to the D FlipFlop)
  • tripdtgate right tripdt (td’s accuracy band assigned to each gate including the D FlipFlop)
  • vhighgate right logical high value for each gate and D FlipFlop
  • vlowgate right logical low value for each gate and D FlipFlop

These variables can be assigned their corresponding time and voltage values using a .param statement placed in the main circuit. These values are then within scope for automatic reuse by the 74HC193 component and flipflop subcomponent simulations. Below is an example of how parameter assignment can be made (as used in the test circuit described next):

.param tdgate=10n tdgate2=3*tdgate tripdtgate=1n vhighgate=5v vlowgate=0v

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , ,

New Gate Design Using LTspice/SwitcherCAD III

April 15th, 2008

Ron Fredericks writes: recently I discovered that I was going to have to create my own IC component and symbol for my on-going digital volume control circuit simulation. My first step was to check in with the LTspice forum on yahoo groups. On the forum I requested any previous design for the IC I needed. I also asked the group’s readership if they thought it was correct to build a new IC from existing low level digital gates – gates that are already supplied with the LTspice distribution by Linear Technologies.

Well, I did not find a previous inventor for my IC simulation, but I did get confirmation that the gate build-up was a common strategy. And, this same forum engineer supplied me with a copy of an IC simulation of his own – one very similar to my IC requirement – he supplied a symbol and sample test bed to accelerate my learning curve. Here is a link to my support dialog.

I would like to thank Helmut Sennewald for his time and excellent service to the LTspice yahoo forum. It is his effort and many others who make this forum such a valuable community resource. This forum in turn, has made the LTspice/SwitcherCAD III circuit capture and spice tool a viable design tool for many embedded component users and EE designers.

Introducing the T S-R Flip-Flop

To build my new IC, I had to build a new digital logic block. This component is a Toggle Flip-Flop with Set and Reset functions added. In this blog post I introduce my readers to this new component and share the simulation circuit for others to use and learn from.

See the figure below for an initial design of the T S-R Flip-Flop, including a truth table in the form of a waveform diagram, the circuit, a pulse detector sub-circuit and their related assemblies. This circuit is just an initial design because it uses an S-R Flip-Flop and a simple pulse detector sub-circuit for its clock.

T S-R Flip-Flop and releated sub-circuits and assemblies

View larger image>

Final Design for the T S-R Flip-Flop

This section of my post is an update, thanks to a review by Helmut Sennewald. See figure below for my final design of the Toggle S-R Flip-Flop. This design overcomes two problems in my initial design, both resolved by starting with the D Flip-Flop with its built-in clock. The reuse of this more full-featured LT supplied component in my design eliminated the home-brew pulse maker sub-circuit. And in so doing, the slower S-R Flip-Flop. Slower because I had to set the SpiceLine time delay to a minimum of 20 nanoseconds (or td >= 2x the gate time delay) to support the simulation of my simple pulse maker sub-circuit. The D Flip-Flop has an internal clock so I could eliminate the pulse maker sub-circuit. End result: one less sub-circuit and faster Flip-Flop simulation using a time delay set to a minimum of 10 nanoseconds (or td >= 1x the gate time delay).

T S-R Flip-Flop (final design)

View larger image>

Download

To test my knowledge of digital design using the LTspice tool, I created a number of similar flip-flop components which are included in the download:

  1. S-R Flip-Flop test circuit
  2. S-R Flip-Flop with Enable gate and test circuit
  3. S-R Flip-Flop with rising edge clock and test circuit
  4. J-K Flip-Flop with rising edge clock and test circuit
  5. D Flip-Flop with Enable gate and test circuit
  6. T S-R Flip-Flop from S-R Flip-Flop and test circuit (initial design)
  7. Rising Edge Pulse Detector (not high performance design)
  8. T S-R Flip-Flop from D Flip-Flop and test circuit (final design)

Download the components listed above for your LTspice designs all in one zipped directory.

Technorati Tags: , , , , , , ,

Simulating the 555 IC with LTspice

March 26th, 2008

Ron Fredericks writes: I was designing a simple CMOS timer circuit around a 555 chip this evening. It might be the heart beat for a new digital volume control I have been thinking about. Normally I look for my breadboard and parts box but this time I thought I would try out Linear Technologies LTspice/SwitcherCAD III workbench instead.

SwCAD III First Time Use

The tool is free and comes with a lot of support. I downloaded the software and installed it very easily on my Windows XP PC. It includes a graphical schematic design tool with lots of ready made simulated components, including an NE555 for my initial project. Designing the circuit with the built-in CAD tool works very intuitively. While the LTspice simulation took a bit of head scratching before it worked for me.

I was able to configure and run the simulation using the drop down tools menu and the little “running person” icon on the tool bar. But all I could get out of the simulation was a black screen with voltage and timing ticks along the left and bottom edges. So my first problem was in realizing that the visual display would remain black and traceless until I put the mouse cursor over a wire then click. When the little instrument probe showed up as my mouse icon, I realized what was going on here. With the mouse click, waveform tracings would appear in the black panel.

My second problem was that the circuit would not oscillate. Not good for an oscillator design. First, I forgot to connect the 555′s threshold + trigger pins to the R2-C2 node using the wire tool. But still no oscillation, just flat line traces were observed. Now I already know that getting circuits to oscillate follows Murphy’s Laws: Oscillators remain stable, Amplifies and Buffers oscillate, whenever possible. I found a note on the Old School Hacker blog with a fine solution. You must simulate the circuit with a power supply starting from 0 volts rather than just have an instant on Vcc power supply.

In hind sight dah, its the initial transient response from the circuit’s components that kicks the oscillator into oscillating.

After a little practice I improved the schematic diagram with the use of named nodes and seperation of the temporary load resistors R3 and R load from the more permanent circuit components. The load resistors are just place holders for a real load to be added to the circuit schematic next. Look for my next blog post on this subject.

Finally, I used the cursor measurement facility built into the LTspice window (trace window). With this feature, I was able to make “real” measurements on the waveform for frequency and duty cycle.

Circuit

Here is what I was able to generate using the LTspice/SwitcherCAD III tool:

LTspice/SwitcherCAD III circuit diagram and waveforms

View larger image>
Download 555 Astable Flip-Flop Schematic Circuit Diagram>

Referring to the figure above:
   Green Trace -> Output (IC 555 pin 3)
   Blue Trace -> Trigger / Threshold (IC 555 pins 2 & 6)
   Red Trace -> Discharge (IC 555 pin 7)

The Astable Multivibrator

The circuit shown above will trigger itself and free run as a multivibrator. The capacitor C2 charges through resistors R1 and R2 yet discharges through R2 only. Thus, the duty cycle (D) may be precisely set by the ratio of these two resistors. The capacitor charges and discharges between 1/3 Vcc and 2/3 Vcc. But the initial pulse charges C2 starting from 0 Vcc and so this first pulse duty cycle is unique. Since the charge rate and the threshold levels are directly proportional to the supply voltage Vcc, the frequency of oscillation (f) is independent of the supply voltage.

Frequency Calculation Duty Cycle Calculation
   
f = 1.38/{(R_1 + 2R_2)C_2} D = {tau}/T = {R_1 + R_2}/{R_1 + 2R_2}
   
1.7 hertz=1.38*10^3/{(150 + 2*332) ohm farads} 0.59~={150 + 332}/{150 + 2*332}
   
Measured = 1.8 hertz Measured = 0.60
   
Where:
    f is frequency in hertz
    C is capacitance in farads
    R is resistance in ohms
Where:
    D is duty cycle
    tau is non-zero output duration
    T is the period of the output
    R is resistance
   

Reference

Technorati Tags: , , , , , ,

WordPress Math Publisher Plugin Support

March 24th, 2008

Ron Fredericks writes: This is just a short post to point my readers to a new mathematics publishing plugin available from ECI’s Blog Center called WP Math Publisher. This plugin offers a simple alternative to the more standard (albeit more complex) approaches: XML’s MathML and Math into LaTeX.

Post your comments, support questions, and feedback to this post if you like. Post your own support suggestions to help others when you can.

WordPress Math Publisher plugin home page
www.embeddedcomponents.com/blogs/wordpress/wpmathpub/

Usage

An example of how it can be used in your blog posts:

Code (mathtext)
  1. [pmath size=16](a+b)^2=a^2+2ab+b^2[/pmath]
  2.  
  3. where:
  4. [ pmath size=12]~a[/pmath] is defined as a
  5. [ pmath size=12]~b[/pmath] is defined as b
  6.  

Results in:

(a+b)^2=a^2+2ab+b^2

where:
~a is defined as a
~b is defined as b

References:
  Pascal Brachet’s phpmathpublisher
    Home: www.xm1math.net/phpmathpublisher/
    Usage: www.xm1math.net/phpmathpublisher/doc/help.html
  Matteo Bertini’s WordPress plugin called PHP Math Publisher
    www.slug.it/naufraghi/programmazione-web/wpmathpublisher
  Randy Morrow’s WordPress plugin called Axiom
    wordpress.org/extend/plugins/axiom/#post-2794

Technorati Tags: , , , , , , , , , , ,