суббота, 14 мая 2016 г.

суббота, 4 апреля 2015 г.

Tiny RTC

Arduino Tiny RTC I2C Real Time Clock Pinout

PIN Description Comment
BAT Battery voltage To monitor the battery voltage, or not connected
GND Ground Ground
VCC 5V supply Power the module and charge the battery
SDA I2C data I2C data for the RTC
SCL I2C clock I2C clock for the RTC
DS DS18B20 Temp. Sensor output One wire inteface
SQ Square wave output Normally not used
The I2C wires "SDA" and "SCL" are the data line and clock line, they should be connected to the corresponding pins depending on the Arduino board.
Board I2C / TWI pins
Uno, Ethernet A4 (SDA), A5 (SCL)
Mega2560 20 (SDA), 21 (SCL)
Leonardo 2 (SDA), 3 (SCL)
Due 20 (SDA), 21 (SCL), SDA1, SCL1

Arduino LCD 1602


суббота, 28 марта 2015 г.

1.8TFT SPI 128*60 arduino connection

Arduino (Mini, Nano, Uno)    1.8TFT SPI 128*60
D4                                           Pin 14 (SD CS)
D9                                           Pin 07 (A0)
D10 (SS)                                  Pin 10 (CS)
D11 (MOSI)                             Pin 08 (SDA), Pin 13 (SD MOSI)
D12 (MISO)                             Pin 12 (SD MISO)
D13 (SCK)                               Pin 09 (SCK), Pin 11 (SD SCK)
D8                                           Pin 06 (RESET)
5V (VCC)                                 Pin 02 (VCC)
GND                                        Pin 01 (GND)
5V (VCC)                                 Pin 15 (LED+)
GND                                        Pin 16 (LED-)

воскресенье, 15 марта 2015 г.

I can not get wifi working on my Banana Pro with Bananian 15.01. 15.01. should actually support the onboard wifi chip, but I couldn't also find a complete tutorial. I changed to hardware-layout to "Banana Pro" via bananian-config, I added "ap6210" to /etc/modules (which is mentioned here: https://www.bananian.org/hardware) and I configured /etc/network/interfaces (like here: http://www.canox.net/2015/01/banana-pro-wlan-einrichten/):
  1. auto wlan0
  2. allow-hotplug wlan0
  3. iface wlan0 inet dhcp
  4. wpa-ap-scan 1
  5. wpa-scan-ssid 1
  6. wpa-ssid "WLAN-NAME"
  7. wpa-psk "WLAN-KEY"
Copy the Code
After a reboot, wlan0 is found, ifconfig shows wlan0 and the ap6210 driver is loaded, but the DHCP discovery fails (nothing received). When I run "iwlist wlan 0 scan", no networks are displayed, but an error message: "Wireless Event too big".

Has someone a idea how this can get solved or what I could try to get it running?

Thank you in advance.

Regards,

четверг, 12 марта 2015 г.

Arduino IDE Ubuntu

http://arduino.cc/en/Main/Software
tar -zxvf arduino.....
sudo mv arduino-1.0.5 /opt
sudo chmod a+rw /dev/ttyACM0

понедельник, 9 марта 2015 г.

To install X-window, lets first update our resource lists with

  apt-get update

Then, to install X-window

  apt-get install x-window-system

I started using the XFCE window manager and its one of the most lightweight WMs on Linux. It has the look of Gnome and the lightweight of IceWM and X.

To install XFCE 4,

  apt-get install xfce4 xfce4-themes

To install other window managers like IceWM, Fluxbox, GNOME)

  apt-get install icewm fluxbox gnome

I like gdm (Gnome Desktop Manager) as my graphical login program, so

  apt-get install gdm

However you can also try xdm (X Desktop Manager) or kdm (KDE Desktop Manager)

  apt-get install xdm kdm

Changing your screen resolution

  dpkg-reconfigure xserver-xfree86

Choose your resolution and restart your X with either

  /etc/init.d/gdm restart

or

  startx

Removing graphical login

You are finally tired of graphical logins. To turn off the graphical logins (default in Sarge), you have to remove X startup from all run levels.

  update-rc.d xdm remove

X won't start again when your computer boots up. You'll be greeted by the console.