martes, 28 de julio de 2015

Bobina de Tesla Prender Bombillos ahorradores y leds

Bobina de Tesla Prender Bombillos ahorradores y leds

Bobina de Tesla miniatura que utiliza un circuito que no requiere de fuente de alto voltaje, y es muy fácil de hacer. Esta bobina es capaz de excitar lámparas fluorescentes y de neón. El circuito que se usa es el slayer exciter de Gbluer, el cual requiere de un mínimo de partes y es muy fácil de armar.
Algunas recomendaciones si no funciona: Las tres vueltas del primario deben ir "flojas", si se aprietan al secundario no funcionará, también deben ponerse como a 1/3 de la altura, no en la base del secundario. Puede ser que la polaridad esté invertida, prueba conectar al revés los cables de la bobina primaria. También prueba poner dos leds en serie en lugar de uno. Finalmente, asegurate de quitar el esmalte del alambre magneto de la bobina secundaria en donde hace conexión con la pata del transistor.

https://www.youtube.com/watch?v=T15cJdTvnfw

martes, 21 de julio de 2015

Plotter CDROM with Raspberry Pi

http://www.homofaciens.de/technics-machines-plotter-cdrom_en_navion.htm

http://makezine.com/2015/07/20/build-drawbot-two-cd-drives-raspberry-pi/ 

Plotter CDROM

 

The video about the plotter


Mechanics

Plotter mechanics
Figure 1:
The battery powered WLAN plotter shown here is composed of parts from two old optical drives, four H bridges, a servo and a Raspberry Pi.
disassembling a CD drive
Figure 2:
From the optical drives we need the mechanisms used to move the laser unit. That carriage is driven by a stepper motor. Unfortunately not all optical drives use a stepper motor to actuate the laser unit - my hit rate was 2 to 1.
X/Y axis of plotter
Figure 3:
I have connected both mechanisms perpendicularly to each other with a stripe of perforated metal and some epoxy.
Pen holder of the plotter
Figure 4:
The pen holder is also made of a perforated metal stripe glued at the upper laser head. A servo is used to bend that metal stripe and so to lift or lower the pen.

Electronics

Stepper motor of a CD drive
Figure 5:
The stepper motor has four pins:
A pair of pins is internally connected to an electromagnetic coil. With a multimeter switched to continuity you can figure out which pairs are connected to a coil.
Electronic components of the plotter
Figure 6:
Don't remove the foil at the pins, because you will very likely also rip the copper wires off the pins by what the motor gets inevitably destroyed!
The old supply lines with the foil can be trimmed.
The new cabling has to be soldered to the pins.
H bridges of the plotter
Figure 7:
The board has four output terminals:
Each pair of outputs has to be connected to one of the coils at the stepper motor. Furthermore there are four input pins which have to be connected to the GPIOs of the Raspberry Pi. Finally the 5V supply voltage has to be connected to the terminals "Ground" and "VCC" which is the positive terminal of the supply voltage.
A single coil of the motor draws a current of almost 500mA, which is above the maximum current provided by the 5V pin of the Raspberry Pi!
Consequently you should use an old computer power supply or a battery to provide the electric energy needed to operate the mechanism.

Circuit layout of the plotter
Figure 8:
Schematic of the WLAN plotter.

Software

The software runs in command mode, thus you can login through ssh to operate the WLAN plotter. You can find the source code at the column Download.

SVG with Libre Office
Figure 9:
The software can compute bitmaps (*.bmp) with a resolution of 55 x 55 pixels and a color depth of 24 bits. Any other type of bitmap will be ignored. Pixel with a red blue or green component less than 200 are treated as "black" and will be drawn. All other pixels are treated as "white" and are skipped.
The supported vector format is "Scalable Vector Graphics (*.svg)" with some special things to note:
No areas are drawn, only their outlines. All paths (also the outlines of an area) must be set to "Polygon". I have tested the functionality with graphics edited and exported as svg by Libre Office Draw.

