Mill CPU interview on Hackaday

Interview: New Mill CPU Architecture Explanation for Humans:

Hackaday had an amazing opportunity to sit down with [Ivan Godard] who discussed the Mill CPU development which his company — Out of the Box Computing — has been working on for about a decade. The driving force behind Mill development is that optimizations to existing architectures can only get you so far. At some point you need to come up with a new processor that builds on success and failure of its predecessors.

Ivan’s team has put out several lecture videos linked from their site that dig really deep into the inner workings that give Mill an advantage over currently available chips. We covered one of them recently which prompted [Ivan] to reach out to us. But what if you aren’t working on your advanced degree in semiconductor design? Our interview certainly isn’t for the laymen, but any engineering enthusiast should find this a refreshing and delightful conversation. After the jump you can see the first two installments of the four part interview.

Via Hackaday.

Using LTC1100 as precision voltage adapter

LTC1100

Kerry Wong wrote about building a precision voltage adapter using LTC1100:

LTC1100 is a zero-drift, precision instrumentation amplifier. Unlike LMP8358, it does not offer programmatic gain setting (the 8-pin package), and the gain is preset at 100. But LTC1100 has several advantages over LMP8358. For instance, while the typical gain non-linearity for LT1100 and LMP8358 are quite comparable, the guaranteed maximum gain nonlinearity for LTC1100 is 20ppm compared to 100ppm for LMP8358. LTC1100′s also has superior gain accuracy and wider supply voltage range, making it an ideal candidate for precision voltage measurements. On the other hand, LTC1100′s GBW is significantly less than that of LMP8358, and the CMRR (common mode rejection ratio) is also worse. However, for measuring DC-level voltages, gain linearity and accuracy are far more important.

Realtime color tracking with Arduino and OpenMV


In a previous post we featured OpenMV, an inexpensive open-source tiny machine vision module based on an STM32F4 ARM Cortex-M4 micro and OV9650 sensor. Ibrahim has posted an update on this project, including links to the schematic and source code. The above video shows the module tracking a ball with an Arduino.

Via the contact form.

Free PCB Sunday: Pick your PCB

XT IDE disk controller v1b - Click Image to Close

We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service.

This week two random commenters will get a coupon code for the free PCB drawer tomorrow morning. Pick your own PCB.

You get unlimited free PCBs now – finish one and we’ll send you another!

Don’t forget there’s free PCBs three times every week:

Continue reading “Free PCB Sunday: Pick your PCB”

Portabee GO 3D printer

portabee-go-3d-printer

Daniel and the Portabee team inform us of their new 3D printer, the Portabee GO.

Paving the way in the ‘laptop class’ of 3D printer, the new Portabee is foldable and robust. Improvements in accuracy and usability accompany our radical new form factor. We are extremely pleased to present our next step on the road to personal manufacturing nirvana.

While it does not purport to be open source hardware, the Portabee GO is notable in that it presents a novel approach to 3D printing. It lists at a pre-order price of $395. For more info visit Portabee3printer.

Killing cformsII contact form SPAM with regex

cforms2

It used to be a trickle of two or three a day, but lately we’ve been hammered with hundreds of automated SPAM submissions through the cformsII contact form plugin we use with WordPress. The contact form feeds into a Google Groups mailing list that forwards to the whole team.

99% of the SPAM advertised a dozen designer brand knock-offs: North Face, Gucci handbags, Burberry, etc. This stuff isn’t hard to filter by keyword. First we looked at Google Groups to see if there was a keyword filter to protect group lists from SPAM, naughty language, or whatever. Surprisingly nothing.

Next we checked the cformsII plugin. As versatile and flexible as it is, there’s no easy way to add a banned word list. There’s a couple antispam features, but the honeypot requires CSS changes to the site theme and we’d die before burdening you with a captcha to contact us.

cformII allows us to use a regular expression to evaluate each field of the submission form. Searching the support forum turned up tons of requests for a simple regex to filter SPAM words. Each was met with suggestions to search the forum for some epic post on the topic, but we couldn’t find it anywhere.

^(?i)(\b(red bottoms|timberland|beats by dre|burberry|Louis Vuitton|Gucci|uggs|ray ban|north face|Tiffany|Michael Kors|coach)\b)$

First we worked up a regex to match SPAM words with The Regex Coach. The problem is this matches words and evaluates to true, allowing only forms with these words to be accepted. We needed a way to negate the regex result. The equivalent of ! or NOT in most languages like C, PHP, Perl, Basic, etc.

^(?i)(?:(?!\b(red bottoms|timberland|beats by dre|burberry|Louis Vuitton|Gucci|uggs|ray ban|north face|Tiffany|Michael Kors|coach)\b).)*$

