IMCO Power – LS150.JS 4806 – Spolehlivé napájení je základ!

Takhle dopadli tří ze tří zdrojů od „renomované“ Slovenské firmy IMCO Power… Samozřejmě po záruce. Nafoukl se u všech třech kusů filtrační kondenzátor na primáru a zdroj přestal pracovat. Považuji to za nevhodný výběr klíčové součástky, kdy by podle mého měl výrobce uznat chybu a věc řešit aby si zachoval jméno i po záruce. Není to zdroj z tržnice ale profi napájecí systém pro průmyslový sektor, ze…

Narozíl od České firmy BKE, která nám opravuje i po záruce zdarma moduly u kterých přiznali výrobní vadu, firma IMCO tuto situaci řešit tímto způsobem nehodlá.

Už před časem jsme měli špatnou zkušenost s jinými zdroji od IMCO u kterých byl otočený jeden kondenzátor a všech cca 10ks jsme museli měnit během cca. půl roku od nasazení. Tím pro nás spolupráce s touto firmou skončila. Už od nich nemáme ani jeden zdroj a máme po starostech.

PS: Děkujeme pane Neumanne za dvě vína „J. P. Chenet 0,25l“ v celkové hodnotě cca 100Kč, které jsme od vás obdrželi jako omluvu. 😉

Tasmota S0 PowerMeter

Instead of use counter for S0 pulses counting, Smart Meter feature is much better…

https://tasmota.github.io/docs/Smart-Meter-Interface/

Here is complete script with pulses calculation examples:

>D
>B
->sensor53 r
>M 1
+1,4,c,1,-20,S0
1,1-0:1.8.0*255(@1000,Energy,KWh,Energy,3) 1,1-0:1.7.0*255(@0.01667,Power,W,Power,0)
#

1kWh / 1000p/kWh = 1Wh/p => 1/60 = 0.01667
1kWh / 800p/kWh = 1.25Wh/p => 1/75 = 0.01334
1kWh / 250p/kWh = 4Wh/p => 1/240 = 0.00417

No other configuration is necessary…

Korg Volca Sample Hack Mod

When I bought my Volca Sample I was disapointed with MIDI implementation – one channel for each track? Ehh? Immediately I grebbed Arduino and made MIDI adapter. Some time later I found mod with switch for mute. Today the cup ran… I added switch for memory too.

MIDI adapter is based on:

https://github.com/mmaisterrena/Volca_Simple

Points for solder switches connections – D301, D307 and common point:

Mounting switches:

Mounting Arduino Nano:

USB connector for programming:

DIN connector for alternative MIDI in:

+5V supply for Arduino stolen from capacitor:

All together:

Final look:

e2fsck autostart problem

e2fsck autostart problem

[root@CentOS ~]# cat /etc/e2fsck.conf
[problems]

# Superblock last mount time is in the future (PR_0_FUTURE_SB_LAST_MOUNT).
0x000031 = {
preen_ok = true
preen_nomessage = true
}

# Superblock last write time is in the future (PR_0_FUTURE_SB_LAST_WRITE).
0x000032 = {
preen_ok = true
preen_nomessage = true
}

Install Windows 7 Or Windows 8 From USB Drive

Run command line with admin rights,

DISKPART

LIST DISK

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS Quick

ASSIGN

EXIT

________________

D: CD BOOT and hit enter.Where “D” is your DVD drive letter.

CD BOOT

BOOTSECT.EXE /NT60 H: – make USB bootable

Finaly copy your Windows 7 or Windows 8 DVD contents to the USB flash drive.

Novation LaunchKey 25 MK2 Arduino USB-MIDI converter

IMG_20180406_230723

 

Since I leave Ableton and switch to HW only setup I needed to make a classic midi out port to my LK. I found solution for older version of LK here: https://www.youtube.com/watch?v=IllVybz_2_8 but it is only for MK1 not for my MK2.

Solution is make USB-host to MIDI converter.

