Archive for November, 2020

Experimenting with ToF10120 LASER Rangefinder on Arduino

Just acquired a TOF10120 Laser rangefinder (from here), and was trying to connect to my Arduino as per instruction here:

https://surtrtech.com/2019/03/18/easy-use-of-tof-10120-laser-rangefinder-to-measure-distance-with-arduino-lcd/

Unfortunately, I keep getting this error upon uploading, after setting up all my connections on the Arduino:

I have two Arduino UNO, and both gave the same error.

Finally after lots of tweaking everywhere, I managed to solve the problem.

All the circuit connections on the Arduino must be disconnected first, before I upload the program.

I repeat the operation on another Arduino UNO: if the circuit connection with the laser rangfinder is still in-place, the uploading will always give error. Once you disconnect all the circuit, upload the program, and reconnect the Arduino circuitry again, every thing worked (as shown in the serial monitor screen below):

Usually I don’t have to disconnect the circuitry while uploading. But in today’s case, and reversibly, repeated on two Arduino UNO, it is proven that you need to disconnect the circuitry while uploading the program. Weird.

How to setup ESP32 with Arduino? (In linux)

Articles like the following worked:

https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-mac-and-linux-instructions/

Except for uploading error:

Solution: press "boot" button after "upload".

And then for the "RTS" reset, just press "enable" button on the ESP32.

Vickblöm

Research scattered with thoughts, ideas, and dreams

Penetration Testing Lab

Offensive Techniques & Methodologies

Astr0baby's not so random thoughts _____ rand() % 100;

@astr0baby on Twitter for fresh randomness

The Data Explorer

playing around with open data to learn some cool stuff about data analysis and the world

Conorsblog

Data | ML | NLP | Python | R

quyv

Just a thought

IFT6266 - H2017 Deep Learning

A Graduate Course Offered at Université de Montréal

Deep Learning IFT6266-H2017 UdeM

Philippe Paradis - My solutions to the image inpainting problem

IFT6266 – H2017 DEEP LEARNING

Pulkit's thoughts on the course project

Thomas Dinsmore's Blog

No man but a blockhead ever wrote except for money -- Samuel Johnson

the morning paper

a random walk through Computer Science research, by Adrian Colyer

The Spectator

Shakir's Machine Learning Blog