Here’s the final regex we’re using after much painful tinkering. ^ and $ encase the regex. (?i) makes it case insensitive. (?:(?! and .)* negate the results of the list of SPAM words so only messages without these words are allowed. \b( and )\b is a list of bad words that are rejected from the message body and name, \b defines the word boundary.

Hope this helps out anyone else dealing with repetitive SPAM from the same few bots. Obviously its not a perfect solution for everything, but it stopped the flood instantly without modifying site themes or forcing you to use a captcha on the contact form.

EFERGY E2 Classic FSK decoding using RTL-SDR and R-Pi

eferg_4
Nathaniel Elijah has posted the a complete working prototype of an EFERGY E2 CLASSIC Transmission decoder using a Raspberry Pi and RTL-SDR USB Dongle. The EFERGY E2 Classic is an electrical usage monitor which displays information received from associated wireless energy sensors. Nathaniel writes, “It is now possible to capture those 10s to 20s power consumption samples or Efergy E2 Transmission raw data through use of a RTL-SDR USB dongle connected to a Raspberry Pi. The R-Pi runs on a Fedora Linux OS with the C code decoding software installed.”

Visit the RTL-SDR Projects blog for project details and source code links.

Bus Pirate reference card

bus-pirate-card

jrychter shared this Bus Pirate reference card he made in the forum:

The Bus Pirate from Dangerous Prototypes is a really useful tool. I use it regularly to bring up and test new I2C devices, or as a cheap protocol analyzer for I2C and SPI.
Unfortunately, the supplied cables aren’t clearly labeled (only color-coded), and I found the reference cards available on the net lacking: they were usually not clearly readable and didn’t help much. So I created my own.

Thanks for the tip!

See also ecronin’s case sticker, and the new pin reference card category. We’ll keep openly-licensed reference cards in the documents folder of the SVN, feel free to contribute yours.

Another chipKIt Motor shield, chipKIT WF 32, chipKIT DP 32, and chipKit Cmod winners

chipKIT-DP32-obl-600

Today we announce the winners of the chipKIt Motor shield, chipKIT WF 32, chipKIT DP 32, and chipKit Cmod!  There were lots of great ideas, thanks for your submissions.

Congratulations to Andrew Rohne,  his idea for a mobile ham radio logging system scored him a chipKIT WF 32:

Since the WF32 has a built-in USB host, if I won, I’d build a mobile ham radio logging system to it. The WF32 would connect to the radio (via a serial connection) to my radio to get the frequency and mode. The USB host would connect to my phone or tablet (both Android devices) to tell it to listen to me telling it the callsign worked and signal report. The phone would store the recordings, date/time (in UTC, of course), and the frequency and mode from the radio.  It all sounds a bit crazy, but I’m doing this with an Arduino now – doing this with a ChipKit gives me exposure to another platform and everything will be up on Github so others can use it.

Another winner is The_YongGrand, and his idea for a little box for controlling Christmas lights (with the suitable relay)and as an MP3 player  scored him a chipKIT DP 32:

Christmas is coming – use the DP32 as a little box for controlling Christmas lights (with the suitable relay) and as an MP3 player playing good old Christmas songs. Combine it with the Microchip’s neat MDDFS library for handling SD-Cards and an all purpose MP3/MIDI/FLAC decoder board, it’ll be great. Place these in a box under the Christmas tree with a small speaker, and there you go, a nice Christmas tree with the music. Of course, include a small pair of good speakers. :)

Cam Flyer won a chipKIt Motor shield for his idea:

Often we use a camera mounted on the wing of the plane and have some means of recording the exit footage. So far no one has an ideal way to do this. Running wires is out (dangerous and illegal!) and gaffa taping an expensive camera on a wing at 120 knots is actually pretty dumb too. Now we are using small cheap lipstick cameras with a wifi module and with a receiver in the plane but when the receiver is also expensive and prone to getting sat on, kicked, blown out the door it is not the best setup either…The chipKIT WF 32 would be perfect for a portable recording station to gather the exit carnage. We tried the R Pi but the current consumption meant that often the batteries were drained before exit and many a camera geek was a lost. We cannot use the planes power again for safety reasons.

And Marcus06 won a chipKit Cmod for his idea:

I’m studying bioengineering here in France and as a end-of-the-year projet, we would like to monitor environmental conditions such as temperature, Ph, humidity, and moisture, wind and solar exposition in order to evaluate the best growing condition. It would store these datas and even transmit the information through wifi. We would consider it as a 10-in-1 tool !!!

Thank you to Microchip and Digilent for another free swag.

Thank you for participating, there were a bunch of great ideas. As always feel free to share your projects in the forum.

Free PCB coupon via Facebook to 2 random commenters

Dp-qfp-proto-v2

Every Friday we give away some extra PCBs via Facebook. This post was announced on Facebook, and on Monday we’ll send coupon codes to two random commenters. More PCBs via Twitter on Tuesday and the blog every Sunday.

Don’t forget there’s free PCBs three times every week:

Continue reading “Free PCB coupon via Facebook to 2 random commenters”

GIVEAWAY: Another chipKIt Motor shield, chipKIT WF 32, chipKIT DP 32, and chipKit Cmod

