Saturday, May 17, 2014

A Pickup Winding machine built on an ATmega8

A pickup winding machine it is used to wind a guitar pickup.



The core of this project is an ATmega8.

It features:
  • wind counter
  • slow startup
  • automatic stop
  • configurable motor speed
  • configurable winds
  • 2 directions
If you are looking for a CNC version: you can find it here: http://davidegironi.blogspot.it/2016/06/a-cnc-pickup-winding-machine-built-on.html

This winder has an LCD display that will show
  • the current motor direction
  • the rotating speed of your pickup
  • the total and current wind counter

You can also setup:
  • motor direction - clockwise, or anti-clockwise
  • direction of the wind counter to increase - clockwise, or anti-clockwise
  • motor max speed - from 1(min) to 100 (max)
  • motor startup accelleration - from 1(min) to 100 (max)
  • numbers of wind - from 1(min) to 99999 (max)
  • auto stop mode - manual mode, or stop when all winds are done
There are 3 buttons, SELECT, button UP and DOWN.
To enter the programming mode, just long press SELECT button.
Press SELECT once to change the programming parameter, button UP and DOWN to edit the selected value, then long press SELECT again to save new values.



If you are in building mode, to make the wind start press the RUN pedal, it will start with a slow startup, to stop the winder release the RUN pedal.
Long press butto UP to change direction.
Long press butto DOWN to reset counter.
The winding machine will automatically stops when the wind counter reach the configured number, and it can goes less than zero
If you disable the autostop mode, the machine will always count wind, independently by the direction choosen.


The motor used is cheap DC motor 12V 1200rpm, the motor driver is L298N chip board.

This library was developed on Eclipse, built with avr-gcc on ATmega8 @ 8MHz.



ChangeLog
  • 01b: fix a circut file typo error in the LCD connection of previous version.
  • 01: first version.

Code

Notes
  • read risk disclaimer
  • excuse my bad english

Saturday, May 3, 2014

A .NET WinForm DataGridView with advanced capabilities

This components is a .NET WinForm DataGridView with advanced capabilities, it is an extention of the .NET WinForm DataGridView.


The project is a refactoring of "Advanced DataGridView with Excel-like auto filter" you can find here: https://adgv.codeplex.com.
The author, also post this as a patch in the project page.

This Enhanced DataGridView components features:
  • Ascending or Descending Sort order for any column, by code or run-time
  • Filter any column using a Custom Filter, or selecting values from using an Excel-like Filter List view, using also an advanced feature for DateTime types
  • Saving and Restoring preset for Filter and Sort
  • Enabling or Disabling Filter and/or Sort features for any column,by code or run-time
  • Search ToolBar to find values in columns
A Sample project is attached in code to test this DataGridView.

It is written using Microsoft Visual Studio 2012, using the .NET 4.0 framework.

Copyright (c), 2014 Davide Gironi <davide.gironi@gmail.com>
Original work Copyright (c), 2013 Zuby <zuby@me.com>
This project is licensed under the Microsoft Public License (Ms-PL), see attached LICENSE file for further information.


ChangeLog

  • 1.0.x.11: fixed DateTime filter problem
  • 1.0.x.10: fixed AdvancedDataGridViewSearchToolBar problem with not Visible column search
  • 1.0.x.9: first release


Code

Notes
  • read risk disclaimer
  • excuse my bad english