Have fun!

Plotter in action
Figure 10:
With the special design of the plotter you can use a waterresistant pen to draw on nearly any plain surface. The area covered by the pen is approximately 35 times 35 millimeters. 250 steps are needed to move the pen for 35 millimeters.
The lettering shown here is clearly larger than the area covered by the plotter. After drawing one of the characters, the whole plotter is moved manually to the right.


<<< CNC v2.0         V-Plotter >>>

 

viernes, 10 de julio de 2015

Circuito para Encoder Sensor Ranurado , Opto Interrupter Circuit with ITR9606

Circuito para Encoder Sensor Ranurado

Opto Interrupter Circuit with ITR9606

http://www.electroschematics.com/10494/arduino-optical-position-rotary-encoder/
 
Photo-Interrupter
Front end of an ordinary optical position encoder, used for these tasks, is a slotted Photo Interrupter /Opto-Interrupter module with an IR LED & a Photo Transistor/Diode mounted facing each other enclosed in plastic body. When light emitted by the IR LED is blocked because of the alternating slots of the encoder disc (also known as index disc), conduction level of the photo transistor/diode changes. This change can be detected by a discrete hardware or by a microcontroller. In short, a photo-interrupter is composed of an infrared emitter on one side and an infrared detector on the other By emitting a beam of infrared light from one side to the other, the photo-interrupter can detect when an object passes between them, breaking the beam.
photo-interrupter
Encoder/Index Disc
As we need to create pulses, an encoder disc/index disc is very necessary here. An easy way to make it is with a thin transparent acrylic, thin transparent adhesive transparency sheet and a laser printer. Take a drawing software and draw the black stripes as shown in the picture. Print it to the transparency sheet and fix it on the round-shaped thin transparent acrylic. As an alternative, you can make the disc from black acrylic and cut out the white spaces.
rotary encoder disc
An important note: Physical width of stripes and spaces is a most critical factor. Look at the datasheet of the photo-interrupter to find its slit width. It is better to set minimum witdh of the stripes (and also of the spaces) two times (x2) the slit width of the photo-interrupter. For example, if the slit width is 1mm, the width of the stripes and spaces should be 2 mm. If the RPM of the disc is 60, then we have 1 disc turn/second. If the disc has 36 stripes then the pulse frequency is 36Hz, which can easily be handled by the photo-interrupter.
The Hardware
To get started, just create a small test circuit as shown here with a photo- interrupter and an Arduino. This allows you to experiment and make sure all things works as per your expectation. The 10K resistor (R2) is a pull-up resistor. Value of the first resistor (R1) depends on the photo-interrupter you use. In this set-up, the onboard LED (at D13) of the Arduino board is usually in off mode, and when the beam broken the LED goes on. Auxillary output available from D12 of the Arduino can be used to monitor the encoded signal on an oscilloscope, for example.
arduino hardware
The Arduino Sketch
  1. /*
  2. -Arduino Position Encoder
  3. -Using a generic photo-interrupter
  4. -Basic Test Sketch 1 / June 2014
  5. -Tested at TechNode Protolabz
  6. -www.electroschematics.com/
  7. */
  8. const int encoderIn = 8; // input pin for the interrupter
  9. const int statusLED = 13; // Output pin for Status indicator
  10. const int pulseOutput = 12; // Pulse output pin for external interfacing
  11. int detectState=0; // Variable for reading the encoder status
  12. void setup()
  13. {
  14. pinMode(encoderIn, INPUT); //Set pin 8 as input
  15. pinMode(statusLED, OUTPUT); //Set pin 13 as output
  16. pinMode(pulseOutput, OUTPUT); // Set Pin 12 as output
  17. }
  18. void loop() {
  19. detectState=digitalRead(encoderIn);
  20. if (detectState == HIGH) { //If encoder output is high
  21. digitalWrite(statusLED, HIGH); //Turn on the status LED
  22. digitalWrite(pulseOutput,HIGH); // Give a logic-High level output
  23. }
  24. else {
  25. digitalWrite(statusLED, LOW); //Turn off the status LED
  26. digitalWrite(pulseOutput,LOW); // Give a logic-Low level output
  27. }
  28. }
