Monday, April 2, 2018

Rangkaian power supply sederhana

Ane kalo bikin atau desain sesuatu yang ane pusingin selalu power supply buat rangkain. Output gak gede-gede amat sih Ini hasil pencariannya.


sumber : https://circuitdigest.com/electronic-circuits/transformerless-power-supply

Kurang lebih rangkiannya yang banyak beredar kaya gini, masalh output bisa diganti nilai 
Rumus standar capasitornya:

X = 1 / 2¶fC
X = Reactance of Capacitor
f = frequency of AC
C = Capacitance of X rated capacitor
We have used 474k means 0.47uF capacitor and frequency of AV mains is 50 Hz so the Reactance X is:
X = 1 / 2*3.14*50*0.47*10-6 = 6776 ohm (approx)
Now we can calculate the current (I) in the circuit:
I = V/X = 230/6775 = 34mA
So that’s how the Reactance and Current is calculated.

Wednesday, March 21, 2018

penyimpanan dengan cara salt caverns

Lagi mau bikin paper tentang hidrogen ada kata-kata salt caverns sebagai cara penyimpananya. Apasih?

Seperti ini ilustrasinya



Monday, February 26, 2018

mencari scroling text lcd display hanya satu baris saja

Hari mencari script scrolling text untuk arduino...tapi cuma satu baris saja. emang ada sih sample nya tapi ternyata scroll nya semua text..yang saya mau adalah baris tertentu saja.
kebetulan nemu nih..dari https://nishantarora.in/tutorial-arduino-16x2-lcd-how-to-scroll-only-one-line-at-a-time-while-keeping-the-other-constant.naml

kenapa ane cari scrolling text? karea dengan begitu informasi yang ditampilkan bisa lebih banyak jika menggunakan lcd 16X2

ini betul-betul scrolling text satu baris saja..
ane modifikasi untuk lcd menggunakan i2c jadi seperti ini  

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

int screenWidth = 16;
int screenHeight = 2;

// the two lines
// line1 = scrolling
String line1 = "Ini baris ke satu yang discrolling!";
// line2 = static
String line2 = " @ainpoenya ";

// just some reference flags
int stringStart, stringStop = 0;
int scrollCursor = screenWidth;

// most of the part is pretty basic
void setup() {
  lcd.begin();
}

void loop() {
  lcd.setCursor(scrollCursor, 1);
  lcd.print(line1.substring(stringStart,stringStop));
  lcd.setCursor(0, 0);
  lcd.print(line2);
  delay(300);
  lcd.clear();
  if(stringStart == 0 && scrollCursor > 0){
    scrollCursor--;
    stringStop++;
  } else if (stringStart == stringStop){
    stringStart = stringStop = 0;
    scrollCursor = screenWidth;
  } else if (stringStop == line1.length() && scrollCursor == 0) {
    stringStart++;
  } else {
    stringStart++;
    stringStop++;
  }
}
nah tinggal cari kode cara ganti string nya menjadi hasil reeading data analog.

Thursday, November 2, 2017

About JAVA

Dalam hal JAVA language atau koding JAVA saya tidak banyak tahu soal ini, namun karena ada yang butuh bantuan jadi iseng-iseng cari.

  1. HIBERNATE (everything data) : Adalah object-relational mapping tool (Red Hat Developer) atau CAYENNE (Apache ORM)
  2. SPRING ; Adalah application framework and inversion of control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE (Enterprise Edition) platform.
  3. STRUTS :  Yaitu Apache Struts is a free, open-source, MVC framework for creating elegant, modern Java web applications. It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON.
Server:
  1. Jetty : Eclipse Jetty provides a Web server and javax.servlet container, plus support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations. These components are open source and available for commercial use and distribution.
  2. Geronimo
Template engine
  1. Freemarker : a Java library to generate text output (HTML web pages, e-mails, configuration files, source code, etc.) based on templates and changing data. Templates are written in the FreeMarker Template Language (FTL), which is a simple, specialized language (not a full-blown programming language like PHP).
CMS

Sunday, October 29, 2017

PHP Report maker atau designer

Maklum saya bukan programer jadi cari yang instant saja. Lagi cari aplikasi buat bikin report database dengan PHP pengennya sih drag and drop atau kaya mail merge dah. Ini hasilnya:

Segitu dulu deh mau coba demo-demonya dulu.

Monday, October 2, 2017

USB installer

Gara-gara SARDU udah gak bisa bikin installer windows maklum ada PC lawas yang butuh win xp jadi nyari lagi nih usb installer yang gratisan..
lagipula apasih USB installer??
Bahasa gampangnya adalah kita bisa install operating sistem dari USB bro..
walhasil dapet beberapa kandidat:

  • Rufus (single boot)
  • XBoot (multiboot + qemu)
  • YUMI (multiboot)
  • Easy2Boot (multibootOS
Untuk sekarang ane coba YUMI dulu siapa tau yuummmy...wkk. 

Arduino simulator

 Buat yang lagi belajar arduino dan mikrokontroller lainnya. Ini simulator online ya.. Mengapa Simulasi? Sebelum masuk ke detail teknis, pen...