bradsmc.blogspot.com
Brad's µC Blog : July 2014
http://bradsmc.blogspot.com/2014_07_01_archive.html
Notes on Working with Various Microcontrollers and Embedded System Boards. Wednesday, July 16, 2014. C# (Mono) Program to Read an TMP102 Temperature Sensor on a pcDuino 2. Mono is an open source implementation of Microsoft's .NET framework. It is actually very easy to install Mono on the pcDuino 2 and get up and running with a fairly simple C# program that uses the i2cget utility to read the TMP102 temperature registers, convert it to Celsius and Fahrenheit, and print the results to the console. Using Sy...
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: June 2015
http://bradsrpi.blogspot.com/2015_06_01_archive.html
Brad's Raspberry Pi Blog. Thursday, June 11, 2015. Win 10 IoT on RPi 2: Simple C Code to Control an LED via a RadioButton. This example assumes that you have Windows 10 IoT Core set up already and have configured Visual Studio to work with your device. This is covered in the MS getting started documentation. For what it's worth, I'm using the preview version of Visual Studio 2015 installed on a Windows 10 preview VM running under Parallels on my Mac. Add Reference to Visual Studio Project. You will need ...
bradsmc.blogspot.com
Brad's µC Blog : June 2015
http://bradsmc.blogspot.com/2015_06_01_archive.html
Notes on Working with Various Microcontrollers and Embedded System Boards. Sunday, June 28, 2015. RFID for Intel Edison. The following example shows how to connect an ID-20LA RFID reader. 125 kHz) to an Intel Edison and read RFID tags. This example reads RFID cards using a relatively simple program written in C. To keep things simple, the program just reads the card and prints the number to the terminal window. Using a. Sparkfun RFID USB Reader board. Included in the starter pack for Edison. Int run = 1;.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: January 2014
http://bradsrpi.blogspot.com/2014_01_01_archive.html
Brad's Raspberry Pi Blog. Wednesday, January 1, 2014. C Program to Read Temperature from Multiple 1-Wire Temperature Sensors Connected to a Raspberry Pi. For a more developed version of this program that also saves the data to a Sqlite3 database, see this post. I found this post by Matt Hawkins at Raspberry Pi Spy very helpful. This code relies on two kernel modules that must be loaded by the following commands before the code is run:. Int main (void) {. Struct dirent *dirent;. Ssize t numRead;. 1-wire d...
bradsmc.blogspot.com
Brad's µC Blog : Installing Nano on an Intel Edison
http://bradsmc.blogspot.com/2015/06/installing-nano-on-intel-edison.html
Notes on Working with Various Microcontrollers and Embedded System Boards. Saturday, June 27, 2015. Installing Nano on an Intel Edison. I've started experimenting with an Intel Edison and the Sparkfun Starter Pack for Intel Edison. Things have gotten off to a good start, but I missed the nano editor. I couldn't install nano using opkg, but the following code will download the source code (using wget), compile it, and install it. Subscribe to: Post Comments (Atom). RFID for Intel Edison.
bradsmc.blogspot.com
Brad's µC Blog : February 2013
http://bradsmc.blogspot.com/2013_02_01_archive.html
Notes on Working with Various Microcontrollers and Embedded System Boards. Thursday, February 28, 2013. Maple Mini and TMP102 Temperature Sensor. The TMP102 temperature sensor and breakout board from Sparkfun. Connects to the Maple Mini. Via I2C (using the Maple Wire library. Included with the Maple IDE). The following basic example reads the temperature in Celsius from the TMP102, converts it to Fahrenheit, and prints the results to the USB serial console. SCL 16 (i2c1 - scl). SDA 15 (i2c1 - sda).
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: July 2014
http://bradsrpi.blogspot.com/2014_07_01_archive.html
Brad's Raspberry Pi Blog. Tuesday, July 15, 2014. C# (Mono) Code to Read an TMP102 I2C Temperature Sensor on a Raspberry Pi. To install Mono, run the following apt-get command as root:. The will get you the complete Mono package. For this example, I am using the TMP102 on a breakout board from Sparkfun. The i2cget utility is included with the i2c-tools package. If you don't already have it installed, you can run the following command as root to install it -. Using System.Diagnostics;. Private Process p;.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: gcc-4.9 & g++-4.9 for the Raspberry Pi (C/C++ 11 & 14 Support)
http://bradsrpi.blogspot.com/2015/04/gcc-49-g-49-for-raspberry-pi-cc-11-14.html
Brad's Raspberry Pi Blog. Tuesday, April 7, 2015. Gcc-49 and g -4.9 for the Raspberry Pi (C/C 11 and 14 Support). I haven't done any posting here for a while, but I found information good information about installing newer versions of the GCC compilers with support for C11/C 11 and C 14:. Solarian Programmer -Raspberry Pi - Install GCC 4.9 and compile C 14 programs. Posted by Sol on 01/13/2015). Subscribe to: Post Comments (Atom). Gcc-49 and g -4.9 for the Raspberry Pi (C/C 11 &.
bradsrpi.blogspot.com
Brad's Raspberry Pi Blog: April 2013
http://bradsrpi.blogspot.com/2013_04_01_archive.html
Brad's Raspberry Pi Blog. Saturday, April 13, 2013. Serial (UART) Communication between a Netduino Plus 2 and a Raspberry Pi. This code is part of a small experiment to work out how to send data between a Raspberry Pi and a Netduino Plus 2 via a serial (UART) connection. See this posting on one of my Arduino/Netduino blog. For more information (including notes on how the two devices are wired together). Ser = serial.Serial("/dev/ttyAMA0", baudrate=115200). Read 1-byte command from Netduino. If c = '@':.
bradsmc.blogspot.com
Brad's µC Blog : Java 8 Program to Record GPS Data to a JavaDB Database on the Beaglebone Black
http://bradsmc.blogspot.com/2014/06/java-8-program-to-record-gps-data-to.html
Notes on Working with Various Microcontrollers and Embedded System Boards. Sunday, June 22, 2014. Java 8 Program to Record GPS Data to a JavaDB Database on the Beaglebone Black. I posted yesterday about how to install the Java 8 JDK on the Beaglebone Black. While JavaDB is included with the JDK, a couple steps are needed to configure it. I am using JavaDB in network server mode so that it can be accessed simultaneously from programs running in separate JVMs. Export DERBY HOME=$JAVA HOME/db. Start the Jav...