Raspberry Pi Zero: the $5 computer

rsz_img_4054

Raspberry Pi has announced a really cheap micro computer priced at only 5$. You can even get it for free with the December issue of MagPi magazine. Raspberry Pi  Zero runs Raspbian and main features are:

  • A Broadcom BCM2835 application processor
  • 1GHz ARM11 core (40% faster than Raspberry Pi 1)
  • 512MB of LPDDR2 SDRAM
  • A micro-SD card slot
  • A mini-HDMI socket for 1080p60 video output
  • Micro-USB sockets for data and power
  • An unpopulated 40-pin GPIO header
  • Identical pinout to Model A+/B+/2B
  • An unpopulated composite video header
  • Our smallest ever form factor, at 65mm x 30mm x 5mm

Raspberry Pi Zero: the $5 computer – [Link]

100MHZ Frequency Counter with PIC16F628A

FreqCounter16F628ALCD1-1024x906

This project shows how to build a very simple yet very useful tool that every DIY enthusiast should have in his lab: a 100MHz+ frequency counter.

The schematic is fairly simple and straightforward and uses a PIC16F628A microcontroller for measuring frequency and a high speed comparator for signal amplification and conditioning.

The microcontroller uses its internal 4MHz oscillator for the CPU clock. Timer1 uses an external crystal resonator (watch crystal) with 32768Hz frequency for setting the 1 second time base.

Timer0 is used to count the input signal at pin RA4.

100MHZ Frequency Counter with PIC16F628A – [Link]

100MHz frequency counter with PIC16F628A – LCD Display

FreqCounter(16F628A,LCD,1)

This project shows how to build a very simple yet very useful tool that every DIY enthusiast should have in his lab: a 100MHz+ frequency counter.

The schematic is fairly simple and straightforward and uses a PIC16F628A microcontroller for measuring frequency and a high speed comparator for signal amplification and conditioning.

The microcontroller uses its internal 4MHz oscillator for the CPU clock. Timer1 uses an external crystal resonator (watch crystal) with 32768Hz frequency for setting the 1 second time base.

Timer0 is used to count the input signal at pin RA4.

The max frequency of Timer0 is 1/4 of the CPU clock which is 1MHz, but there is internal prescaler and it can be set from 1 to 256. In theory this can allow the input signal to be up to 256MHz. On the other hand, in the datasheet of 16F628A there is a requirement for the input pulse at RA4 to be with minimum width of 10ns which is 100MHz frequency. So the maximum frequency can be between 100Mhz and 256MHz. I checked with two different PIC16F628A and they easily go over 200Mhz barrier.

In order to achieve the maximum possible resolution, the input signal is probed for 0.125 seconds and the prescaler value is computed accordingly. This way when input frequency is below 1Mhz the resolution will be 1Hz.

The most important part for the accuracy of the frequency counter is the time base setting circuit – crystal resonator X1 and capacitors C4 and C5. C4 and C5 values can be between 33pF and 62pF and the crystal frequency can be fine tuned with them.

The input of the schematic is feed through a high speed comparator. In order to switch with 100+ Mhz frequency the comparator must have propagation delay bellow 5ns. In this schematic I used Texas Instruments TLV3501 with 4.5ns delay. This was cheapest high speed comparator I was able to find (2.5 euro).

The two inputs of the comparator are set at about 1/2 of power supply voltage with 15-25mV difference between them so any AC signal with higher voltage will start switching the comparator.

If there isn’t input signal the output of the comparator stays low. If we connect a signal source to the positive input, when the signal goes over +20mV the comparator switches high (5V), when signal goes bellow +20mV comparator switches back to 0V. So whatever signal we fed to the input, the output is square wave 0V-5V with the same frequency as the original signal.

The output of the comparator is fed directly to the RA4 pin of the microcontroller.

The input is protected with 1k resistor and two diodes limiting the voltage to ±0.7 V. The input impedance for low frequencies is equal to R1 – 47k. For VHF range maybe it is good idea to replace it with 50 Ohm value.

The schematic can be powered by 9V battery or any other DC voltage from 7V to 15-20V. LM78L05 or LM2931-5.0 IC is used for regulating the voltage down to 5V. There is simple soft ON/OFF circuitry with a dual P- and N-MOS transistor. When button is pressed the P-MOS transistor is switched on and the microcontroller is powered and its first instruction is to set RB4 high which switch the N-MOS transistor on and the power stays on. If the button is pressed again RB5 goes low and the microcontroller sets the RB4 low and this way switch the power off. The microcontroller also auto switch the power off after a certain amount of time (3min 40sec).

