Thursday, November 26, 2015

Raspberry Pi Zero, for $5!

Raspberry Pi Zero:
  • A Broadcom BCM2835 application processor
  • 1GHz ARM11 core (40% faster than Raspberry Pi 1)
  • 512MB of LPDDR2 SDRAM
  • A micro-SD card slot
  • A mini-HDMI socket for 1080p60 video output
  • Micro-USB sockets for data and power
  • An unpopulated 40-pin GPIO header
  • Identical pinout to Model A+/B+/2B
  • An unpopulated composite video header
  • Our smallest ever form factor, at 65mm x 30mm x 5mm

Introducing PIZERO from Raspberry Pi Foundation on Vimeo.

Reference: https://www.raspberrypi.org/blog/raspberry-pi-zero/

Friday, November 13, 2015

Download and Install Netbeans IDE 8.1 on Raspberry Pi 2/Raspbian Jessie

Netbeans IDE 8.1 run on Raspberry Pi 2/Raspbian Jessie
To download and install Netbeans IDE 8.1 for Raspberry Pi 2/Raspbian Jessie:
  • Visit netbeans.org,  download NetBeans IDE 8.1 for platform of OS Independent Zip.
  • After the download of the platform-independent ZIP file completes, extract it to any folder on your system.
  • Switch to the /netbeans/bin, run ./netbeans
(reference: https://netbeans.org/community/releases/81/install.html#install_zip)


Tuesday, November 3, 2015

Raspberry Pi Bluetooth Serial Terminal, using HC-06 Bluetooth Module.


HC-06 is Bluetooth to UART Converter. This  post show how to config Raspberry Pi 2 running Raspbian Jessie, to connect HC-06 with serial port. Connect and log-in from Windows 10.

Connect HC-06 to Raspberry Pi GPIO connector:
RPi TXD - HC-06 RXD
RPi RXD - HC-06 TXD
RPi 3.3V - HC-06 VCC
RPi GND - HC-06 GND
*make sure your HC-06 is operate on 3.3V, NOT 5V.


By default, HC-06 work on 9600 baud. So we have to edit /boot/cmdline.txt in Raspberry Pi/Raspbian Jessie, to set 9600 baud.

in default:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

modify (with sudo right) default 115200 to 9600.
dwc_otg.lpm_enable=0 console=ttyAMA0,9600 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

Then you can connect and login from Windows 10 with Bluetooth.

This video show how to config Raspberry Pi, and log-in from Windows 10 using PuTTY. In this video, Raspberry Pi desktop is Remote Desktop Connection via WiFi. PuTTY run as Bluetooth Serial Terminal.




more:
- Android Bluetooth Terminal to login Raspberry Pi + HC-06

JBtek HC-06 Bluetooth to UART Converter COM Serial Communication Slave Mode

JBtek HC-06 Bluetooth to UART Converter COM Serial Communication Slave Mode
  • Industrial serial port bluetooth, Drop-in replacement for wired serial connections, transparent usage. You can use it simply for a serial port replacement to establish connection between MCU and GPS, PC to your embedded project and etc. Computer and peripheral devices
  • GPS receiver Industrial control MCU projects
  • Running in slave role: Pair with BT dongle and master module
  • Coupled Mode: Two modules will establish communication automatically when powered. PC hosted mode: Pair the module with bluetooth dongle directly as virtual serial.
  • Default serail port setting : 9600, 1 Pairing code : 1234
Product Description
Item Name Bluetooth UART RS232 serial converter Module Operating Frequency Band 2.4GHz unlicensed ISM band Bluetooth Specification V2.0+EDR Output Power Class Class 2 Operating Voltage 3.3V Host Interface USB/UART Audio Interface None Flash Memory Size 8Mbit

Dimensions 27.2mm x 12.8mm x 2.5mm
Net Weight 9.6 g / 0.3 oz
Key Features: supports Slave mode, modified by AT commander
  1. CSR Bluetooth Chip Solution 
  2. Bluetooth Spec v2.0+EDR Compliant 
  3. Enhanced Data Rate (EDR) compliant with V2.0.E.2 of specification for both 2Mbps and 3Mbps modulation modes 
  4. Full Speed Bluetooth Operation with Full Piconet Support and Scatternet Support 
  5. Increadible samll size with 3.3V input, and RoHS Compliant 
  6. UART interface and with baudrate setup function 
  7. Support for 8Mbit External Flash Onboard 
  8. Support for 802.11Co-Existence Product Description 
The Bluetooth UART RS232 serial Converter Module can easily transfer the UART data through the wireless Bluetooth, without complex PCB layout or deep knowledge in the Bluetooth software stack, you can combine this bluetooth module with your system: * MCU, ARM or DSP systems. * SOC systems. * Personal Digital Assistants (PDAs) * Computer Accessories * Other systems your want to use under bluetooth functions. [Hardware] CSR solution, Bluetooth V2.0 protocol support AT commander support Master and Slave mode, modify by AT commander support 1200-115200 baudrate 3.3V single supply
Size:
core module: 28mm*15mm*2.35mm,
whole module:35.33mm*19.6mm*3.7mm
current: 30mA MAX can be used with all MCU by UART port 2 indicator lights