Control serial infrared camera VC0706 with UART, Raspberry Pi and Python 3

So you bought a serial infrared camera from Adafruit running VC0706 chip, you want to know how to use it? 1. ssh into your Pi: ssh pi@192.168.1.111 (address of your Pi) then enter your usename and password. 2. Prepare your Raspberry Pi GPIO UART serial pins. Turn them off as…

Boot into Raspberry Pi with USB Serial Console Cable

Ethernet port does not exist on Raspberry Pi Model A. And when you got no monitor screen to connect to, configuring your headless Pi may not be possible. Your only option would be to connect to your Pi from a laptop via a console cable. For this exercise you are…

HTML script to listen and send commands to Arduino via Serial Port

This is the source code for the web page interface to control your robot. For this to work you need the corresponding NodeJS script behind it.   <html> <head> <title>Rasinro – Rasberry Internet Rover</title> </head> <body onmousemove=””> <h1>Rasinro – Raspberry Internet Rover</h1> <p>Status: <span id=”status”>Waiting…</span></p> <table border=’1′> <tr align=”center”><td><button id=’fl’ type=”button”>Forward…

nodeJS on Raspberry Pi

NodeJS Script to listen and send command to Arduino Robot

var SerialPort,fs, http, io, server, net, serial, port; fs = require(‘fs’); http = require(‘http’); net = require(‘net’); var light1 = true; var light2 = true; SerialPort = require(‘serialport’).SerialPort; port = ‘/dev/ttyACM0’; server = http.createServer(function(req, res) { return fs.readFile(“” + __dirname + “/mobil2an.html”, function(err, data) { res.writeHead(200, { ‘Content-Type’: ‘text/html’ });…