You need Arduino Pro mini and mini USB-host module with MAX3421E. I use library from Oleg Mazurov and Yuuichi Akagawa USB_Host_Shield_2.0 but I had to do little improvement of code because my PID od LK wasn’t in special known devices so LK wasn’t working until my change. Link to my update is below.

!!! IMPORTANT !!!

USB host mini module can’t run at 5V !!!!

USB host mini board doesn’t have 3.3V regulator – that is why I used two step down regulators – first bigger is for 12v>5V only for VBUS – You must scratch path to separate system voltage level from VBUS level – some boards have jumper pads for it but I haven’t. Second step down regulator is for 3.3V to power arduino and USB board itself.

My change is in file usbh_midi.cpp:
/* Setup for well known vendor/device specific configuration */
void USBH_MIDI::setupDeviceSpecific()
{
// Novation
if( vid == 0x1235 ) {
// LaunchPad's endpoint attirbute is interrupt (0x20:S, 0x36:Mini, 0x51:Pro, 0x69:MK2, 0x7b:Launchkey)
if(pid == 0x20 || pid == 0x36 || pid == 0x51 || pid == 0x69 || pid == 0x7b ) {
bTransferTypeMask = 2;
}
}
}

Here is usefull links:

https://www.circuitsathome.com/usb-host-shield-hardware-manual/

https://github.com/felis/USB_Host_Shield_2.0

https://github.com/felis/USB_Host_Shield_2.0/pull/375/commits/71e905e0d8e3985e8e0454bbc6b88cd71b0c5b8b

 

IMG_20180406_230752 IMG_20180406_230351

ESP8266 NodeMCU 1.0 + RF 433MHz transmitter + wireless outlet + Blynk

Hello, there is very fast and impresive project for home IoT. One night during normal browsing I find arduino library for controll 433MHz wireless outlet which is laying around for few years without usefull task. After few minutes I completed all need parts from drawer and put all together. Afer half of hour I had functional 2ch android controlled sockets. Good think to implement to project is Wifimanger library for easy SSID/pass change without reprogram ESP. In this fast project I omited it…

https://github.com/sui77/rc-switch

https://github.com/tzapu/WiFiManager

http://www.ebay.com/itm/433Mhz-WL-RF-Transmitter-Receiver-Module-Link-Kit-for-Arduino-ARM-MCU-Wireless-/380717845396?hash=item58a48d4b94:g:x9cAAMXQigBSMp4X

Screenshot_2016-03-17-23-38-26

20160317_230920

/**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
*   Downloads, docs, tutorials: http://www.blynk.cc
*   Blynk community:            http://community.blynk.cc
*   Social networks:            http://www.fb.com/blynkapp
*                               http://twitter.com/blynk_app
*
* Blynk library is licensed under MIT license
* This example code is in public domain.
*
**************************************************************
* This example runs directly on ESP8266 chip.
*
* You need to install this for ESP8266 development:
*   https://github.com/esp8266/Arduino
*
* Change WiFi ssid, pass, and Blynk auth token to run 🙂
*
**************************************************************/

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

//——– rcswitch——
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = „dlaskjdlaskjdlasdjjasld“; //insert here your token generated by Blynk

void setup()
{
Serial.begin(9600);
Blynk.begin(auth, „Internet“, „Secretpass123“); //insert SSID…

mySwitch.enableTransmit(4);  //D2 on NodeMCU module

}

void loop()
{
Blynk.run();
}

//——-rcswitch——
BLYNK_WRITE(0) {  //virtual pin 0
mySwitch.switchOn(„01111“, „10000“);
}

BLYNK_WRITE(1) {
mySwitch.switchOff(„01111“, „10000“);
}

BLYNK_WRITE(2) {
mySwitch.switchOn(„01111“, „01000“);
}

BLYNK_WRITE(3) {
mySwitch.switchOff(„01111“, „01000“);
}

WordPress Appliance - Powered by TurnKey Linux