Pages

Tampilkan postingan dengan label part. Tampilkan semua postingan
Tampilkan postingan dengan label part. Tampilkan semua postingan

Minggu, 15 Mei 2016

Arduinos and Motors Part 1

So tonight I took my first look at Arduinos and motors, watching a couple videos and reading a few webpages that talk about this topic.

Im spending time on how DC (direct current) motors interact with Arduinos because this weeks Humboldt Microcontrollers (MCUs) Group meeting will be at least partly focused on motors and MCUs. When the group is discussing this topic, it would be nice if I have at least a general understanding of what theyre talking about, even if some or a lot of what they say is over my head, both knowledge and experience-wise.

I started out by watching the Jeremy Blum Arduino Basics #5 video tutorial, which addresses motors and transistors. I didnt try to do the exercises in the video while I watched it today because figuring out the exercises, wiring up the breadboard, writing the code and figuring out what I did wrong will take a couple hours, based on my experience with the earlier Blum video tutorials. Tonights video viewing was just to find out what components were used in the exercises and to get an overview of what Jeremy is trying to teach in the video. At right is the DC motor that came with the official Arduino Starter Kit. I need to figure out whether that motor will work with the exercise Jeremy presents, because he doesnt always use parts from the starter kit that I have.

After watching the video, I did some online reading, starting out with the Adafruit Arduino Lesson 13: DC Motors. I wanted to read this over to compare Adafruits intro to Arduino and Motors to what Jeremy discussed in his video. Next I read a blog entry titled, Using motors with an Arduino. The post author said, "Motor control turned out to be trickier than I expected, and I dont see a lot of "Arduino motor control for dummies" pages on the web, so Im writing one." The blog post had some good tips about the authors experiences controlling motors with an Arduino. Something the post author did was buy a Freeduino motor shield kit (shown at left) and solder it together. That might be a fun, interesting and useful way for me to improve my soldering skills!

The post talks about controlling motors with an MCU using Arduino shields for motors, using a motor driver carrier PCB, using electronic speed controllers (ESCs) and using H-bridges. One of the authors goals was to find an inexpensive Arduino motor control method because they were shopping for parts to teach a summer camp class in robotics. After the post was written, someone suggested the author use a transistor as a very inexpensive way to run small motors and protect the Arduino from a high current load. The tutorial linked by the author for the transistor method shows pretty much the same concept as Jeremy explained in the #5 video.

One last webpage I read about motors and MCUs was on a Wikispaces wiki called Arduino-Info. This page had some info not covered on the other online places I visited today. It talked about two ways to totally protect the Arduino from the motors high voltage or high current. (I dont know if you need to protect it from one or the other or both. Something else to try and figure out before this Thursday evenings meeting.) The two complete isolation methods are to use an opto-isolator (as shown to the right above) or use a mechanical relay.

Tomorrows goal for my "Arduinos and Motors, Part 2" post will be to start figuring out how to breadboard the first exercise in Jeremys video. He uses a breadboard that has three terminal posts hooked up for the exercise, and I dont have posts on my breadboard. So Ill need to figure out if those posts are essential, or if theyre just a convenience that I can work around on my breadboard.

The Blum videos are Arduino basics tutorials, but someone as inexperienced with electronics as I am needs to spend a fair amount of time researching and talking to people to figure out how to hook up the different circuits shown in the videos. Thats mostly a good thing because figuring that stuff out, rather than just blindly following each step, helps me to better understand and remember the concepts presented in the videos.

However, when someone new to microcontrollers comes to the Humboldt Microcontrollers Group to learn how to use MCUs, we need to be aware of that persons potential frustrations when they dont have a clue about how to hook up some of the circuits in the Blum videos.

Reminder! This Thursday, June 12, from 6 to 8 PM is the third meeting of the Humboldt Microcontrollers Group at 1385 8th Street, Arcata, California, USA. To make sure no one gets locked out of the building (which happened two weeks ago), well start out the night by meeting at the big table right by the front door. Well also have a sign on the door with a cell phone number of someone whos in the meeting so if were not by the door later in the evening, people who are inadvertently locked outside can call for someone to come open the door.

**********
Read More..

Sabtu, 14 Mei 2016

Arduinos and Motors Part 3

Tonights post is a chance to formulate some thoughts for tomorrows meeting of the Humboldt Microcontrollers Group, where well be talking about Arduinos and motors, and maybe motors with MCUs in general.

