Go to advanced search

by Duane Degn
Wed Jul 23, 2014 5:47 pm
Forum: Automation, sensing and robotics
Topic: L298N Motor driver help
Replies: 31
Views: 35138

Re: L298N Motor driver help

It's this one exactly. Well not that specific one, but you wouldn't be able to tell the difference. http://www.openhardware.pe/store/image/cache/data/arduino_shield/boards/stepperConnections-500x500.jpg Very good. Then the video I linked to earlier explains which pin is for what. You want to pulse ...
by Duane Degn
Wed Jul 23, 2014 3:39 am
Forum: Automation, sensing and robotics
Topic: L298N Motor driver help
Replies: 31
Views: 35138

Re: L298N Motor driver help

That's one bizarre [urlhttp://www.seeedstudio.com/depot/L298-Dual-HBridge-Motor-Driver-p-284.html?cPath=91_92]L298N being sold at the Seed Studio Bazaar[/url]. Some of the images have the motor outputs labeled "GND" and VCC" which is wrong in so many ways. You do NOT want to connect the motor output...
by Duane Degn
Wed Jul 23, 2014 2:18 am
Forum: Automation, sensing and robotics
Topic: L298N Motor driver help
Replies: 31
Views: 35138

Re: L298N Motor driver help

Sorry motor driver board. This one but red. http://www.seeedstudio.com/depot/images/product/robot5.jpg The L298 motor controller comes in several different "packages" or chip shapes. Some are intended to be mounted flush with the PCB (L298P). Some (it would appear most) are mounted vertically (L298...
by Duane Degn
Tue Jul 22, 2014 9:28 pm
Forum: Automation, sensing and robotics
Topic: L298N Motor driver help
Replies: 31
Views: 35138

Re: L298N Motor driver help

Technically, the L298N should be powered with at least 5.8V when used with 3.3V logic on the IN1 through IN4 pins. I made this video to help someone use one of these h-bridges. As you'll see from the end of the video, the L298N works well with 3.3V logic. I agree with the warnings about powering the...
by Duane Degn
Tue Jul 22, 2014 2:47 am
Forum: Automation, sensing and robotics
Topic: ways to wirelessly transmit live video
Replies: 6
Views: 14280

Re: ways to wirelessly transmit live video