chipKIT_WF32-obl-600

Later today we will announce the winners of the chipKIT WF 32, chipKIt Motor shield,  chipKIT DP 32, and chipKit Cmod!  Leave a comment on the original contest post with an idea for a cool project.

The chipKIt Motor shield is available for $29.99chipKIT WF 32 for $69.00chipKIT DP 32 for $23.99, and chipKit Cmod for  $29.00  from Digilent.

gcmc – G-Code Meta Compiler

star

Bertho has been working on a gcmc – G-Code Meta Compiler, a front-end language for generating G-code for CNC mills:

I have been improving the gcmc compiler for a while and I think it is very powerful now. The grammar is done and a very rich set of built-in functions support easy creation of very complex designs. Gcmc’s syntax and built-in functions are now also documented at gcmc’s home page, which links to syntax and function reference.

Via the forum.

The street lights really ARE tracking you


Reuters has reported that overhead street lights are being retrofitted with multi-sensor capabilities. One such platform being used is known as Netsense by Sensity. The Sensity site describes the platform thusly:

NetSense integrates LED lighting, sensors, high-speed networking, cloud computing, and big data analytics into a single, MultiService Platform (MSP). With NetSense you get distributed intelligence: In our advanced distributed computing architecture, each LED light fixture is equipped with sensors and a fully functioning processor able to run software instructions. When networked together in a NetSense network, these fixtures collectively gather and process data about the surrounding environment, enabling analytics that transform the raw data into actionable information.

Reuters reports that this system will form a multi-dimensional net gathering data from sensors for moisture, ambient light, seismic activity, radiation, wind, temperature, air quality, audio, MAC address tracking to detect cellphones, and yes, audio and high-def video.

(Next we expect to learn that they’re really reading our minds with laser beams…)

Via the ACLU.

Sick Of Beige Basic Case v1 (DP9056)

basic case v1P9056

Sick Of Beige basic case v1 (DP9056) is back in stock at Seeed Studio. A clear laser-cut acrylic project case kit that fits DP9056 golden-rectangle PCBs (90mmx56mm). Protect your project from electrical shorts and fingers, but keep it accessible for hacking and showing off.

Get Sick Of Beige basic case v1 (DP9056) for $3.

GIVEAWAY: Another chipKIt Motor shield, chipKIT WF 32, chipKIT DP 32, and chipKit Cmod

chipKIT-DP32-obl-600

We decided to EXTEND the giveaway just a little bit longer!  Tomorrow we announce the winners of the another chipKIT WF 32, chipKIt Motor shield,  chipKIT DP 32, and chipKit Cmod!  Leave a comment on yesterday’s post with a project idea, and one of  these boards could be yours on Friday.

The chipKIT WF32 is based on the popular Arduino™ open-source hardware prototyping platform and adds the performance of the Microchip PIC32 microcontroller.
The WF32 is the first board from Digilent to have a WiFi MRF24 and SD card on the board both with dedicated signals.

The chipKIt Motor shield is available for $29.99chipKIT WF 32 for $69.00chipKIT DP 32 for $23.99, and chipKit Cmod for  $29.00  from Digilent. Continue reading “GIVEAWAY: Another chipKIt Motor shield, chipKIT WF 32, chipKIT DP 32, and chipKit Cmod”

Working with the Bus Pirate Arduino Shield

2013-11-11-21.08.39-1

Andrew Rohne writes:

The Bus Pirate Arduino shield is a discontinued item from Dangerous Prototypes. I picked up the PCB via a free PCB coupon a while back, built it a few months later, and then finally decided to use it because I think I have something to use it with. Note the key word – think. This is what happens when a traffic engineer plays with electronics.

Get your own handy Bus Pirate for $30, including world-wide shipping. Also available from our friendly distributors.

Video: Multiplexed Wired Attack Surfaces

In this presentation from the recent Toorcon 15 in San Diego, CA, Michael Ossmann and Kyle Osborn detail their efforts in hacking cellphones via multiplexed USB signals.

Manufacturers of mobile devices often multiplex several wired interfaces onto a single connector. Some of these interfaces, probably intended for test and development, are still enabled when the devices ship. We’ll show you how you can get a shell on a popular mobile phone via its USB port without using a USB connection and we release an open source tool for exploring multiplexed wired interfaces.

Link to the tools referenced can be found at GreatScottGadgets.

Welcome to the world’s first 3D printed metal gun

3D Printed Metal Gun by Solid Concepts

and our ability to 3D Print the world’s first metal gun solidifies our standing. The gun is a classic 1911, a model that is at once timeless and public domain. It functions beautifully: Our resident gun expert has fired 50 successful rounds and hit a few bull’s eyes at over 30 yards. The gun is composed of 30+ 3D Printed components with 17-4 Stainless Steel and Inconel 625 materials. We completed it with a Selective Laser Sintered (SLS) 3D Printed hand grip, because we’re kind of crazy about 3D Printing.

Via Open Electronics.