Profile

Cover photo
Jason Kridner
Worked at BeagleBoard.org
554 followers|139,222 views
AboutPosts

Stream

Jason Kridner

Shared publicly  - 
 
Thanks +Stephen Arnold and +Victor Meyerson for support of +BeagleBoard.org at #SCaLE14x !

And happy birthday Steve!
4
Jeffrey Osier-Mixon's profile photoDrew Fustini (pdp7)'s profile photo
3 comments
 
+Jeffrey Osier-Mixon oh have a beaglebone telepresence robot that +Jason Kridner controls  from Michigan! ;)
Add a comment...

Jason Kridner

Shared publicly  - 
1
Måns Rullgård's profile photoMatt Porter (mdp)'s profile photoDrew Fustini (pdp7)'s profile photo
3 comments
 
I think only raspbian pkg maintainers are haunted by rpi ;)         for(;;) recompile_all_the_things();
Add a comment...

Jason Kridner

Shared publicly  - 
5
Add a comment...

Jason Kridner
moderator

Discussion  - 
 
Congratulations +Bill Traynor on your write-up on Linux.com! +BeagleBoard.org loves +elinux.org! People who support Linux prefer #BeagleBoneBlack . 
8
2
Christopher Friedt's profile photo
Add a comment...

Jason Kridner
moderator

Discussion  - 
 
On Debian images, you can 'apt-get install squeak-vm unzip; http://squeakvm.org/unix/release/Squeak4.2-10966.zip; unzip Squeak4.2-10966.zip; squeak Squeak4.2-10966.image &' to make this tutorial work. Don't forget to load the device tree for your ADCs with 'echo cape-bone-iio > /sys/devices/bone_capemgr./slots'! Also, be aware that this puts the ADC path at /sys/devices/ocp./helper.*/AIN0.

On BeagleBone Black, it is also possible to use the built-in HDMI display, rather than go over remote X11.
5
1
Add a comment...

Jason Kridner

Shared publicly  - 
 
Don't forget about the official resource for +BeagleBoard.org support!
BeagleBoard. Home page: http://BeagleBoard.org. Live chat: http://BeagleBoard.org/chat. Links to answers to frequently asked questions are at http://BeagleBoard.org/faq. It is polite to follow the links and read the documents before posting your question. View topics in all categories ...
1
1
Add a comment...

Jason Kridner

Shared publicly  - 
 
The BeagleBoard.org Foundation is a US-based 501(c) non-profit corporation existing to provide education in and promotion of the design and use of open-source software and hardware in embedded computing.
1
1
Måns Rullgård's profile photo
 
My dentist tells me to floss daily.
Add a comment...

Jason Kridner

Shared publicly  - 
 
I normally use my +Jason Kridner account, not this one. Google hasn't provided me with a way to combine their G+ profiles yet.
1
Add a comment...

Jason Kridner

Shared publicly  - 
 
Follow me at +Jason Kridner!
1
Michael Leach, Sr.'s profile photoSHAO MIN's profile photo
2 comments
 
// JavaScript Document
var b = require('bonescript');
//var fs = require('fs'); // needed to open files
var iic = '/sys/class/i2c-adapter/i2c-1/'; 

// Sensor Locations on the BeagleBone Black
var pressureInput = '/sys/bus/i2c/devices/1-0077/pressure0_input';
var humidityInput = '/sys/bus/i2c/devices/1-0040/humidity1_input';
var temperatureInput0= '/sys/bus/i2c/devices/1-0077/temp0_input';
var luxInput= '/sys/bus/i2c/devices/1-0039/lux1_input';
var temperatureInput1= '/sys/bus/i2c/devices/1-0040/temp1_input';

/* Sensor Locations on the BeagleBone 
//var pressureInput = '/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0077/pressure0_input';
// humidityInput = '/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0040/humidity1_input';
//var temperatureInput1= '/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0040/temp1_input';
//var temperatureInput0= '/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0077/temp0_input';
//var luxInput= '/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0039/lux1_input';*/


//We will initialize the driver for the BMP085 sensor located at I2C location 0x77
b.writeTextFile(iic + 'new_device', 'bmp085 0x77');

// Location where the sensor values are placed in a .txt file
//var out = fs.createWriteStream('/home/root/Desktop/sensors.txt', {flags: 'w'}); // the location we will write the inputs
//console.log("The following values have been read by the WeatherCape:\n");
//out.write("The following values have been read by the Weather Cape:\n");


/* Opens,reads, and prints humidity, lux, pressure, and temperature. */
b.readTextFile(pressureInput, printPressure);
b.readTextFile(humidityInput, printHumidity);
b.readTextFile(temperatureInput0, printTemperature);
b.readTextFile(luxInput, printLux);

/* Prints Pressure */
function printPressure(x) {
   console.log("Pressure: ", x.data/100 + " millibar");
   out.write("\tPressure is: " + x.data/100 + " millibar\n");
}

/* Prints Humidity */
function printHumidity(x){
   console.log(x.data/1000+ "% Humidity");
   out.write('\t' + x.data/1000 + "% Humidity\n");
}

/* Prints Temperature */
function printTemperature(x){
   console.log("Temperature: ", x.data/10 + '\xB0' + " Celcius"); // '\xB0' is decimal in hexademical
   out.write("\tTemperature is: " + x.data/10 + " degrees Celcius\n");
   x.data /= 10;
   x.data *= 1.8;
   x.data += 32;
   console.log("or: ", parseFloat(x.data).toFixed(3) + '\xB0' + " Fahrenheit");
   out.write("\t\t    or: " + x.data + " degrees" + " Fahrenheit\n");
   out.write("*******************************************************\n");
}

/* Prints Lux */
function printLux(x){
   console.log("Lux: ", x.data);
    out.write("\tLux: " + x.data);
}
out.write("*******************************************************\n");

how do i run this code using php script?
Add a comment...

Jason Kridner

commented on a post on Blogger.
Shared publicly  - 
 
Added  instructions for running on Debian as I saw some renewed interest (blog posts) on this topic.  http://beagleboard.org/project/smalltalk/
Non-technical folks may want to skip this post, but for those of you who are, you know about my affinity for Smalltalk (Squeak in particular) as a great environment for learning and prototyping. You may also recall that we got excited when we learned about the development board called the ...
2
Add a comment...
Work
Employment
  • BeagleBoard.org
    Community Support
Basic Information
Gender
Male