Test Procedure
Bring the photo-interrupter connected with the hardware to your encoder disc and do the test. Connect the D12 output to an oscilloscope and run your encoder disc by hand, or by using a low rpm dc motor. If you don’t have an oscilloscope, watch the onboard LED (D13) to note the pulse output. In this case, try to turn the disc slowly by hand to see the pulse activity directly.
test procedure
This is the very basic code you need. We have the hardware and the basic software up and running. Now you can upgrade it to whatever you want it to do.
Initial set up of the testing process @ author's lab
Initial set up of the testing process @ author’s lab
Improving The Code
There are two basic ways to read a microcontroller’s digital input; Polling, and Interrupt. With polling, the system reads the input all the time inside a loop (as used in this sketch). Main drawback of this polling method is that it is difficult to do other things while polling. The controller does the only job of reading the input and processing the data. But, when using interrupts the system can do any other job without any mishaps. When an input pulse arrives, the system stops it’s job, jumps to the interrupt routine and then returns to the job before. So, working with interrupts is what better when its comes to this type of encoding tasks. In a forthcoming article you can see many more about this idea!

jueves, 9 de julio de 2015

Como cargar bootloader de un Arduino a otro, Beeduino : Homemade Arduino Uno for $6

http://www.instructables.com/id/Beeduino-Homemade-Arduino-on-a-Budget/step7/Bootloader-Burning-using-another-Arduino/

....

Step 7: Bootloader Burning using another Arduino

Boot loader on a micro controller is basically its operating system. It tells it how to communicate and respond. The arduino boot loader allows it to be programmed via USBASP. First download the latest Arduino IDE here and install it.
For burning the boot loader you need an Arduino Uno. Follow the following instructions carefully
  1. Connect the Uno and select the port. Open the example ArduinoISP and program it to the Uno.
  2. Connect the Uno to Beeduino as shown in the second image.
  3. In the Arduino IDE, In Tool > Programmer, select Arduino as ISP
  4. Then in Tools click on Burn Boot loader. If all is well the boot loader should burn in a few seconds.
If there is a problem do the following checks.
  1. Double check all the connections. They should be firm.
  2. Remove and redo the connections.
  3. Recheck the board to see if you made any soldering mistake.
  4. Remove the USB cable from PC and reconnect, then try again.
I hope you are able to burn the boot loader successfully.


martes, 30 de junio de 2015

Analema Solar


http://www.astrovigo.es/2014/06/analema-o-lemniscata-solar.html





Analema Solar

Autor: César M. González Crespán
Con-Catedral Colegiata de Santa María de Vigo, en longitud 8° 43′ 34” W, donde se encuentra el Reloj de sol declinante 5 grados al occidente.
Con-Catedral Lemniscata