I haven't used a WiFi camera myself, but I wasn't aware one needed internet access to use a WiFi camera. I thought one just needed access to your local network. (Edit: I hadn't seen Kusti8's reply. It appears Kusti8 also thinks an internet connection isn't needed.) I imagine streaming video from a U...
by Duane Degn
Sun Jul 20, 2014 8:31 pm
Forum: Automation, sensing and robotics
Topic: Servo tutorials
Replies: 21
Views: 5232

Re: Servo tutorials

If the negative is connected to ground how do I use power from a 6 v battery pack At the very beginning of Joan's video, you'll see an alligator clip attached to the battery pack's negative connector. This negative line passes through the BEC (battery elimination circuit (converting the battery vol...
by Duane Degn
Sun Jul 20, 2014 5:14 pm
Forum: Beginners
Topic: connect a lot to the rpi?!
Replies: 8
Views: 2096

Re: connect a lot to the rpi?!

SSR are designed for either AC or DC. You can't control both types with a single relay as you can with a mechanical relay. I've used SSR many times with 3.3V devices. I haven't measured the current required to trigger the SSR but I'd be surprised if it wasn't low enough to be safe with the Pi. IMO, ...
by Duane Degn
Sun Jul 20, 2014 5:16 am
Forum: Beginners
Topic: connect a lot to the rpi?!
Replies: 8
Views: 2096

Re: connect a lot to the rpi?!

The Raspberry Pi shouldn't be using much current at all to "drive" relays since your relay board should have a drive circuit for the relay. If it doesn't have its own drive circuit, don't use it. A single GPIO pin shouldn't be sourcing more than 16mA at a time and all the GPIO pins together shouldn'...
by Duane Degn
Sun Jul 20, 2014 3:40 am
Forum: Automation, sensing and robotics
Topic: Cambot Using L298N
Replies: 3
Views: 1074

Re: Cambot Using L298N

Magpi should be free, well it always has been fotr me http://www.themagpi.com The data sheet was supposedly the same, except a higher output amperage. even the difference in wiring up has me a tad confused. The "Buy" link under the table of contents made me think I had to buy the issue. Thanks for ...
by Duane Degn
Sun Jul 20, 2014 2:48 am
Forum: Automation, sensing and robotics
Topic: Can I use Arduino Sensor modules/boards with a Rasberry Pi
Replies: 2
Views: 3276

Re: Can I use Arduino Sensor modules/boards with a Rasberry

Just to add to what Doug said, while I2C just requires 2 pins for communication (plus the two power pins), it looks like all three boards have extra interrupt/ready pins. This extra pins let the Pi know when new data is ready to be read. These interrupt pins can free the Pi from continually checking...
by Duane Degn
Sun Jul 20, 2014 2:10 am
Forum: Automation, sensing and robotics
Topic: Cambot Using L298N
Replies: 3
Views: 1074

Re: Cambot Using L298N

The L298N and the L293D use the same sort of programming to control them. If your L298N boards are like the ones I have, then this video should help. I used a Propeller QuickStart board in the video but the Propeller is also a 3.3V device so I don't see why it wouldn't work for the R Pi if it works ...
by Duane Degn
Sun Jul 20, 2014 12:29 am
Forum: Advanced users
Topic: How to connect a 16x2 LCD display and a mini thermal printer
Replies: 4
Views: 1839

Re: How to connect a 16x2 LCD display and a mini thermal pri

You ought to take a look at this thread . Many serial LCDs can use very slow baud settings. I would think a software UART would be more likely to succeed with a low baud setting. I noticed Adafruit has lots of 16x2 LCDs. They also have a I2C LCD backpack. If your thermal printer is like the one Spar...
by Duane Degn
Sat Jul 19, 2014 4:11 pm
Forum: Automation, sensing and robotics
Topic: Servo tutorials
Replies: 21
Views: 5232

Re: Servo tutorials

Copy the following code (manually cut&paste code as the SELECT ALL button screws up formatting). I've found in another forum (Parallax) I participate in, if one selects "reply with quote", then the text inside the code blocks is easier to copy. I haven't tested this yet, but I bet it would work her...
by Duane Degn
Thu Jul 17, 2014 8:03 pm
Forum: Automation, sensing and robotics
Topic: 2 GPIO pins to control motor
Replies: 4
Views: 1875

Re: 2 GPIO pins to control motor

A fellow forum member alerted me to a website which has a truth table for the L298N which contradicted with this section of my above ramblings on H-bridges. The other way to control a motor with only two I/O pins is to tie the enable pin high and use the two direction pins (e.g. IN1 and IN2) to cont...
by Duane Degn
Wed Jul 16, 2014 8:13 pm
Forum: Automation, sensing and robotics
Topic: 2 GPIO pins to control motor
Replies: 4
Views: 1875

Re: 2 GPIO pins to control motor

As others have said, you need an H-bridge. I'd suggest you read the article about H-bridges linked to earlier. Pololu makes a bunch of different h-bridge boards. These newer boards don't waste as much power as heat as some of the older h-bridge chips like the L298, L293D or the SN754410 chip. There ...
by Duane Degn
Tue Jul 15, 2014 8:07 am
Forum: Off topic discussion
Topic: Countering Bad Tutorials?
Replies: 17
Views: 2647

Re: Countering Bad Tutorials?

Obligatory xkcd: http://xkcd.com/386/ I tell you, I thought of that comic many times. But reading the stories like the ones linked to in this post and the one after it were too disturbing to me. I don't know how many more such stories there are. You can probably find more by searching this forum fo...
by Duane Degn
Tue Jul 15, 2014 7:51 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

I'm very glad you took down the video but there is still more you could do to minimize the damage. Come on, I think he's done enough. Let's not waste forum space forcing people into making ever more grovelling apologies. I doubt anyone's keeping offline copies of the offending video. Did I call for...
by Duane Degn
Tue Jul 15, 2014 7:31 am
Forum: Off topic discussion
Topic: Countering Bad Tutorials?
Replies: 17
Views: 2647

Re: Countering Bad Tutorials?

Surely said youtuber would be receiving feedback on YouTube next to the video, saying "I tried it and it didn't work"? Isn't that the right place to state you are unhappy with the content of the video? That's what I thought it would take. But rather than not working, the setup described would appea...
by Duane Degn
Tue Jul 15, 2014 5:31 am
Forum: Off topic discussion
Topic: Countering Bad Tutorials?
Replies: 17
Views: 2647

Countering Bad Tutorials?

I feel like I'm between a rock and a hard place. There is a person making "how to" type videos about connecting hardware to the Raspberry Pi who is woefully unqualified to do so. It's hard to know how many Raspberry Pi boards the videos (one in particular) produced by this person have contributed in...
by Duane Degn
Mon Jul 14, 2014 7:46 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

Matt, I'm very glad you took down the video but there is still more you could do to minimize the damage. I really think you should make a correction video immediately. The video's title should be something like "Urgent! Important Correction to Earlier Video: Raspberry Pi - How to control motors..."....
by Duane Degn
Sun Jul 13, 2014 9:00 pm
Forum: Automation, sensing and robotics
Topic: RPi Rc car not working ok
Replies: 14
Views: 3740

Re: RPi Rc car not working ok

I'll post this in the other threads as well... Before posting this in multiple threads, I think it would be a good idea to get your information correct. I do think the issue of the 5V being a problem when connected to a GPIO pin should be posted to other threads. BUT , and this is the nightmare, if...
by Duane Degn
Sat Jul 12, 2014 3:15 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

I think this is the key issue here is that The Raspberry Pi Guy's honest mistake was horribly magnified by a tiny minority of boards out there. That's the problem here: there are a load of very similar boards of highly varying quality, configuration and default jumpering. There are a lot of models ...
by Duane Degn
Sat Jul 12, 2014 8:10 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

Back in May Joan suggested you measure the voltages on the pins. You want us to believe your L298N board which looks just the same as the ones with 5V next to the enable pins has different traces than the rest of ours? If you connect 5V to the 5V screw terminal and measure the voltage on the pins b...
by Duane Degn
Sat Jul 12, 2014 7:23 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

I suggest you complain to the Raspberry Pi Foundation. They link to the video. I do not understand why the Foundation has not acted. I was was trying to figure out which email and how to word the email but fortunately the video has been made private. I'll be able to sleep much better tonight knowin...
by Duane Degn
Sat Jul 12, 2014 4:48 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - How to control motors...
Replies: 48
Views: 31367

Re: Raspberry Pi - How to control motors...

I'm starting to feel sick. Mach_5 wonders why 5V is coming out of one of the enable pins (which of course isn't an enable pin). Too bad he didn't measure it before killing his Raspberry Pi . hpack is scared too use his L298N h-bridge after it burned out the SoC . Please Matthew, don't make me contin...

Go to advanced search