Tomorrows meeting will be reviewing issues related to Jeremy Blums Arduino Basics #5 video tutorial. I didnt progress on my first MCU-controlled motor exercise from video #5 yet. Didnt have a chance today to figure out whether either of the two standard DC motors I have are suitable for use with the transistors I have available. That will likely get figured out either at the meeting tomorrow or sometime this weekend.

So here are a list of questions about MCU-controlled motors for tomorrows meeting, if theres time to get to them. If theres not time, Ill research the answers on my own. If you have other questions, let me know, and Ill try to make sure they get brought up at the meeting.
  1. When do you use a motor shield instead of just a transistor?
  2. Has anyone in the Humboldt Microcontrollers Group ever built a motor shield?
  3. What are the features of a motor shield for projects people in the group have done?
  4. What are some of the applications for Arduino-controlled motors?
The main applications I know of that Id work on for Arduino-controlled motors are 3D printers, robots and moving Halloween props. Im hoping the others at tomorrows meeting have a few more ideas, especially smaller and less expensive projects where I can get some experience on practical applications for the motors without having to spend too much time or money on the project. Maybe I can find open source plans for a micro quad copter that uses an MCU and doesnt cost too much for the components.

Tomorrow night, June 12, is the third meeting of the Humboldt Microcontrollers Group. Well be meeting from 6 to 8 PM at 1385 8th Street in Arcata, California, USA. People interested in microcontrollers or Arduinos are invited to join us -- the event is free, you dont have to know how to program microcontrollers, and theres no need to be a member of anything to participate.

So if you live in Arcata, Eureka, McKinleyville, Fortuna, Trinidad, Blue Lake or any of the other fine parts of the Humboldt region, you should consider participating in a new activity in the area -- the Humboldt Microcontrollers community.

**********


Read More..

Sabtu, 30 April 2016

Rain Rain »

 Have had about 10-15 mm of rain in the last 24 hours.... Glad I didnt fill up the beds as I was counting on the rain doing it for us....

Didnt get much done yesterday except a bit of paving but I can see the end in sight....
Have been waiting to do this bed as the paving around it was a bit rushed & needed a touch up.
I have the tin & organised the angle so will only need to buy some sand for the reservoir then last bed can go in... Will need to lay some pavers at the other end & all the beds will be finished for this Year..
            **Does happy Dance**


We have had a few visitors in the garden this week, a pair of crows..... Thought they were harmless enough to begin with but have discovered that they are nicking the eggs from out of the chook house.. Will have to wait for the Chooks to lay before we let them out from now on Me thinks..

Have found a few other more welcome guests in the garden.. Have come across 10 or so of these little fellows as well as some rather large skinks that are just to quick for the camera...







Just a few update shots from around the garden....

Left : Rainbow Silverbeet, Sugarloaf, Wombok, Bush beans, Strawberry Barrel..

Right : Honey Pod Peas, Thai Egg Plant, Bush Beans..


Left : Russian Kale, Zucchini..

Right :Carrots, Beetroot, Lettuce & a feral Sweet Potato..





Left : Chillis, Leeks & shallots..


Right Front Bed : Mini Roma Tomatoes, Capsicum,Zucchini..

Right Rear Bed : Golden Nugget & Butternut Pumpkins..



This weeks harvest....
Kale, Beans, Snow Peas, Silverbeet, Chillis, Shallots, Lettuce & Zucchini....
We got 3 eggs most days until our guests moved in....


Have a Great one All....

: )»
Read More..

Selasa, 12 April 2016

Plans MK Something !!!! Part 2

Well, the rain never appeared so I had a chance to finish the 2 new Beds.....
Also had another thought on the layout of the Garden.....

The last bed will be smaller so we will have a bit of space at one end for seats & a small table/box... The bench/box will still be built but placed elsewhere.... This will allow for some extra Wicking barrels to be made & placed around the patch....
We still  have plans in the future to build a few new beds down one side of the patch... We need to build a retaining wall & new fence first so not to worried about not having as much garden space for the time being...

Have a great one all....

: )»
Read More..

Rabu, 30 Maret 2016

Organising the Yard Part II

Monday walk through...
 A bit of a walk through looking at a few bits around the yard that we did on the weekend in the yard & Veggie Patch...



