fbpx

Club de Arduino – Week 5: Finishing the Robot

The assembled arduino robot

Thomas was right. It was impossible to get anyone to do anything in December in Medellin. So I continued on my own.

There was one challenge left before I could assemble it all and program the robot: The ultrasonic sensor.

I hadn’t tested it yet, so I had no idea how well it would work.

What happens when you force 3V onto a 2V LED?

I remember something I struggled with in the beginning.

The LED.

It’s supposed to have a fixed voltage drop, right?

Like 2V.

But what if I force 3V across its legs with a 3V battery?

Club de Arduino – Week 4: Moving Back and Forth

This week we got a new member. So we revised what we’ve done so far with our new member:

The first week we looked at different robot platforms. We wanted to be able to go forward, backward, and make turns. And we wanted it as cheap as possible. We looked at different platforms at the local store, then settled for one with three wheels, three levels and two motors.

What Is an H-Bridge?

A simple H-bridge with BJT transistors

An H-bridge is a simple circuit that lets you control a DC motor to go backward or forward.

You normally use it with a microcontroller, such as an Arduino, to control motors.

When you can control two motors to go either forward or backward – you can build yourself a robot!

H-bridge prototype on breadboard

Club de Arduino – Week 3: H-bridge and the Bluetooth

Robot platformWe made progress on our robot this week! Check out the video at the end of this post.

This is what happened:

During this week I figured out that our H-bridge circuit did not work as intended.

The problem was the TIP12x transistors. They have a huge voltage drop from collector to emitter of 2V. With two of them in the H-bridge design, there was only 1V left for the motor.

I thought the problem was the design. That we needed to increase the current or something to reduce the voltage, but I was unable to do it.

Club de Arduino – Week 2: Building an H-Bridge

H-bridge prototype on breadboard

H-bridge prototype on breadboardToday we tried to build an H-bridge to control the motors.

An H-bridge is a circuit that makes it easy to control a motor to go backward or forward, for example from an Arduino.

We used TIP120 and TIP127 transistors and built the following circuit using 5V as VCC:

Club de Arduino – Week 1: Initial meeting and planning

We started out as a group of three people.

Eduardo, Jefferson, and me.

Today, we discussed what to build.

We wanted to build something that would be fun, and that we could finish within the time frame I’m going to stay here (~2 months).

And it should be based on an Arduino.

Jefferson wanted to build a CNC mill.

But such a machine is a bit complex, so we decided to discard that for now.

Then Eduardo suggested building a sumo robot.

How to build a robot – Club de Arduino

It was sunny and hot.

I was wearing a backpack and I could feel the sweat building up on my back.

But I had to walk fast.

Because I was late.

And because the locals had told me to be careful in the center.

I had emailed with Thomas, the founder of the makerspace Göra, before coming here.

We had discussed electronics workshops but decided that it would be better to meet in person to figure out the details.

I did not know what to expect.

Across the street, I saw it.

Is the current lower after a resistor?

Ohms law cartoon
Ohms law cartoon

Nooooo!

It is not.

It’s a common misunderstanding.

But let me make it clear:

The current after a resistor is the exact same as it was before the resistor.

“But doesn’t the resistor reduce the current?”

How Astable Multivibrator Circuits Work

Astable multivibrator on a breadboard
Astable multivibrator drawing

The astable multivibrator circuit is a classic circuit for flashing two LEDs. It doesn’t have to flash two LEDs though. It can blink just one LED. Or it can create a tone to play on a speaker.

First, let me show you the circuit in action:

Want to know the theory behind how the circuit works?

There have been many attempts to explain this circuit. Most have failed to explain it to other than those already beyond the beginner level.

So here’s my humble attempt.

Build an Atari Punk Console this evening

Atari punk console on breadboard

Do you want a fun and easy-to-build circuit? Here’s the simple, but fun Atari Punk Console – with schematics and parts list. It’s a quick build, so you can easily build it during an evening.

It takes its name from the old Atari computers of the 80s because it makes similar sounds.

And after my (not-so-intense) research (I basically just read about it on Wikipedia), I’ve come to learn that the circuit was first published in a Radioshack magazine in 1980.

Here’s a short clip of me playing with the circuit I built:

My trip to Shenzhen [VIDEO]

The group at a bar in Shenzhen

“We’re never going to make it!”

Jensa and I arrived early at the airport in Oslo.

But that didn’t help. Because our flight from Oslo had technical problems. So it was delayed and we missed our connecting flight to Hong Kong…

Not a good start of our trip…

Resistor before or after LED?

I just published a new video where I answer the question:

“Does the resistor go before or after the LED?”

If you don’t want to watch the video, I’ve attached the script below so you can read it instead:

How to use KiCad: A 5-Minute Quickstart Guide

Screenshot of boar from the how to use kicad video

In 2017, I started using KiCad as an alternative to Eagle.

For those unfamiliar with these programs: they are programs you use to design a printed circuit board (PCB).

And I decided to create a quickstart introduction to KiCad.

In this 5-minute video you’ll see how to design a simple circuit board from scratch:

The circuit that makes sound

“The music that we are hearing is actually 8 seconds old”

That was my friend’s claim.

My friends and I were about 13 years old, and we heard loud music coming from a big event about 3 kilometers away.

“The speed of sound is 340 meters per second, and the event is 3 kilometers away. So that means what we are hearing now is actually what they played 8 seconds ago at the stadium” our friend told us.

I found it hard to accept because I didn’t know too much about sound and how it worked.

But our friend was really good at memorizing facts.

And he was right.