The schematic have fairly low power consumption – with no input signal the supply current is 7-8mA and goes up to 20mA with 200+MHz input signal. If the display is too dark, the back light can be adjusted by decreasing the value of the R9 resistor. This of course will increase the current consumption.

The program for the microcontroller is written in C and is compiled with MikroC for PIC

Schematic

FreqCounter(16F628A,LCD,schematic)

Photos

FreqCounter(16F628A,LCD,2)
FreqCounter(16F628A,LCD,3)

FreqCounter(16F628A,LCD,4)

FreqCounter(16F628A,LCD,5)

FreqCounter(16F628A,LCD,6)

FreqCounter(16F628A,LCD,7)

FreqCounter(16F628A,LCD,8)

References:

PDF datasheets:

PartsBox.io – Electronic parts inventory management software for makers

single-part
We stumbled upon PartsBox.io which offers a free service for parts inventory management for both hobbyists and professionals.

It’s an application that allows you to keep track of your electronic components. Ever wondered where that chip was? Ever ordered components only to discover later that you already have them? PartsBox allows you to easily manage parts inventory.

PartsBox.io – Electronic parts inventory management software for makers – [Link]

Wafer pooling: low-cost prototyping service for ICs

20151112145948_wafer-pooling2 (1)

AMS is providing a fast and cost effective IC prototyping service. by Clemens Valens @ elektormagazine.com:

The Full Service Foundry division of ams AG announced its fast and cost-efficient IC prototyping service, known as Multi-Project Wafer (MPW) or shuttle run. The prototyping service combines several designs from different customers onto a single wafer to offer significant cost advantages as the costs for wafers and masks are shared among a number of different participants.

Wafer pooling: low-cost prototyping service for ICs – [Link]

RedBear Duo: A small and powerful Wi-Fi + BLE IoT board

RedBear_Duo

A thumb-sized, Particle-powered, Cloud-connected IoT board with Wi-Fi + BLE that supports Arduino, JavaScript and soon Python too!

The Duo is a thumb-size development board designed to simplify the process of building Internet of Things (IoT) products. The Duo provides everything you need—Wi-Fi, BLE and a powerful Cloud backend, all in a compact form factor that makes it ideal for your first prototype, a finished product, and everything in between.

We’re also introducing the RBLink, an expansion board for the Duo that allows you to attach additional sensors and modules without any soldering. You’ll have all the tools you need to get your prototype up and running in no time.

RedBear Duo: A small and powerful Wi-Fi + BLE IoT board – [Link]

One step closer to the ‘ultimate battery’

lithium-air-battery-demonstrator

Erica Torres @ edn.com discuss about lithium-air batteries that looks promising for future use.

Although scientists are still working toward replacing lithium-ion (Li-ion) batteries with lithium-air (Li-air), or lithium-oxygen, batteries, researchers at the University of Cambridge have developed a lab-based demonstrator of such a battery. It is safe to say we still have another decade before we can begin to utilize such powerful batteries as scientists work to make sure it is stable enough for widespread use.

One step closer to the ‘ultimate battery’ – [Link]

Making PCB Vias using conductive ink

20151119_124858

Here’s an alternative method for making PCB vias using conductive ink from Diyouware:

We developed an alternative method for making PCB vias through-hole using our robot.
As you probably know the traditional DIY method consists in threading a wire through the holes and then soldering it and then cutting it off. For example, if we have 100 vias in our PCB, we have to insert the thin wire on each hole, cut it and solder it 200 times. This is time-consuming, but also tedious, absurd, prone to failures and produces a melancholic state of mind.:-)
So we decide to innovate in this area developing a new method which consists in drilling blind vias instead of holes and filling them with conductive ink.

Making PCB Vias using conductive ink – [Link]

ATmega Alarm Clock & Thermometer Humidity meter

FIIBDT7IHAYI0TK.LARGE

nitram147 @ instructables.com has build a ATmega based alarm clock with temperature and humidity reading. Sensor used is DHT11.

First, let me introduce you my project. I made an Alarm clock with extended functionality & thermometer and humiditymeter. Everything started when my friend (who used to bring me some old electronic rubbish and I used to check if there’s not something useful) brought me some cashing register display similar like that. When I first see them I knew that I will made from it alarm clock.

ATmega Alarm Clock & Thermometer Humidity meter – [Link]

TOP PCB Companies