Digital reversi board project

Digital-Reversi-Board-Project-W600

Digital reversi board by Hanting Lu and Kai Wang from Cornell University, built as a final project:

For our final project in ECE 4760, we designed and implemented a Reversi board consisting of hardware, a microcontroller, and a touch screen. Sixty-four bicolor (red and green) LEDs were implemented as the black and white pieces of the game. Players could simply light up a LED (place a piece) by touching the touch screen in the position right above the corresponding LED. Other LEDs would be flipped automatically according to the rules of Reversi, which is programmed into the microcontroller.

Via Hacked Gadgets.

WORKSHOP VIDEO #55: Infrared reflow oven Qinsi QS-5100

After you’ve dispensed solder paste it’s time to reflow all that solder. This is where the reflow oven comes in. It seems like reflow hot plates are a more popular choice in most small shops because they’re smaller, cheaper, and it’s easier to monitor the reflow process. A reflow oven is a lot more convenient though, and it follows the recommended heating profile for the solder paste.

IMG_0716-W600

A reflow oven is an automated way of soldering boards. Stencil or dispense solder paste onto a PCB, place the parts, then pop it in the oven. 10 minutes later, if you’re lucky, nicely soldered boards come out. A lot can go wrong though. Solder might not reflow, heating may be uneven, boards may burn, and results may generally be inconsistent.

We shipped back a Qinsi QS-5100 from China, this is the same brand used by Seeed Studio and SmartMaker. List price is about $220 for the 2 tube model in Huaqiangbei market, with a larger version 4 tube version available for about $440.

More info and a review follow below.

Continue reading “WORKSHOP VIDEO #55: Infrared reflow oven Qinsi QS-5100”

PCB a Week 8: NU-FitHole hole size helper

Fithole-W600

Mats continues his challenge of designing one PCB every week.  This tool helps to determine exact hole dimensions for screws and other parts.

This weeks PAW will be extremely simple – it’s not even a breakout board, but it might still come in handy for people making PCBs. The FitHole is a tool for testing what drill size that best fits a part that you’re making a library footprint for.

Another geek love: Valentine’s Day flowers with LEDs

finished_flowers_

Want to make your loved ones feel extra special with your handmade Valentine’s Day flowers? Nowait shows you how to make inexpensive electronic flowers:

Long story short, I get alot of stick for not buying flowers (I think they are a waste of money) so I decided that I was going to make some that would never die…My first step was to find some way to make flowers, I decided on felt because I could buy it cheap from ebay.

Via the forum.

Geek love: Valentine’s Day robot


Clint Stevenson and his son built this animatronic robot head for his Valentine’s Day treat box for school and wrote up the build on the Casco Logix blog. He relates, “The blog post doesn’t talk about or show the body of the robot, just the head. But my son and I are pretty excited for him to take it to school when his 1st grade class shares their Valentine’s Day treats.” The project uses spare household items for the housing, and the electronics consists of an Arduino, servo, resistors, LEDs and button switch. You can find the Arduino code in Clint’s post.

Ok, geeks. If you don’t know what to buy for that special lady, why not build her a robotic Valentine head? What’s not to love?

Via the contact form.

High efficiency battery boost regulator using the MCP1640

High_Efficiency_Battery_Boost_Regulator_20-W600

Giorgos over at PCBheaven made a MCP1640 boost converter for his camping LED light project. It’s designed to squeeze every last bit of energy from the batteries.

What i want now, is something to spice up this hack. So here is what – I used the MCP1640 boost converter to drain the last electron from the batteries. This chip can work with a ridiculous low voltage and provide enough power to drive a couple LEDs. Which means the 2 AA batteries will operate even longer and the LEDs will be much brighter.

Precision voltage adapter for low voltage measurement

VoltageAdapterBoard-W600

Kerry Wong shows how to make an adapter circuit for measuring very low voltages with a multimeter:

I will show you a simple adapter circuit that can be used for precision voltage measurement down to the µV range. Using this circuit along with the current adapter circuit I discussed earlier you will be able to perform most of the low level measurements with a 3 ½ meter.

Raspberry Pi irrigation system rain bypass

Raspberry-Pi-Irrigation-System-Rain-Bypass

This web-enabled rain sensor will automatically turn-off an irrigation system when it rains using a Raspberry Pi:

This Raspberry Pi Irrigation System Rain Bypass uses a web connected Raspberry Pi to look up rain predictions and disable the irrigation system from watering the lawn if it won’t be necessary.  The existing controller has an input for a rain sensor which is how the Raspberry Pi is inhibiting the controller but by having the rain prediction data you could optimize your water usage since if it will rain this afternoon you might want to hold off on watering the lawn in the morning.

Via Hacked Gadgets.

OpenSecurity training videos


OpenSecurityTraining has released a series of over 100 videos covering Introductory Intel x86: Architecture, Assembly, Applications, & Alliteration. The full YouTube playlist of the series can be found here. Trainer Xeno Kovah describes the course’s focus: “Intel processors have been a major force in personal computing for more than 30 years. An understanding of low level computing mechanisms used in Intel chips as taught in this course serves as a foundation upon which to better understand other hardware, as well as many technical specialties such as reverse engineering, compiler design, operating system design, code optimization, and vulnerability exploitation.”
Continue reading “OpenSecurity training videos”

