Skip to main content

Beaglebone Black board


https://www.youtube.com/watch?v=UMEUo6Wm6u4



Analog Pins must supply with max voltage of 1.8V

    to get 1.8 V from sensor use Voltage divider with 1.8V (Vcc as Vdd_ADC (1.8V))

Getting started:

https://www.youtube.com/watch?v=c81tmb7WJxw


Step1: Connect Ethernet first then power Beaglebone

Step2: https://beagleboard.org/getting-started

        notedown the IP Address:

    


Step3: Browse the IP address.

Step4: select Cloud9 IDE.

step5: take new select terminal

step6: ifconfig

        notedown IP address: 192.168.7.2

step7: close all


for Using SSH

    open putty----> type IP address----->password

    The BeagleBone Black hardware has two default user names: 'debian' and 'root' . For 'debian' , the default password is 'temppwd' . For 'root' , the default password is empty: '' 



 congrats:


Create New python program:


---->      nano test.py


to save: ctrl+o  ------>  enter ------->

to exit: ctrl +x


to run progra: 

------------->       python test.py



Now how to install VNC
step1: download and install Tight VNC viein our laptop:  https://www.tightvnc.com/download.php


step2: Install VNC server in Beaglebone Black

go to putty :        sudo apt-get install tightvncserver

step3: to run :

        tightvncserver  ------> (enter)

    you can setup password for VNC now

        would you like to enter a view only password---------->n

    now beaglebone ready to use VNC

    vncserver :1 -geometry 1200x800 -depth 24 -dpi 96   -----> enter

step4: goto laptop open VNC Viewer

      type IP address: 

        192.168.7.2:1

    the password setup for VNC now has to enter





Runing Python:

https://www.youtube.com/watch?v=fVSOZDOzTjk&t=219s

open putty in laptop -----------> putty---------->

type -------> python -------------> check version of python

get out of python shell 

ctrl+d


to make directory:

        mkdir mohiddin 

create a python file

         nano hello.py

write program:  ---> save----->exit-------> run



Controlling Digital GPIO with Python (Green Pins)

https://www.youtube.com/watch?v=Yg54VE9CeRE&t=35s


lets  use P9_12 (GPIO_60) and P9_2(DGND) 

connect LED in that


open Putty----->create python file---------> write program


output:







Analog Write (PWM: Purple pins)

https://www.youtube.com/watch?v=vAR8v96J3FQ


using : P8_2(DGND) and P8_13(EHRPWM2B) 

connect LED

write program



Output:

what Duty cycle you give that brighter the LED glows.





Read Buttons Using GPIO Pins from Python(Digital Read)

https://www.youtube.com/watch?v=DdBb6htdO3U


must be : 3.3 V very careful (Vmax) 
 to get max vol to 3.3 v connect Vcc of your circuit to P9_3 pin(VDD 3.3V)

we have to use external pull down and pull up resistors atlease 1kohm resisters.

( This pull up or pull down is nothing but a voltage divider circuit)








LED with  Beaglebone Black board

https://www.youtube.com/watch?v=pJWcRPcqk3g


Comments

Popular posts from this blog

Sensors and Transducers for JNTUH Final Year Complete Notes.

The Sensors and Transducers Course divided into 5 units: In Unit I we will discuss about  Measurements,   Errors,  Sensor,  Transducer and its Classification. In Unit II we will discuss about  Characteristics of Transducers ,  Static  &  Dynamic  In Unit III, IV, V we will discuss about   Resistive Transducers,  Inductive and Capacitive Transducer,  Miscellaneous Transducers Course Objectives: To enable the students to select and design suitable instruments to meet the requirements of industrial applications and various transducers used for the measurement of various physical quantities and the following: Various types of Sensors & Transducers and their working principle Resistive, Capacitive and Inductive transducers Some of the miscellaneous transducers Characteristics of transducers Course Outcomes: Student will be able to Distinguish, analyse different types of errors. Students will be able to apply transforms ...

Robotics using Arduino

Robotics using Arduino  onchipLEDonprogram: void setup()  {   // put your setup code here, to run once:   pinMode(13, OUTPUT); } void loop()  {   // put your main code here, to run repeatedly:   digitalWrite(13,HIGH); } onchipLEDoffprogram void setup() {   // put your setup code here, to run once: pinMode(13, OUTPUT); } void loop() {   // put your main code here, to run repeatedly: digitalWrite(13,LOW); } onboardLEDblink1secdelay void setup() {   // put your setup code here, to run once: pinMode(13, OUTPUT); } void loop() {   // put your main code here, to run repeatedly: digitalWrite(13,LOW); delay(1000); digitalWrite(13,HIGH); delay(1000); } externalLEDON1secOFF2secdelay void setup() {   // put your setup code here, to run once: pinMode(2, OUTPUT); } void loop() {   // put your main code here, to run repeatedly: digitalWrite(2,LOW); delay(2000); digitalWrite(2,HIGH); delay(1000); } external4LEDspattern void setup() { ...

Maths Statistics for Class 10

Mean is the sum of observations divided by the total number of observations in a raw data Example:  data:  2,3,5,7                    Mean =  (2+3+5+7) / 4                    Mean = 17/4                    Mean = 4.25 Mean for Grouped data can be obtained by three methods: Direct Method Assumed Mean Method Step-deviation Method Direct Method                            Assumed Mean Method Step-deviation Method Exercise 14.1:        Click this link for Questions and Answers on Mean all 3 Models                https://drive.google.com/file/d/1DD8mvEc0boAoGwdImEJTfnWLM3Tw7p7_/view             Click this link for Questions and Answer...