Utilizar AJAX en .net con framework 3.0


Instalar ASPAJAXExtSetup.msi

Esto deja una dll en la siguiente ruta:
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\System.Web.Extensions.dll

Esa dll es la que permite hacer el "using System.Web.Extensions", y es donde esta "System.Web.Script.Services.ScriptService" (lo que permite llamar al webservice desde un javascript con ajax, por ej)

Proyectos

LCD displays
Codigo: HD44780

http://arduino.cc/en/Tutorial/LiquidCrystalAutoscroll
http://www.arduinoprojects.com/node/13

Scrollsaw 

homemade scroll saw
http://www.youtube.com/watch?v=WB5klu4W-SU

Scroll saw projects:
http://www.scrollsawworkshop.blogspot.com/


LEDs
Calculadora de resistencias para leds:
ledcalc.com

Como averiguar el voltaje que requiere un led:
-Conectar un transf. con salida continua o una bateria de 9v, con una resistencia de 1k (1000 ohms) y al led.
-Con el tester, medir el voltaje entre las dos patas del led. Esto da la tensión del mismo.

El voltaje en los leds es independiente de la tension de la fuente y de la corriente que circula por él. Hay que tener cuidado de no darle mas corriente de la que soporta (usualmente unos 20mA)

Accelerometers

http://www.arduino.cc/en/Tutorial/ADXL3xx
http://roy.vanegas.org/itp/thesis/code/adxl3xx_accelerometer.html


Arduino

DIODOS, TRANSISTORES, OPTOCOUPLER EXPLICADOS!!
http://www.varesano.net/blog/fabio/diodes-transistors-and-optocouplers-what-they-are-some-theory-and-simple-usages-examples-

Knock Sensor con piezoelectrics:
http://www.arduino.cc/en/Tutorial/KnockSensor

http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/piezo.html

Fade led:
http://www.varesano.net/blog/fabio/pwm-and-arduino-fading-led-and-playing-melodies-piezo-speaker

Con transistores!!!
http://www.arduino-tutorial.com/category/advanced/

HelloWorld:
http://www.arduino.cc/en/Tutorial/BlinkingLED

Fade led:
http://arduino.cc/en/Tutorial/Fade

Stepper motor con Arduino:
http://arduino.cc/es_old/Tutoriales/PaPUnipolar

Soldadura por arco (arc welding)


CNC

CNC means Computer Numerical Control. This means a computer converts the design produced by Computer Aided Design software (CAD), into numbers. The numbers can be considered to be the coordinates of a graph and they control the movement of the cutter. In this way the computer controls the cutting and shaping of the material.

Coupling (conectar el motor con el tornillo)
http://nghiaho.com/?page_id=66


Ejemplo de CNC

LEAD SCREW STEPPER MOTOR (tornillo)


Stepper motors

http://www.doc.ic.ac.uk/~ih/doc/stepper/control2/connect.html

Encontrar common:

