Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - Squonk

1
Project development, ideas, and suggestions / OpenWRT router WR703N smart home automation compared to Rasp


The TP-Link TL-WR703N is probably the cheapest and smallest Wifi-enabled Linux platform you can get: for $20 on eBay, you get a 57mm x 57mm x 18mm small box featuring an Atheros AR9331 Chipset (integrated Wifi+ AR7240 400Mhz CPU), 4 MB flash memory, 32 MB RAM and a USB 2.0 port  that is able to run OpenWRT.

It is quite easy to connect a serial <=> usb converter to get bootloader/console access and have fun with it.

janisalnis wrote a very thorough Instructables on how the OpenWRT router WR703N smart home automation compared to Raspberry Pi:



Check the up to date files on DropBox.

However, it looks like he is also trying to sell these instructions as an eBook on eBay for $2!?!
2
Project development, ideas, and suggestions / Developing FFT Applications with Low-Power Microcontrollers
I was recently reading an article on signal processing and embedded systems (Linux Magazine France n°149, p32-50, sorry, nice magazine browsing with page flipping, but in French only!). Stated shortly, the article first provides some concepts on Fourier analysis before implementing a fixed point FFT on an STM32 microcontroller and applying it to a continuous Wave (CW) RADAR system.

This article is making reference to Maxim's AN3722 "Developing FFT Applications with Low-Power Microcontrollers" that turned very difficult to find, as Maxim apparently wiped it from its servers!

After some time googling around for it, I eventually found it as a 2005 design article in EETimes, later included in Maxim's EngineeringJournal #57 pp. 9-13. There is a corresponding "3722Firmware.zip" file that is also quite difficult to locate, but is eventually still hidden somewhere at Maxim's here!

Originally written for the MAXQ CPU, it can be ported easily to other CPUs, as it is written in pure C.

This is really  great stuff if you want to do real-time FFT on a microcontroller.

On the same subject, a recent (October 2011) Application Note from NXP (AN11115 with source code) is using similar technique to perform a quite impressive real-time FFT on audio over an USB device link on a small Cortex-M0 LPC11U14 CPU:
[attachment=0]
3
Project development, ideas, and suggestions / 3D (SketchUp): How to create a 360 degree panorama
I found an easy way to create a 360° panorama/swivel (à la 3D Warehouse preview).

Just download the Google (now Trimble) SketchUp Web Exporter (Beta) plugin.

Run the installer and specify your Sketchup install directory (do not put the "/Plugins" at the end of the path, otherwise, you will get nested "Plugins/Plugins" directories).

Make sure everything is OK by looking into the Sketchup "Plugins" directory: you should get both a "swivelButtonPlugin.rb" script and a "swivelButtonPlugin" subdir.

Now launch Sketchup, you should get a small floating tool window with this icon:
[attachment=0]
Dock this tool into a convenient menu bar, open a model and click on the tool button. A dialog will pop up, allowing you to change the image size, the resolution in degrees and the output directory location:

[attachment=1]
This tool will create in the given directory a collection of JPEG pictures and an HTML file containing the JavaScript code to animate the panorama, as well as a ZIP file containing the above files for convenient deployment on a website.

