Tuesday, March 13, 2018

Alfa 166 2.5 V6 2000.g.

  Alfa 166 2.5 V6  2000.g. -  OBD  & OMVL 'DREAM' ECU  COM port  



CAR OBD - Fmale


Male


ADAPTER




Fmale

 OBD2
 

Sunday, March 11, 2018

Flesher relay, turn signal, warning lights, modification for LED bulbs

 7 pin flasher used in Alfa Romeo, BMW,..
For other types of fleshers fix should be similar.
Some have markings from 1 to 7,
some other, here is what I encounted:

1        2      3     4    5    6      7
15R   31   HW    L   R   30    15L

 As Ibulb ~ 4 x ILED => R1LED = 4x R1bulb for same VR1
change R2 with Pot (~500ohm) to get oscilations
right, which in this case was changing it from
330 ohm to 220 ohm 
R2 = 330 >> 220

 R1 = 0.5 >> 2.2  ohm   /2W min


flashing rate needs to be in the range from
90 ~ 110 flash/min
30                31
+ power        -- ground

15R  -15L
right- left sig. from handle-SW

R      -  L
right - left LED bulbs

HW
left & right (warning light)





Friday, April 21, 2017

Arduino LCD circular meter

 
As the openGLCD library contains only bar type meters, V & H, I've drew a circular meter to display rpm for my "poor-man-LCD", so it's more appealing and easier to read. A nice impression is given only by the two letters "II" that go around the circular loop. May be someone find it useful.Here is the code:

* DrawCircle - openGLCD API example 
* 
* Example of using: 
* Circle()
*
* Circle(xCenter,yCenter, radius, [color]);

#include

 void setup()
{
        GLCD.Init();
        GLCD.SelectFont(Callibri14);
}

void loop(void)
{
        GLCD.ClearScreen();

        float  rpm  = random(12,1023);             // random values for rpm
        rpm=rpm*1000/244;                              // it should count freq./
        float rd;                                                  // period instead
        rd = (float)rpm/2673.2;                         // angle for "II" position

       GLCD.DrawCircle(GLCD.Right,GLCD.Bottom, 58);
       
        float RD =0.0;
        while (RD < rd) { 
           GLCD.CursorToXY(GLCD.Right-((58*cos(RD))), GLCD.Bottom-(64*sin(RD)));
                GLCD.print(F("II"));
                delay(RD*20);
                GLCD.DrawLine(GLCD.Right,GLCD.Bottom, GLCD.Right-(64*cos(rd)),GLCD.Bottom-(64*sin(rd)));
                RD=RD+0.03;
         }

GLCD.SelectFont(lSansN_22);
GLCD.CursorToXY(GLCD.CenterX+24,GLCD.Bottom-32);
rpm=rpm/10;
GLCD.print(rpm,0);
GLCD.print(F("0"));
GLCD.SelectFont(Callibri14);
delay(4000);
            
}


For 2 Outboards: 2 RPM meters (One "I" going around), 1x Voltmeter (H-bar),
2 hrs counters:

Thursday, December 11, 2014

Saturday, July 19, 2014

Tronsmart T1000 and Linux video

Play your video on TV, from Ubuntu without Miracast, Ezcast, AirPlay

Install :

UPnP-Inspector 
is an UPnP Device and Service analyzer, and a debugging tool,
based on the Coherence DLNA/UPnP framework.
Rygel
is a home media solution (UPnP AV MediaServer)
that allows you to easily share audio, video and pictures to other devices.
Rygel-preferences
provides a graphical tool to configure Rygel and set custom preferences.



Transmart:

Plug in your device in TV (mine is Tronsmart T1000)
Configure it to your home wi-fi with your Android smart phone,
using Ezcast (Ezcast.apk from Google Play Store)

On Ubuntu PC

Connect your PC to Transmart wi-fi ("Transmart-9BABxxxx" mine)
Internet should work just the same.
(maybe not necessary?)

Start upnp-inspector (in "Programming", or /usr/bin/upnp-inspector)
Find your device and leave it open.

Start rygel-preferences (from terminal /usr/bin/rygel-preferences)
Select your media-folder, and save, close.

Start rygel (in terminal /usr/bin/rygel)

Go back to Inspector.
New sections should appear containing your media-folder.
Browse in it (double click) and find your movie, right click and execute.
Your movie should start playing on TV.   :-)


Thursday, January 17, 2008

Solaris specific

Using fdisk make 'Sun disklable'

  • fdisk /dev/sdb
    • s (create new empty Sun disklable)
    • d (delete (linux) partitions)
    • n (add a new partition)
    • l (list known partition types)
Something like:
  • /dev/sdb1.......0....279...140616..2..SunOS root
  • /dev/sdb2..u..279....580...151704..3..SunOS swap
  • /dev/sdb3.......0..17660..8900640..5..Whole disk
  • /dev/sdb7.....580...1629...528696..4..SunOS usr
  • /dev/sdb8....1629..17660..8079624..8..SunOS home
To mount sdb8 :
  • mount /dev/sdb8 /mnt -t ufs -o ufstype=sun,ro