Analema (o lemniscata) es la curva que describe la posición del Sol en el cielo si se observa todos los días del año a la misma hora del día (tiempo civil) y desde el mismo lugar de observación. El analema suele tener, aproximadamente, una forma de 8, algo asimétrico. El componente axial del analema muestra la declinación del Sol, es decir, su distancia angular con respecto al ecuador celeste, mientras que la componente transversal da información sobre la ecuación del tiempo.
La ecuación del tiempo es la diferencia entre el tiempo solar medio (medido generalmente por un reloj mecánico) y el tiempo solar aparente (medido por un reloj de sol). Esta diferencia varía a lo largo del año y alcanza la mayor diferencia a principios de noviembre, cuando el tiempo solar medio está más de 16 minutos por detrás del tiempo solar aparente, y a mediados de febrero, cuando el tiempo solar medio va más de 14 minutos por delante del tiempo solar aparente. Son iguales el tiempo solar medio y el tiempo solar aparente en cuatro instantes del año: 15 de abril, 14 de junio, 1 de septiembre y 25 de diciembre (dos de ellos coinciden aproximadamente con los solsticios). En el gráfico, el sol tiene declinación cero en los puntos que cortan al eje horizontal, los equinoccios.
El origen de este concepto deriva de la distinta velocidad del movimiento de traslación de la Tierra alrededor del Sol. La órbita terrestre se denomina eclíptica (porque en ella se producen los eclipses cuando la Luna se alinea con la Tierra y el Sol) y tiene forma de elipse, ocupando el Sol uno de los focos. De acuerdo con las leyes de Kepler sobre los movimientos de traslación, “tiempos iguales barren áreas iguales”, la Tierra disminuye la velocidad de traslación cuando está más lejos del Sol (ya que la atracción del mismo es menor) y la aumenta al acercarse. Si no existiera esta diferencia de velocidad, la Tierra se escaparía del Sistema Solar cuando se encontrara más lejos o chocaría con el Sol al acercarse. En consecuencia, el movimiento de traslación de la Tierra es un movimiento uniformemente acelerado.
Reloj junio
El sol ya ha pasado por la meridiana. Día 2 de junio de 2014. Hora del reloj 14:37 CEST (UTC +2) = 12:37 UTC. El sol pasó por la meridiana a las 12:32,5 UTC, con adelanto de 3 minutos sobre el reloj mecánico.
En el gráfico se calcula, por medio del Almanaque Náutico del Real Observatorio de la Armada del año 2005, la Declinación del Sol en el tiempo de paso por la meridiana en los días señalados, y en el lugar de la Con-Catedral Colegiata de Santa María de Vigo, longitud 8° 43′ 34” W, donde se encuentra el Reloj de sol declinante 5 grados al occidente. La Diferencia en minutos con el paso del sol por el meridiano es la que aparece en la inscripción en la piedra.
La hora media, en el reloj mecánico, del paso del sol por la meridiana serían las 12 h de Greenwich, más la diferencia de longitud del lugar con Greenwich, pasada a tiempo (34,9 minutos), es decir, 12 h 34,9 m de Greenwich. De acuerdo con la hora legal española serían las 13 h 34,9 m en invierno (CET – Central European Time, Hora Central Europea) o las 14 h 34,9 m en verano (CEST – Central European Summer Time, Hora Central Europea en verano).
Analema Tablas 2
Analema
Esta entrada fue publicada en Articulos. Guarda el enlace permanente.

4 respuestas a Analema Solar

  1. hugo dijo:
    ¿Porqué los cortes con el eje vertical son el 16 de Junio y el 24 de Diciembre?. ¿No deberían ser los dias de los solsticios?
  2. Cesar dijo:
    Los puntos de corte con el eje vertical son aquellos en que el tiempo de paso del sol por la meridiana o tiempo aparente coincide con el tiempo solar medio del reloj u hora civil del lugar, en este caso, 12 hor 34,9 min (12 h + long. 8° 43′ 34″ pasada a tiempo). Le corresponden a los solsticios. Por otro lado estos cálculos provienen de una inscripción en la piedra correspondiente al año en que se construyo el reloj. La fecha de los solsticios varía de año en año por los bisiestos, y la distinta duración del año trópico y del año del calendario. Quizá haya alguna otra razón que se me escapa. De hecho no sé cuál es la razón que cruce la curva el eje vertical el 15 de abril y 1 de septiembre, más lejos de los equinoccios.
  3. chiño Alvarez dijo:
    Nunca había entrado en esta página, y me parece interesantísima. Aunque con esto sé que no digo nada que no sepa todo el mundo. De ahora en adelante procuraré ser un socio más digno.
    Un abrazo
  4. Pingback: Reloj de sol ecuatorial | Astrovigo

Deja un comentario

Tu dirección de correo electrónico no será publicada.
Puedes usar las siguientes etiquetas y atributos HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>