Posts

Showing posts from May, 2018

The LoadCell Project

Image
So I just finished my first draft code for the Load cell with Arduino and decided to share it. Feel free to make any modifications on it or create your own. Also, I decided to use the LCD module instead of the MCUFriend as i didn't want a lot of functionality in it. This is the code i used. It's pretty simple. /*  * Chemwen0  * By Doreen Chemweno  * Load Cell HX711 Module Interface with Arduino to measure weight in Kgs  Arduino   pin   5 -> HX711 CLK  6 -> DOUT  5V -> VCC  GND -> GND  Almost any pin on the Arduino Uno will be compatible with DOUT/CLK.  The HX711 board can be powered from 2.7V to 5V so the Arduino 5V power should be fine. */ #include "HX711.h"  //You must have this library in your arduino library folder #include <LiquidCrystal_I2C.h> #define DOUT  6 #define CLK  5 LiquidCrystal_I2C lcd(0x3F,18,2); //important for display to work. Set the LCD Address and the dimensions of your LCD in terms of Columns and L

MIT App Inventor

Image
Instead of Android Studio, I decided to use MIT App Inventor 2 which is a web based, open source application that is maintained by MIT( Massachusetts Institute of Technology ) and is used for developing simple Android Aplications.  I liked and preferred it to Android studio because of its simplicity. Anyone can use it, even those who have very little coding experience can easily understand it and within no time be able to develop their own android applications. For those who are just beginning the programmer journey in Android, you can start with App Inventor for it to aid you in understanding basic concepts on Android App development then later start using Android Studio as it is actually the recommended and official IDE for Android Development. This is part of the code from the app (LoadBlue Control) I will be using for our Weighing Scale project. MIT App Inventor is a great way to start learning how to build applications for Android. Once you get a good hold of how to c