2 Digit Digital Up Counter Using PIC16F1825

2-Digit-Digital-Up-Counter-Using-PIC16F1825-PIC01

The Two Digit UP Counter project built using PIC16F1825 Microcontroller from Microchip, CAT4016 serial to display driver IC from ON-Semiconductor and two 7 Segment common anode 0.5 Inch display. Project works using two switches S3 and S2, third switch has no use. When switch S3 is pressed it increments the count on display by one and S2 provides the reset function, This little handy project consumes low current and can be work with 4.5 V battery, intensity of the display can be change by replacing value of R1, read Cat4016 data sheet for more information about current setting. Display range 00 to 99. This project can be used in various applications like product counter, score board, object counter, vehicle counter.

Features

  • Supply 4.5 to 5V DC
  • Range 00 to 99
  • On Board Two Switches for UP count and Reset
  • On Board Power LED and Count Up LED

2 Digit Digital Up Counter Using PIC16F1825 – [Link]

How To Connect Multiple Buttons with MCU Using One Line

One of the biggest problems you could face in your current/next project, is when you’re out of free inputs to use.
Sometimes you can save a lot of inputs using some tricks, and there’re really a lot of them.
In this blog post we’re going to know how you can use many push buttons using only one analog input pin. John Boxall from tronixstuff.com demonstrates how we can do that.

Almost all MCUs come with an ADC unit, which is responsible to convert the voltage from an analog value to a digital one (digitizing), for example Arduino UNO, which uses Atmega328 MCU, has an 8-bit ADC.

ADCs convert the voltage to a number (level), so a 8-bit resolution ADC converts Vin to 256 levels.
By using this fact, we can build a voltage divider using a resistor for each button, using one ADC line and recognize each button.

John used Arduino UNO to implement this hack. He used one of the ADC lines, enabled its internal pull-up resistor and connected the buttons and resistors to it, as shown in the following diagram.

example25p21
Images courtesy of tronixstuff

So now every button has a unique ADC value as the following:

  • 1023 for nothing pressed (default state).
  • 454 for button one.
  • 382 for button two.
  • 291 for button three.
  • 168 for button four.
  • 0 for button five.

To see the full details of this hack, and to get the source files, you can refer to tronixstuff website.

DHT11 Temperature and Humidity Sensor with Pinguino

dht_protoboard

DHT11 is a common humidity & temperature sensor. This sensor has a single wire serial interface with special timing diagram for the single wire interface.

dht11_timing_diagram

When the MCU sends a start signal, DHT11 sends a response signal followed by the humidity reading and then the temperature reading.

dht11_pinout

To know more details about the operation of DHT11, a project on hackster.io made by Jan Zumwalt, demonstrates how you can connect DHT11 with Olimex Pic32 Pinguino Micro.
Jan said that he tested the code with a DHT11, and should work with DHT22. DHT22 have a larger ranges for humidity and temperature readings.

[Project Page]

How to Design a Digital Logic Circuit Using PSOC

A project on hackster.io, made by Juan Esteban Paz demonstrates how you can design a digital logic circuit using PSoC from Cypress. All you need is a CY8CKIT-042 PSoC® 4 Pioneer Kit, buttons and LEDs.

PSoC 4 Architecture (PSoC 4200L)
PSoC 4 Architecture (PSoC 4200L)

PSoC 4200 family from Cypress is an ARM-based Cortex-M0 MCU, combined with  programmable logic blocks beside the typical set of  peripherals, such as  ADCs, DACs, UARTs, SPIs, and general I/O. These programmable logic blocks are what really make PSoC different from other ordinary MCUs.

Juan designed a digital logic circuit to make each push button works as a toggle button. PSoC creator IDE was used in this project.
The final diagram includes push buttons, each is connected to a flip flop, a lookup table, a PWM unit and finally Muxs  to choose the state of the led: on, off, breath or pulse LED.

PSoC_cir

 

[Project Page]

Wi-fi browser controlled servomotors