6 Wire Motors: With the ohmmeter, separate the wires into two groups of three (there'll be continuity among the three in a group, but no continuity between the groups) {ed: or use the method above to find the groups without a meter}
As you are testing, make sure that none of the motor wires are shorted together, other than the ones specified in the test.
Arbitrarily label the wires in one set a, b, and c.
Twist together a and c and hold them to one side of the battery while holding b to the other side. Does the motor turn easily?
  • If yes, then b is the center and a and c are the ends.
  • If not, then try again:
Twist together leads b and c and connect them to one side of the battery and lead a to the other. Motor turn easily?
  • If yes, then a is the center and b and c are the ends.
  • If not, then try again:
Twist together leads a and b and connect them to one side of the battery and c to the other. Motor turn easily?
  • If yes, then c is the center and a and b are the ends.
  • If no, then there’s an unknown problem because those are the only combinations.
Repeat the labelling and test sequence for the other set of wires. (see Stepper Motor Connection Options for all the different ways you can hook your motor up)

Phases:

With a battery, connect the common to one side, Then touch each wire to the other side of the battery until you find one that spins clockwise. Call this A. Pick another wire. If it goes clockwise too, call it B, and so on. If it doesn't, re-apply A, then pick another wire. Eventually you get A,B,C & D, and it should spin clockwise when voltage is applied in sequence. Reverse the sequence, and the motor should go backwards. {Ed:thanks to Tony Smith}

Bill Krause's 6 wire method
http://www.piclist.com/techref/io/stepper/wiresmeterbattery.htm
http://www.piclist.com/techref/io/stepper/wiresbattery.htm




CNC Prototype I

Motor 1 (horizontal):

common: blanco+rojo
secuencia: amarillo - marrón - naranja - negro



Parallel port

Ver esta url: http://malzev.tripod.com/radiodoc/printer.htm

Parallel port female pin-out:



D0 is the LSB (Least Significant Bit) and D7 is the Most Significant Bit (MSB). You can send an integer type data to the D0..D7 pin-outs. And the output will be the binary form of the integer we send. For example : If we send an integer data 15 the output will be:

D7D6D5D4D3D2D1D0
LOWLOWLOWLOWHIGHHIGHHIGHHIGH
15 (byte) = 00001111 (binary)


source: http://123codegenerator.blogspot.com/2010/07/accessing-your-pcs-parallel-port-using.html


Colores de cables DB25
================
pin 1 - marron
pin 2 - rojo
pin 3 - naranja
pin 4 - blanco oscuro
pin 5 - amarillo
pin 6 - verde
pin 7 - verde claro
pin 8 - azul
pin 9 - violeta
pin 10 - gris
pin 11 - blanco
pin 12 - negro
pin 13 - celeste
pin 14 - rojo y negro
pin 15 - blanco oscuro y negro
pin 16 - amarillo y negro
pin 18 a 25 - ground

Registro de Control (C)

Puerto: 0x379H   (889 en decimal)


inv    inv         inv
C3  C2    C1         C0
17     16      14            1

1   0     0            1     --------- (9 en decimal) queda en 0010, por lo cual pone en HIGH al pin 14
1   0     1            1     --------- (11 en decimal) queda en 0000, por lo cual pone en LOW al pin 14

(Los pines 17, 14 y 1 están invertidos (si reciben un 1 = LOW, 0 = HIGH))


Descripcion de cada pin:



Pin #NameInput/OutputBitInverted




1




nStrobe




Out




Control-0




Yes




2




Data0




In/Out




Data-0




No




3




Data1




In/Out




Data-1




No




4




Data2




In/Out




Data-2




No




5




Data3




In/Out




Data-3




No




6




Data4




In/Out




Data-4




No




7




Data5




In/Out




Data-5




No




8




Data6




In/Out




Data-6




No




9




Data7




In/Out




Data-7




No




10




nAck




In




Status-6




No




11




Busy




In




Status-7




Yes




12




Paper-Out




In




Status-5




No




13




Select




In




Status-4




No




14




Linefeed




Out




Control-1




Yes




15




nError




In




Status-3




No




16




nInitialize




Out




Control-2




No




17




nSelect-Printer




Out




Control-3




Yes




18




Ground




Out




(Control-4)




No




19




Enable Bi-Directional Port




Out




(Control-5)




No




20-25




Ground




-




-





fuentes: http://www.roborealm.com/help/Parallel_Port.php
            http://www.simprojects.nl/parallel_port_dac.htm


Sin utilizar UNL2003
Con transistores:
http://neil.fraser.name/hardware/stepper/cpu.html


circuitos "rapidos":
http://talkingelectronics.com/projects/200TrCcts/200TrCcts.html

Steppers de 4 cables
http://ryanschenk.com/2010/03/driving-a-040-stepper-with-arduino/

SGS Thompson L293D
http://www.solarbotics.com/products/l293d

----------------------------------------------------------------------------------------

Mis steppers: MINEBEA 17PM-K018-P11ST 1.8 DEG 6 -WIRE STEPPER MOTOR


17 -Motor Size  NEMA17
P -Type of Motor (42mm)
M -Step Angle (1.8 deg)
K -Type of Laminated Stator (
2 Phase Hybrid (Low Noise, Low Vibration)
O -Motor Length at Right (34mm)
18 -Electrical Variation
P -Gears & Pulleys
11 -Mechanical Variation
ST
 -Type of Flanges

PIN1= ORG = B-
PIN2= WTH = B COMMON
PIN3= BLU  = B
PIN4= RED = A
PIN5= BLK  = A COMMON
PIN6= YEL  = A-


Cableado:

negro+blanco = common (+5v)
1 - azul
2 - rojo
3 - naranja
4 - amarillo

http://www.eleccircuit.com/wp-content/uploads/2008/05/uln2003-control-stepper-motor-by-parallel-port.jpg



Es bipolar o unipolar el nema 17???
==========================
unipolar connect 6 wires or bipolar connect 4 wires and not the common.

Dear cmrv,
Hi, you can go up to 24 volts, I run them at 12 volts .8 to 1 amp. I always start at the lowest settings and work my way up to find the best run. You should be able to go up to 1.2 amps.
Thanks Tony

- tony202511Click "respond" to reply through Messages, or go to your email to reply



From: cmrv
To: tony202511
Subject: Details about item: cmrv sent a message about 5 Stepper motors- CNC ROUTER MILL ROBOT REPRAP MAKERBOT 3 #221195387833
Sent Date: Mar-04-13 03:13:01 PST

Dear tony202511,
how much voltage this motors needs to work?
Thanks.


----------------------------------------------------------------------------------------

NEMA ( National Electrical Manufacturing Association )

This is a standard of measurments that relates to many items.
You may see in reference to a servos or steppers "NEMA 23" or "NEMA 34" etc.

This is the size of the fixing plate for these motors.

Divide the NEMA number by 10 to get the approx size of flange. (23/10 = 2.3 square)

(Inches)
NEMA Flange-Size / Bolt-Spacing / Hole-Dia.
23 / 2.22 / 1.87 / 0.18 
34 / 3.41 / 2.76 / 0.21
42 / 4.22 / 3.53 / 0.27

More reference here....

http://sanyo-denki-online.com/g/23inoutw.gif
http://sanyo-denki-online.com/g/34inoutw.gif
http://sanyo-denki-online.com/g/42inoutw.gif




Servo Motor with Arduino:


Stepper Motor with Arduino:
http://www.cassianorabelo.com/_posted_images/2009-06-10-stepper-motor/circuito1.png

Guia de steppers (muy buena!)
Motor:

Driver:

Stepper con EasyDriver y Arduino:


Links eBay Steppers NEMA:


TIP: "Do NOT connect or disconnect a motor while the driver is energized. This will cause permanent damage."

Transistor chip:
uln2003



Habilitar trace log en MySql

Para habilitar el log modificar el archivo my.ini y en la parte de [mysqld] agregar las líneas:

[ubicacion del archivo: C:\ProgramData\MySQL\MySQL Server 5.6]

Version 5.6 de MySql

log-output=FILE
general-log=1
general_log_file="c:/temp/PC_CRUSSO.log"


Otras versiones

#Set General Log
log = "C:/genquery.log"

** Si se está utilizando Instant Mantis, hay que agregar esta linea en el imstart.cmd **

SET MYSQLLOC=C:\mantis\server\mysql-4.1.16-win32


Listar todos los archivos con checkout de un usuario

Abrir una consola de visual studio, y luego:


tf status /recursive /user:NOMBRE_DE_USUARIO /server:http://NOMBRE_SERVIDOR:8080