Jump to content

RudyB

Fun with Arduino - how to get started, and more

Recommended Posts

Fun with Arduino 35 Turn Table Control with a Stepper Motor

 

Now that we can find the zero switch or -sensor, and we know how to position our application by rotating an exact number of steps, we have all ingredients to build say a turn table, or a translating table or an elevator.

 

We use a Tuning sketch to determine the number of steps for every stop position, counting from the zero position. The numbers are entered into the Turntable Control sketch. Digital inputs are used to tell the Arduino to which position we want to move.  

 

Link to Fun with Arduino 35 Turn Table Control with a Stepper Motor


36033228kx.jpg

  • Like 1

Share this post


Link to post
Share on other sites

Fun with Arduino 36 Store Data in Non Volatile Memory EEPROM

 

Because a stepper motor does not know where it is after startup, we need a way to find out where it is. We used a zero find routine to rotate the motor until a sensor is triggered. But suppose we were able to store the last position we moved to in memory and read it our after startup?

 

The good news is: this is possible. The Arduino has 1024 bytes of non volatile EEPROM memory on board. The video shows how we can write data to memory and how we can read it out at startup such that we can start to use our turntable immediately after starup, without the need to find zero first.

 

Link to Fun with Arduino 36 Store Data in Non Volatile Memory EEPROM


36151676ta.jpgvv

  • Like 2

Share this post


Link to post
Share on other sites

Fun with Arduino 37 Control a NEMA 17 Stepper Motor with Easy Driver

 

Several driver circuits are available to control a more powerful stepper motor like a NEMA 17. In this video the EasyDriver is used, but the software is applicable to any driver with Enable, Direction and Step inputs.

 

Link to Fun with Arduino 37 Control a NEMA 17 Stepper Motor with Easy Driver


36205987bk.jpg

  • Like 3

Share this post


Link to post
Share on other sites

Fun with Arduino 38 - Ultrasonic Distance Measurement with HC-SR04

 

The HC-SR04 is a sensor that has a little loudspeaker and a little microphone via which the distance to an object can be measured. It's ultrasonic, humans can not hear it.

Don't expect super high accuracy of this less than $1,- costing device, yet I was pleasantly surprised to see that measurements with an accuracy of a couple of mm are very well possible.

 

Link to Fun with Arduino 38 - Ultrasonic Distance Measurement HC-SR04


36544908fy.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Fun with Arduino 39 - OLED display SSD1306

 

We're going to add an OLED display to the ultrasonic distance measurement of the previous video. Together with a battery it now becomes a fully handheld portable device. This is just for fun, the actual purpose is to introduce the OLED display ... once we have that up and running there's a whole lot of fun and useful applications where they can be applied.

 

Link to Fun with Arduino 39 - OLED Display SSD1306


36717754og.jpg

Edited by RudyB
  • Like 2

Share this post


Link to post
Share on other sites

Fun with Arduino 40 - Station Platform Departure Display with Analog Clock

 

In the previous video we attached an OLED and we saw how to display a text and some lines. In this video we take this a step further, we'll make a station platform train departure sign with a working analog clock.

 

Via digital inputs a selection can be made of 6 different messages to display. This can be controlled via push buttons or via a DCC decoder.

The clock starts at a random time, this requires no other hardware than the Arduino and the OLED. In the next video we'll add a Real Time Clock module to make the clock run on actual time.

 

Link to Fun with Arduino 40 Station Platform Departure Display with Analog Clock


36827560uc.jpg

  • Like 3

Share this post


Link to post
Share on other sites

Hi Rudy

 

 

enjoying following this topic and learning from it, I never thought i'd be playing arduinos, can't wait for the next installment

 

 

steve

  • Like 1

Share this post


Link to post
Share on other sites

Fun with Arduino 41 Real Time Clock DS1307

 

The station platform clock of the previous video runs, but it shows a random time. We can add a Real Time Clock module to have it show the current time. Several versions of Real Time Clock modules are available. This video is about the DS1307 RTC, which can be had for under $1,-.  

 

Link to Fun with Arduino 41 Real Time Clock DS1307

 


37939342lr.jpg

  • Like 3

Share this post


Link to post
Share on other sites

Welcome back with another interesting project Rudy.

Long time no see.

  • Agree 1

Share this post


Link to post
Share on other sites

So glad I found this thread. It had one sketch that I was really interested in - #23 - Neopixel addressable LEDs. Just what I was after for my terraced houses. They are low relief with an upstairs front room, a downstairs front room and a fireplace. Thanks Rudy - fantastic thread and I have now started following your blog.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.