Saturday, August 27, 2016

SQLite | Interact using JAVA | Raspberry Pi



This tutorial is an overview of interacting with SQLite database using JDBC connector running on Raspberry Pi. It's not about learning SQlite. I have tried to show briefly how it can be done.

---------------------------------------------------------------------------------------

SQLite Getting STarted : http://goo.gl/UuQvzV

Java Application on Pi :  http://goo.gl/5zGGME

Monday, August 22, 2016

Arduino | Tutorial | MCP23008 Interfacing



MCP23008 8 Pin Port Expander with I2C interface IC with Arduino. This enables to have more digital GPIO on Arduino or any other uc.

########################

Links:

MCp23008 Connection Diagram :  https://goo.gl/rLdO2k

Pins all HIGH Code  : https://goo.gl/cse7eL

Pins all LOW Code : https://goo.gl/Y9fMij

Pins all BLINK Code : https://goo.gl/vYCJJ0

Pins as INPUT Code : https://goo.gl/tZr0rL



Datasheet MCP23008 : http://goo.gl/KlIULy

___________________________________________

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.



Subscribe : http://goo.gl/gM134X

_________________________________________

Blog :http://goo.gl/8BTy4z

Twitter : http://goo.gl/1UVHjG

GIT: https://goo.gl/L71Oct

Thursday, August 11, 2016

Autostart Applications | Raspberry Pi | crontab | rc.local & more



This tutorial demonstrates 4 different methods to run GUI/ Non-GUI based application when the Raspberry Pi boots up.
1. Crontab
2. rc.local
3. _file_.desktop
4. init.d folder
test.jar application used in the tutorial : https://goo.gl/tO4sWg
########################
Commands::
1. Crontab:
        $ sudo nano cronatb -e
Add the following lines
@reboot /usr/bin/java -jar /home/pi/Desktop/test.jar
2. rc.local
        $sudo nano /etc/rc.local
3. _file_.desktop
      Contents:. https://goo.gl/Zbe5uS
4.  init.d folder:
       $cd /etc/init.d
       $sudo nano app
                    app Contentes: https://goo.gl/GjDxiB
       $sudo chmod +x app
       $sudo rc-update.d app defaults
__________________________________________

Monday, August 8, 2016

Arduino | Tutorial | MCP23017 Interfacing







MCP23017 IC with Arduino. This enables to have more digital GPIO on Arduino or any other uc.
########################
Links:
MCP23017 Pin Diagram:  https://goo.gl/moQKfh
PORTA as Output : https://goo.gl/Q7tJPN
Blink PORTA Pins : https://goo.gl/8EnL4U

Saturday, August 6, 2016

Serial Communication | JAVA | Raspberry Pi





Serial communication with PC/External Devices using UART pins. I have used Pi4J library with JAVA.
########################
Links:
Pi4J Project : http://goo.gl/yKxdoQ
Pi4J Library : http://goo.gl/Yfkk2P
____________________­____________________­___
Guys Subscribe to my channel for latest contents into your inbox.
Support me to keep going.

Subscribe : http://goo.gl/gM134X
____________________­____________________­____


Blog :http://goo.gl/8BTy4z
Twitter : http://goo.gl/1UVHjG
GIT: https://goo.gl/L71Oct