Web Scraping with Beautifulsoup

Posted by:

Web Scraping with Beautifulsoup

Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work.

A Gentle Introduction to Overall Steps

The HTML tags contained in the angled brackets provide structural information (and sometimes formatting), ...

Continue Reading →
0

Transcompile Arduio TFT GUI Sketch from SVG File

Posted by:

Preamble

Let machine do the dirty work. To continue what I started in last post, I tried to see if it is possible to parse the SVG file and generate arduino sketch code out of it. The answer is yes. There is a wonderful post and a SVG Optimiser which helps me greatly for this project.

Parse the SVG file with the powerful lxml to generate an element ...

Continue Reading →
1

Access SD Cards from TFT LCD Shield Using Arduino Mega 2560 Soft SPI

Posted by:

Preamble:

Some things to keep in mind when using the SD Library -from official site and SD library

The communication between the microcontroller and the SD card uses SPI, which takes place on digital pins 11, 12, and 13 (on most Arduino boards) or 50, 51, and 52 (Arduino Mega). Additionally, another pin must be used to select the SD card. This can be the hardware SS pin – ...

Continue Reading →
11

Arduino TFT LCD GUI – Load Bitmap Image

Posted by:

Preamble

There are two ways to draw bitmap images in Arduino TFT LCD – to draw from SD card, or convert them into byte array. The first is more powerful and works with true color bitmap images; the 2nd approach is more suitable for simple logo and monochrome images, and there is no need for SD capability for this method.

Convert Images to C++ Byte Array

There are a ...

Continue Reading →
0