Skip navigation
My early Blogs about moving data between Arduino and Android apps developed using MIT AppInventor were posted back in 2014. Since then I've learned a little more about some of the features of AppInventor and also how to use Arduino SoftwareSerial.   Connecting the Arduino UNO to the HC06 Bluetooth Adapter   My 2014 Blogs had the HC06 TXD and RXD connections "piggy-backed" onto the hardware UART of the UNO - pins RXD/D0 and TXD/D1.   Note that the signal to the RXD input of the ...
My previous post included a photograph of a very untidy Cybot - it was a bit of a lashup, but it worked! I have resurrected some practical skills that have lain dormant for over 20 years and made a fairly neat and tidy strip board carrier for an Arduino Nano, the HC-06 Bluetooth module and the L9110 break-out board. The battery box for the motors has its own switch and is connected to the strip board with a pair of screw terminals. The 9 V battery for the Nano mounts under the Cybot chassis ...
I connected an HC-06 Bluetooth adapter, across the Arduino Rx and Tx,  as in my previous Blog posts.   In MIT App Inventor, I created the following Android design:   Since I already had an Arduino sketch which controlled the motors (previous post), I decided to make the Android program simply mimic the keyboard input of that  sketch. I did, however, remove the menu output to the serial monitor.   Ignoring the Bluetooth connect and disconnect blocks, the control b ...
More years ago than I care to remember (probably 15), I foolishly subscribed to a magazine called Real Robots, published by Eaglemoss. Each monthly part included components which, when you had spent a small fortune buying the magazine, would let you build a robot - Cybot.   I became disillusioned when I realised that all I would be doing was screwing mechanical parts together and plugging in already fully populated PCBs, some of which carried pre-programmed microprocessors: I had assumed m ...
This post builds on previous posts, drawing together the use of AppInventor to create an Android app to send commands, via Bluetooth, to an Arduino controlling a stepper motor using the AccelStepper library. Because the HC06 Bluetooth board is connected to the Arduino serial I/O on Digital pins 0 and 1, it is possible to develop and test the Arduino sketches  independently of the Android Apps. The data stream anticipated from the Android app, via Bluetooth, can be simulated by opening the ...
This is a follow on from an earlier posting: http://www.element14.com/community/people
eilk/blog/2014/07/18/app-inventor-and-arduino-part-2--send-data-from-arduino-to-android-app   I have written this in response to a request from kennethbuenaventura to show how to send 2 or more data items from an Arduino, via Bluetooth and display them on an Android device. A helpful link to a video by "planetleak" was posted by cams2908:       https://www.youtube.com/watc ...
The 28BYJ-48 stepper motor with a ULN2003 driver board is readily and cheaply available on eBay. With nothing special in mind, other than curiosity,  I bought one and had a quick play with it, using the standard Arduino Stepper library. I managed to do little more than demonstrate that I could make the motor rotate, before I had to put it on one side because of other demands on my time.. Moving on several months to Christmas, my wife bought me a Lego Technic kit  as a joke p ...
App Inventor, Bluetooth and Arduino - Part 3 I’ve already done a lot of work controlling Arduino connected devices over Ethernet, including using a slider from Google Visualisations to control the brightness of an LED, and using three sliders to control a Tri-Colour LED. Both of these exercises were fairly nightmarish, involving a lot of javascript, which I didn’t fully understand, along with the HTTP commands GET and PUT, which I also don’t fully understand! (Anyone inte ...
MIT App Inventor and Arduino Part 2 - send data from Arduino to Android and display I found numerous links via Google for this example; unfortunately a lot of them were the same tutorial posted in different places by the same person. None of them included the Arduino sketch! However, the sketch tuned out to be entirely trivial   I won't bother giving any of the links, because the the whole thing is unbelievably simple!   Here is the Design screen for the App:      ...
App Inventor, Bluetooth and Arduino - Part 1   MISSING IMAGES RESTORED 5 FEBRUARY 2016   I was enthused by Pieter Bok’s post  involving an iPhone App connecting to an Arduino via WiFi:   http://www.element14.com/community/videos/12327/l/arduino-based-automatic-irrigation-system-for-pot-plants   I don’t have an iPhone, or a WiFi shield, but Bluetooth was mentioned in the thread,  so I Googled around for Android, Arduino and Bluetooth, finding several ...
I came across this article by chance:   http://fermentationriot.com/arduinopid.php The article describes a very sophisticated Arduino data collection and display system for a home brewing setup. The data display, in a browser window, interested me because it exploits  free to use  javascript modules, developed and hosted by Google. This post concentrates on one particular module which draws analog meter displays, or gauges: https://developers.google.com/chart/inte ...
I recently adapted my 2 channel temperature datalogger to record temperatures in my household heating system. I wasn't satisfied with reading back a file from the SD card in order to analyse the data; I wanted a near real-time graph in Excel, on my PC. I could have used gobetwino - see my previous post, but it is a bit tortuous.   I invested in an Ethernet Shield and added a webserver to my data logger. Each time a web client requests data, the SD card file is opened and the data streamed ...
neilk

Fun with Gobetwino

Posted by neilk Apr 18, 2012
I have spent some time experimenting with Mikael Morup's Gobetwino package.   Everything I have tried seems to work, eventually. The whole process of communicating, via Gobetwino, between the Arduino and the PC is very time sensitive. Delays in the Arduino code are often necessary to let things happen properly.   The most difficult command to get working was the T command, to get a Timestamp from the PC. I finally solved it with a delay inserted into my Arduino Sketch.   I atta ...
neilk

Getting Started

Posted by neilk Apr 7, 2012
I finally ran power out to my greenhouse last autumn, having lost a load of plants in the previous, exceptionally cold winter. I started thinking about heating and a suitable control system.   At about the same time I saw a reference to the Arduino project in a technical mag. I followed the links, downloaded the software & started looking at things. My programming expertise is/was in ALGOL, FORTRAN, various Assemblers and MUMPS (or M). I stopped programming before I got anywhere near C ...