Author Archives: DP

Simple digital clock with PIC16F628A and DS1307 and 7-segment LED display

via Dangerous Prototypes

DigiClock1

A simple digital clock with PIC16F628A + DS1307:

In this new project I am again using PIC16F628A microcontroller. The goal is simple digital clock with 7-segment LED display and the clock will have no additional functionality – no alarm, no seconds digits, no date. The latter can be added in the software though. For the RTC chip I chose DS1307. For the LED display I used Kingbright CC56-21SRWA.

More details on DIYfan blog.

Check out the video after the break.

Phase-locked inverter

via Dangerous Prototypes

circuit1

Here’s a great write-up on building a phase-locked inverter from mitxela.com:

 The input is at 50Hz and the output is at 60Hz. So for every 5 input cycles, we want to generate 6 output cycles. We will be synthesizing a sine wave in software, and there’s no reason not to go with a conventional lookup table of 256 bytes. The PWM will be averaged out by the coils in the motor. It may even be possible to drive it with a square wave, but there is a self-starting mechanism I don’t want to interfere with. A synchronous single-phase motor normally will spin in either direction, and if you want it to spin only one way (as is the case with a clock) extra components are needed. It could be a mechanical pawl that stops it starting in the wrong direction, but the rotor spins very freely in either direction when the clock is powered off. More likely, there is a capacitor and/or additional coils which provide the shove in the right direction.

Project info at mitxela.com.

#FreePCB via Twitter to 2 random RTs

via Dangerous Prototypes

BP

Every Tuesday we give away two coupons for the free PCB drawer via Twitter. This post was announced on Twitter, and in 24 hours we’ll send coupon codes to two random retweeters. Don’t forget there’s free PCBs three times a every week:

  • Hate Twitter and Facebook? Free PCB Sunday is the classic PCB giveaway. Catch it every Sunday, right here on the blog
  • Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
  • Facebook PCB Friday. Free PCBs will be your friend for the weekend

Some stuff:

  • Yes, we’ll mail it anywhere in the world!
  • Check out how we mail PCBs worldwide video.
  • We’ll contact you via Twitter with a coupon code for the PCB drawer.
  • Limit one PCB per address per month please.
  • Like everything else on this site, PCBs are offered without warranty.

We try to stagger free PCB posts so every time zone has a chance to participate, but the best way to see it first is to subscribe to the RSS feed, follow us on Twitter, or like us on Facebook.

PortL2 – Portable electric vehicle charger

via Dangerous Prototypes

portl2_before_installation_elr

Here’s a project log covering the build of a portable level 2 electric vehicle charger by Andrew Rossignol:

This is a battery-powered EV charger that allows destination charging where L2 charging is not ordinarily available. This can be used as a range extender for electric vehicles with smaller batteries. This system has a ~7kWh battery which should charge my Cadillac ELR to more than 60%. This has been a fun project with plenty of lessons learned.

More info at The Resistor Network.

Check out the video after the break.

App note: Why honest weigh scales are application specific

via Dangerous Prototypes

App note from Maxim Integrated discussing strain gauge and accompanying circuit are used in today’s weight measurement applications. Link here (PDF)

Current laws and regulations require honesty, tolerance, and accuracy in weigh scales. The most commonly used weight-measurement element is the strain gauge. This application note explains how strain gauges are useful in multiple applications that must measure stress and pressure and their effects. The electronics of honest weigh scales are varied, and can provide the resolution and accuracy that each application demands.