Tag Archives: Software

DPA library for MCU

via Dangerous Prototypes


Ondřej Karas writes:

A few months ago, I published post about DPA .NET Class. This article describes simple, but effective library used for DPA handling by MCU (UART interface). Published library is independent on the MCU family, but it was written for 32-bit ARM processors with Cortex-M3 core and GNU C compiler.
Library consists of two files:

*header file: iqrf_dpa.h
*code file: iqrf_dpa.c

More details at DoItWireless.

2015 Release Candidate Branch And RC1

via Dangerous Prototypes


Kicad announce 2015 Release Candidate 4.0.0 RC1:

We are pleased to announce that KiCad has finally made a 2015 release branch. The 2015 stable release of KiCad will start from version 4.0.0. Currently we are in the release candidate phase and as such BZR 6188 is now known as 4.0.0 RC1.
The 4.0 branch can be found here: KiCad 4.0 Branch
The RC1 branch has been packaged as a archive available here: KiCad 4.0.0 RC1 Archive
The new GUI translations can be found in the kicad-i18n repository on github.

More details at KiCad site.

Thanks for the tip spanner888!

Software Spectrum Analyzer for the Rigol 1000 series oscilloscopes

via Dangerous Prototypes

1ghz_500mhz span

rheslip writes:

I came up with this idea after seeing Farhan Ashar’s spectrum analyzer design which uses some of the same bits and pieces I used in the Simple Scalar Network Analyzer. Farhan’s is a classic heterodyne SA design – the addition of mixers and filters in front of the power detector makes the analyzer frequency selective, vs the Simple Scalar Network Analyzer which is not. Both tools are quite useful to the RF hobbyist.
PyDSA takes a different approach – high speed direct digital sampling. This method is used in some inexpensive but quite powerful analyzers from Tektronix, Signal Hound and other companies. The bandwidth of such a device is limited by the sampling speed which according to Nyquist’s criteria must be at least twice the frequency we wish to analyze. To be useful for amateur radio work we would like to have a bandwidth of 100 MHz or more which means sampling at at least 200 MHz. Unfortunately, a 200 MHz sampler is not an easy thing to build at home…

Details at rheslip’s Open Emitter blog.

Keeping the Arduino website in motion

via Arduino Blog


We never rest, even during summer, to serve our community and we announce today that we’ve refreshed over 150 example pages and redesigned the Examples area, offering an updated support to the current Arduino Software (IDE) Built-in and Libraries examples

Our website is a living entity that everyday hosts a huge number of visitors. They are looking for software, information, guidelines, ideas and also the right tutorial to start tinkering with their new board on a specific issue or project.

The Reference is the place where everything is documented and explained, with dry and essential information that is also included locally with every Arduino Software (IDE) installation.

Our software also includes a number of built-in sketches that help our users to quickly understand how the various functions and libraries may be used and applied to specific projects and tasks. We all started with the famous Blink and at the end of this tutorial we all felt the power and the excitement of having tamed our board with the upload of our first sketch. Keeping all these examples in good shape and updated is essential to keep you users safe from troubles or difficulties.

These examples evolve, as the libraries also evolve, therefore the sketches may be updated, amended or added. Each of these examples is commented and has an introductory part that gives a description of the purpose of the sketch and – if necessary – the instructions to put together the circuit. We know that the information provided inside the IDE and the sketches is not enough and therefore we made an area of our website where each sketch is explained and documented.

Year after year, board after board and library after library, many “hands” contributed to this area, filling gaps and amending things to reflect the Arduino Software (IDE) status. It has been an ongoing process that inevitably brought the Tutorials area in a state where many styles and ways of explaining things merged. We have big plans for our www.arduino.cc website and it is important to clean and fix the existing areas before we add new contents. This is why my first task – as editorial manager – has been the refresh and overall alignment of our Examples and Examples from Libraries pages.

We have roughly 150 pages documenting our Examples for the current products and libraries and going through them all wasn’t exactly a piece of cake: many things were checked for each example and sometimes things were outdated or missing. We also have our sister brand Genuino that got its space in all the relevant example pages. Now contents, style, look and feel and links in this area are ready for new and fresh developments.

I would like to end this post adding that this task was also a very good opportunity to refresh my knowledge about the powerful capabilities of Arduino programming language and its libraries. I had a few doubts on how to do a few things in my own sketches and going through all the examples gave me the hints I was missing.

The plain list of examples available in the Arduino Software (IDE) is just made of the sketch names, conversely in our pages you find a brief description of each of them. I suggest that you wander through these descriptions: let them excite your curiosity and inspire you!

MQTT/JQUERY/WebSockets controller

via Dangerous Prototypes


Peter Scargill writes:

I wrote a while ago about using web sockets as against something like NETIO for controlling the home – most folk liked the article but I think part of it was a little complicated – and at the time I’d not really thought it out to make it as simple as possible.
So, this morning I started again and now I have a decent and easy way to make control interfaces from the mobile phone – to ESP boards. I won’t go into MQTT in detail here – I’ll assume you have an MQTT interface of some description on your WIFI boards – if you need more info on that, look elsewhere on the blog.

ChainringGen – making a chainring with open source software

via Dangerous Prototypes

Rich Olson writes:

ChainringGen is an OpenSCAD script I wrote that can generate a bike chainring with any specifications you like.
You can download ChainringGen here.  You can control parameters like bolt-circle-diameter (BCD), number of bolt holes, number of teeth and other stuff.
I primarily created ChainringGen because I thought designing / milling my own 110 BCD 39 tooth chainring would be the most practical and economic way to obtain one.
I also wanted to explore ways I could get from an OpenSCAD design to an object created on my CNC mill.  It’s a bit trickier than just exporting an STL file.
The video above includes instructions on how to use ChainringGen in conjunction with other open-source tools to actually make a chainring out of 7075 aluminum using an inexpensive CNC mill.

More details at Nothinglabs project page.

Via the contact form.