Harvesting the Spice barrels...
We decided to harvest the Galangal, Turmeric & Ginger (GTG) early this year  so we could renovate that part of the patch for the Aquaponic system...

We got far more than we thought we would as the soil they were planted in was of very poor quality...The Worm cast & Compost teas gave the leaves a boost in the last few months so the rhizomes must of benefited as well I think...


I think we got twice the Turmeric (left) than the last crop, about the same from the Galangal (middle)... The Ginger (left) produced a lot more than last years crop that was grown from rhizomes purchased from the supermarket... This crop was grown from rhizomes purchased from Green Harvest & produced about double the amount of better looking ginger... Glad we paid the extra now... The pieces with stalk still on them will be given to others & some will be planted into Bed #9 with the Lemon Grass...


New Barrels & other Bits... 
2 new Wicking Barrels were made up for some seedlings in need of new homes... 2 purple & 1 Thai basil (left) were put in a barrel down in the patch & the Bell Chilli & 2 x of our Banana x Chillies (right) were put in a barrel beside the new Spice barrel by the back stairs...


All the remaining potted veggies were put on a frame around the side of the house with only a few pots & the Bromeliads, including the Pineapple, were left under the stairs with some Aloe & herbs.. The Strawberry wall (left) has had a minor renovation with some more wire cut out to allow for the plants settling down further in the wall & restricting the crown from sprouting more growth...

Have been harvesting a few Broccoli flowers (left) for salads & nibbles while walking around the patch.. Will be saving some seeds once they set..
 There is only 1 white Kohlrabi left (right) & B? wants to leave it to see how large it will grow...Will be a week or 2 before the Purple ones will be ready.. Planted out 10 others around the patch & plan to sow some more seed when we can find some space...

The Passion fruit barrel has been overrun by feral Tomatoes & Eggplants that have sprouted from the worm cast that was placed under each of the seedlings... Shall have to thin them out soon but am thinking of leaving the Eggplant in just to see what type it turns out to be... 
 Have also moved bits around the yard & have packed up all the composting barrels until after the reception... I might be able to take out Bed #5 , put in the bedding pebbles, cut down then place the IBCs  before the reception is held but it might be a push.. Was hoping to have a little Barrel system up by then but the 2 new Wicking Barrels have taken up the spot next to the stairs where I was going to put them... Such is...

Random Pics...
 Some of the produce we have been picking...
Long early Eggplant, Beans, Kohlrabi, Beans, Beetroot, Lemons, Beans,Mangle Leaves, Snowpeas, Dragon Carrots, Beans, Cape Gooseberries, Raspberries, Beans, Honey snap Peas, Oh & did I mention Beans ???



Have also been trying to get a Celery base to shoot & will try to plant it once the roots come in... We do the same with store bought Shallots/Spring onions (depending on what country you live in).. Have bought a few bunches of them marked down to clear for 50cents & didnt loose any after planting them...
 
 Thats about all until the weekend..
Have a great one...
: )»
Read More..

Kamis, 10 Maret 2016

Arduino and Motors Part Not 2 Far

Started breadboarding the first exercise in the #5 Jeremy Blum Arduino Basics video tutorial; it talks about motors and transistors.

Didnt get too far. Got all my electronic components out and sorted through them to find the parts needed for the first Arduino/motor exercise. Got the 1k ohm resistor and the 1 microfarad capacitor. Found a 1N4004 diode, the Arduino Uno, the breadboard and jumper wires. But then I
ran into transistor problems.

The parts list that accompanies Jeremys #5 video says to use a 2N7052 NPN transistor. Well, the
Element14 page for that component says theyre no longer manufactured. Ive got a BC547B NPN transistor and a 2N2222A NPN transistor, but I dont know enough about transistors to know if one of the two transistors I have should work fine instead of the 2N7052. The specs arent quite the same, and I havent yet figured out how to figure that out. Will work on that more tomorrow.

To try and learn a bit more about motors and microcontrollers before the Humboldt Microcontrollers Group meeting this Thursday, I looked at a few more related pages online tonight. One of the topics Im interested in is motor shields for Arduino. Id like to understand when a shield is used, and when the motor is just hooked up to the Arduino without using a shield. Adafruit has a pretty interesting looking shield, the Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit. It appears to be a pretty versatile component that could be used for a variety of projects.

Well, thats all for tonight. Ran out of time to figure out anything else. Need to learn more about transistors...

**********
Read More..