Here is the result (sorry, I can't embed the animation here using the BBCodes):
http://squonk42.github.com/USBug/panora ... index.html
4
Project development, ideas, and suggestions / Alternative to Raspberry Pi?
I already received my Raspberry Pi board (after waiting for 2 months), so I don't need it for myself, but I am thinking of those still standing on the line...

I found this board from Olimex:
OLinuXino-Micro

FEATURES:
  • iMX233 ARM926J processor at 454Mhz
  • 64 MB RAM
  • SD-card connector for booting the Linux image
  • TV PAL/NTSC video output
  • 1 USB High Speed Host
  • three Buttons
  • 2x30 pin GPIO for connection of other hardware
  • PCB dimensions: 3.00'' x 1.70'' (76.2mm x 43.2mm)
  • Nominal dimensions: 3.40'' x 1.70'' (86.4mm x 43.2mm)
Price-wise, it is in the same range as the RPi at 23.95 EUR + VAT + shipping.

However, here are the differences:
  • Fully Open Hardware and Open Source
  • No HDMI, only PAL/NTSC TV out
  • No (closed design) GPU
  • 60 GPIO pins for hacking!!!
  • Switched power supply
  • MicroSD vs. SD
  • No Ethernet
And there is also a "OLinuXino-Mini" variant (not yet available):

And the "OLinuXino-Maxi" at 44.95 EUR + VAT + Shipping:
5
Project development, ideas, and suggestions / USBug LPC1343 Development Board
I forked from 2 previous DP forum threads (Madelon LPC development board and Dangerous 3D Models) I squatted for a while to create a specific thread on my USBug LPC1343 development board.

The USBug is a complete USB-based microcontroller development system in a very small footprint. All programming is done via the USB port. No special programmer is needed, only a standard "Mini-B" USB cable and a Windows/Linux PC or a Macintosh with a USB port are required.

Here are the key features:
  • Fully Open-Source Hardware & Software (CC-BY-SA, GPL)
  • Drag & Drop firmware, just use it as an USB Memory Stick!
  • No Loader application, the bootloader resides in ROM (unereasable)
  • Works with Mac OS X, Linux & Windows
  • Standard ARM SWD debug/trace connector
  • ARM "Cortex M3" 32-bit processor, up to 72 MHz, up to 64 kB Flash, up to 10 kB SRAM
  • Up to 42 GPIO pins, 1xUSB device, 1xUART, 1xI2C, 1xSPI interfaces
  • 2x32-bit, 2x16-bit, 1xWatchdog timers
  • 10 Bit ADC with up to 8 inputs
  • Tiny size: 2" x 0.8" (50 mm x 20 mm), only 0.244" (6.2 mm) thick (w/o header pins)
  • Available with pins for solderless breadboard
  • Very low cost
And here are a 3D model rendering and a real picture:
[attachment=0][attachment=1]
The full project is available on my GitHub project page.

I don't know yet what I will do with it: I don't have any production plan yet!

I have 16 prototype PCBs available and components to populate 3 of them.

If there is a high demand, I can get to Seeed and try to make it an industrial product they would sell, but let's see how it goes first!

In the meantime, I can provide the bare PCB or assemble some of the boards I have here...

Please let me know what you think about it!
6
General discussion / 3D Part Drawer
I realized that my 3D Part drawer at the Sketchup 3D Warehouse was full of odds and ends that may be helpful to DP forum readers.

In order to have a better view of what is available, I just laid all the parts into a scene and rendered it with Kerkythea. Here is the result (click to enlarge):
[attachment=0]
Some parts were created directly into Sketchup, but most of them are coming from my collection of 3D part originally created using Alibre Design XPress, which used to be a free (as in beer) software...

In order to import them into Sketchup, I converted my backup .STL files using the Sketchup STL import plugin and corrected the mistakes.

If you find these parts interesting, please drop a word here.

Feel free to post your own parts too!
8
Project development, ideas, and suggestions / Madelon LPC development board
I found by accident the Madelon development board page in the project wiki.

Unfortunately, there seems to be nothing more than a PCB picture there... If I believe the logs, it looks like Lynn committed it back in October!

With its ARM Cortex M3 72 MHz CPU with built-in USB 2.0 device interface, such a board can be an interesting development platform.

The Madelon board looks a lot like Volt & Bytes's LPC1343 Breakout Board or Embedded Artists's LPC1343 QuickStart Board, though.

Does anybody knows if there is more information somewhere (schematic...)? I would be very interested to know the differences with the above boards.

In the meantime, here are a few suggestions I already mentioned regarding the V&B board:
  • for better ESD protection, add a 10n/500V cap and a 1Mohm resistor between shield and ground, and a USB protection device across VBUS/D+/D- and GND, like the PRTR5V0U2X
  • for better EMI suppression on the USB, add a small ferrite bead on VBUS (BLM15HG601SN1D or equiv)
  • add a BAT54C double diode to force RESET upon ISP, so you don’t have to hold both buttons down , and a 10K/100K voltage divider connected to USB_VBUS pin, so the LPC bootloader will automatically boot in USB mode if USB is connected, and to UART mode otherwise (cf. latest MicroBuilder design)
  • maybe change the LDO or have a dual footprint to accommodate for a smaller device, like the cheaper 150mA MIC5225, which only requires small 2.2µF ceramic capacitors
  • if possible, reorganize the 2×20 edge connectors by function (POWER, ADC, SPI, I2C, UART, GPIO1/2/3), rather than following the natural LPC pin layout
  • ADDED: add a 0.05" pitch ISP connector
9
Open Bench Logic Sniffer / 5V Input/Output buffer suggestion
The Logic Sniffer is really a great board!

Beside its main logic analyzer normal task, I also use it as a cheap FPGA board and tried interface it with an existing 5V circuit. I thought that the 746245 5V buffer would be really appropriate for this purpose...

However, I found it has both DIR inputs (pins 1 & 24) tied to GND, which is what is expected for a logic analyzer, but quite limiting in my case where I want I/Os...

Would it be possible in the next board revision to get access to these pins from the FPGA, so both 8-bit wide ports can be configured as either input or output? Maybe sharing 2 signals from wing header or from unused bank 3 (IO_L07N_3/IO_L07P_3 with pull-downs, pins 22/23)?

I will try to cut the GND traces and add the wires and resistors on mine when I have time.
10
Project development, ideas, and suggestions / Modular design
Hi Ian et al.

This is my first post to this forum...

I just wanted to submit an idea: it looks like that most of the proposed gadgets (besides the Web server and dev boards) feature an USB device interface to connect  to a PC.

In order to achieve this function, I see that 2 different solutions have been used:
  • a PIC18F2550 with built-in USB device
  • an  FT2232H with High-speed USB 2.0 using bit-banging
My idea consists in providing a unique (well, maybe two) USB interface boards, and then to develop additional pluggable boards for them:
  • JTAG debugger with buffered signals using a CPLD
  • SPI/I2C/etc like Bus Pirate
  • Logic Analyzer with CPLD or serial RAM chips
  • Infrared
  • CPLD/FPGA programming interface
As we would seldom use all these devices at the same time, this would save some cost if you buy several of them.

Actually, such a board already exists: this is your FT2232 breakout board... So basically, why not develop "shield-like" boards for it?

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01772402672session_write_close ( )...(null):0
20.01802534264ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01802535040Database_MySQL->query( ).../DatabaseHandler.php:119
40.06212673776Database_MySQL->error( ).../Db-mysql.class.php:273