This instructable shows how to control some servomotors remotely in a wi-fi network, using an ordinary internet browser. This might be used in several applications: toys, robots, drones, camera pan/tilt, etc. The motors were attached to an Arduino Uno, which connects the wi-fi network through a ESP-8266 module. The control interface was designed with HTML and jQuery. by IgorF2 @ instructables.com

Wi-fi browser controlled servomotors – [Link]

Colour grabbing Scribble Pen

The Scribble Pen represents a real breakthrough, simply point the pen’s scanner at a colour, and draw in that colour with the Scribble Pen or Scribble Stylus.

“We’re passionate about making people’s lives more colourful, artistic, energetic and happy and that’s exactly what our breakthrough products offer,” commented a spokesperson from Scribble. “Scribble allows an artist to borrow the colours around them and use the world as their art palette.”

Colour grabbing Scribble Pen – [Link]

Mid-power UV LED operates at 365 nm

Vishay VLMU161

A ceramic-based UV LED, the VLMU1610-365-135 from Vishay provides typical radiant power of 18 mW at 20 mA and 50 mW at 60 mA over a wavelength range of 362.5 nm to 370 nm. The silicone lens of the device enables extremely long lifetimes of up to 25,000 hour, compared to typical mercury lamp lifetimes of 10,000 hours. by Susan Nordyk @ edn.com

Housed in a compact 1.6×1.6×1.4-mm surface-mount package, the environmentally friendly VLMU1610-365-135 is free of heavy metals and provides increased reliability with its shock resistance and immunity to degradation from frequent on/off switching. Aimed at medical, industrial, and printing applications, the LED allows the use of simple low-voltage circuitry and requires no warmup period. The VLMU1610-365-135 has a forward current of up to 60 mA and achieves an angle of half intensity ±67.5° at 20 mA.

Mid-power UV LED operates at 365 nm – [Link]

Review: Siglent SDS 2304X oscilloscope

Siglent_SDS_2304A_vs_Keysight_MSOX_3054A

Jack Ganssle @ embedded.com reviews the Siglent SDS 2304X oscilloscope.

I’ve had a Siglent SDS1102CML two channel 100 MHz bench scope here for the last two years. I demand a lot from my test equipment so had low expectations when it arrived. After all, how good can a $359 unit be? Turns out, quite a good for the price. I reviewed it here. But the screen is smaller than most modern pro scopes with lower resolution than many would like. And 100 MHz just doesn’t cut it for a lot of applications. I figured Siglent was positioning itself at the low end of the market.

Review: Siglent SDS 2304X oscilloscope – [Link]

The smallest camera module for mobile devices

20160517110622_Nidec-Copal-Camera-Module

Nidec Copal, the world’s biggest manufacturer of camera shutters, has developed the smallest, thinnest and lightest camera module for mobile devices. It measures just 8.5 x 8.5 x 4.2 mm and weighs 0.57 g. The new camera module is about half the size of Nidec Copal’s previous module. by Harry Baggen @ elektormagazine.com

The new camera module has a 16 megapixel, 1/3.1″ CMOS image sensor with a pixel size of 1.0 µm. The focal length of the lens is 3.6 mm, and the maximum aperture is f/1.9 for high light sensitivity. The module has autofocus capability with a focus range of 10 cm to infinity. Series production of the new module is planned to start in the fall of 2016.

The smallest camera module for mobile devices – [Link]

Your laundry is done!

IMG_20160728_130025x

Tinkerman @ tinkerman.cat tipped us with his latest project. It’s a laundry notification system that will message you when it’s finished.

I often forget my wet clothing in the washer and after a day they really smell… so I thought about monitoring my washer and get a notification in my phone when the laundry is done. An ESP8266 based Sonoff by ITead, current monitoring circuitry, a DHT22 (the washer is in the cellar) and a custom case. MQTT for messaging, Node-RED to manage messages and monitor activity and Pushover service to get a “Your laundry is done” message on my phone 🙂

Your laundry is done! – [Link]