Bus Pirate education kit parts

IMG_0715-W600

A new Bus Pirate educational/experimentation kit is in the works. Here, in no specific order, are the experiments/parts we plan to include. Almost all are from Microchip. This is mostly an accident, they seem to have the cheapest and most commonly available small serial devices in through hole packages.

If you know of alternate devices or we’re missing something painfully obvious, please let us know in the comments below.

Warm up exercises: LED and resistor on AUX pin introduces the Bus Pirate interface.

  • a/A commands to turn LED on and off
  • PWM/frequency generator changes brightness of LED

Simple serial to parallel shift register. This inexpensive output expander chains together to control hundreds of outputs from a simple 3 wire protocol. Illustrates nicely how binary bits in a byte become high/low on the IC pins.

  • 74HC595 with 8 LEDs output $0.10

Temperature measurement using two methods. A cheap analog sensor, and an I2C serial sensor.

Memory, a very basic first time serial device. Teaches addressing, binary numbering, and two common protocols (I2C and SPI) using the same basic command set.

Digital to analog converter. Output a voltage with digital control, read it with the Bus Pirate voltage measurement probe.

Analog to digital converter. Read a voltage (from a 5K potentiometer) and see the result as a digital value. Use the value to calculate the actual voltage.

A digital potentiometer is more versatile than a cheap DAC because it can pass analog signals such as audio and act as a volume control.

  • 5K potentiometer (also used in ADC lesson) used as voltage divider, Bus Pirate voltage probe used to measure output
  • SPI 5K digital potentiometer MCP4132-502E/P    $0.55 or MCP4131-502E/P    $0.55

A real time clock chip is a low power and easy way to keep time. Using a dedicated RTC chip is easier for beginners, though most pros will integrate it into a microcontroller . This is an inexpensive I2C device, and we were a little SPI heavy.

UART and serial is ubiquitous, but there’s very few cheap, through-hole slave devices that use it. Without a serial device we only have 2 (3 with the 74HC595) protocols covered in the kit. Our (current) solution is to program the cheapest possible ATTINY with a little firmware that responds to serial commands.

  • ATTINY2313A-PU?
  • Commands control PWM output to LED, measure with frequency probe
  • Terminal feedback, hidden messages, modes, etc
  • Logic Analyzer on repeating serial (or other) output

Why an ATTINY and not a PIC, MSP430, etc? The Bus Pirate can directly program most AVRs through AVRDude and there is an open/free IDE and compiler. We can include a short programming exercise in programming a chip without a bootloader. This might help someone revive and Arduino later too.

  • Program ATTINY2313A-PU (?) with AVRDude

One-wire is off the list because the devices are expensive, scarce, and it looks like even Maxim is killing off parts that support it. We declared it dead some time ago, and others have expressed similar sentiments. It also takes a ton of work to read/write data, and the demo doesn’t fit nicely in a little booklet.

A PWM chip with serial interface is missing. That would a great concept lesson, and output could be measured with the frequency measurement futures of the AUX probe. This could probably be integrated into the ATTINY (or other UART chip) though.

GIVEAWAY: Vacuum florescent character displays

8448427532_da6b06fe3f_c-W600

This week we’re giving away 2×20 character vacuum florescent displays to three winners (2 each). It interfaces just like a typical HD44780 LCD, but the display uses blue-green VFD characters. VFDs are always very popular, but also very expensive. Pulls are the only affordable source we’ve found.

Leave a comment on this post with a project idea and preferably a rough schematic. Three commenters will receive two VFDs to use in their project this Thursday.

Continue reading “GIVEAWAY: Vacuum florescent character displays”

USB Tester OLED backpack

DSC_0128edit
William Garrido writes, “I released the USB Tester OLED Backpack today and thought it would be good for you guys to post up. It is an add on for the USB Tester for measuring voltage and current. With the OLED you don’t even need a DMM and can view the measurements on the OLED display and log them to your computer with the Java app.” In the above photo, the backpack is measuring voltage and current usage by a Raspberry Pi.

More details can be found in William’s post at Mobilewill. He is also seeking supporters for this project via a two-week fundraiser on Tindie. He says the source code will be available for download upon the project’s final release.

Via the contact form.

Eagle Tip: Gateswap and Pinswap tool

Eagle logo

We route all our PCBs manually instead of using an autorouter. This can be a tedious job sometimes, but we think it gives the best results.

Sometimes we’re just about to finish a PCB, when we notice a MUCH better way to route it if only a few connections could be changed. The Gateswap and Pinswap tools can help. They can quickly change connections between interchangeable pins or peripherals in an IC. These tools add flexibility to a designer dealing with complex and cramped routing.

Continue reading “Eagle Tip: Gateswap and Pinswap tool”

#FreePCB via Twitter to 2 random RTs

ddso-pcb-scan

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.

Another DIY Solder Paste Stencil – Etched soda can

IMG_1569-W600

A few days ago we posted about using soda pop cans as a DIY solder paste stencil. Alistair made a similar stencil about a year ago. He documented the process on his blog, so check it out if you want to try soda pop solder paste stencils yourself.

I described a similar method to this on my blog last year.  My preferred etchant is a mix of Phosphoric and Hydrochloric acids.  I do toner transfer by printing on magazine paper and using a laminator (10 runs through it to really heat up the aluminium).

Via the comments.