HardwareArduino

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  koswix  
 To:  ANT_THOMAS      
40898.256 In reply to 40898.254 
Saw some PCBs that a guy had made today by seeed, they looked pretty nice.
http://www.seeedstudio.com/blog/2011/05/04/fusion-pcb-service-upgraded-with-even-lower-pricing/

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.257 In reply to 40898.254 
How do PWM outputs work with a shift register? Anything special needed for that?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
40898.258 In reply to 40898.256 
Whilst you have to order a minimum of 5 them prices are actually fairly reasonable.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.259 In reply to 40898.257 
I'm using the ShiftPWM library and they seem to work really nicely.

Any flickering has totally gone now I'm using the shift registers. Still figuring out how to use 2 daisy chained together properly.

I was easily able to convert my existing sketch to make use of the shift registers.

rather than:

analogWrite(ledPin1,255);

it is just:

ShiftPWM.SetOne(1, 255);

with the 1 being pin 1 on the shift register. Then you just cycle/loop like any other PWM loop example.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS      
40898.260 In reply to 40898.258 
Think he said he paid £10 for ten boards. Pretty small boards, but still.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
40898.261 In reply to 40898.260 
It looks like about 70 USD for 5 15x20cm boards which is fairly reasonable.

I probably won't need a board that size once I actually draw out the circuits properly.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS      
40898.262 In reply to 40898.261 
I've been trying to get my head round Eagle CAD (Jim lent me a copy of the pro version). Takes some getting used to, but a few youtube videos definitely helped.

I'm going to give the laser transfer/etching method a go once I've finished designing the board. The board's not very complicated, just a bunch of floppy drive sockets routed to a pin header to make my floppy organ (it's cold outside, John) a bit more organised and less prone to random braking.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  koswix     
40898.263 In reply to 40898.262 
I think if I design mine well and I don't just have the screw connectors down one side, instead having them spread across 2 or 3 sides I could probably get it down to 10cm x 10cm which is only $18.90 for 5. Assuming that leaves enough space for 20 to 24 transistors.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  ALL
40898.264 
There we go, very simple test.

4 LEDs addressed from one shift register, 4 LEDs addressed from the other.

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.265 In reply to 40898.259 
I wonder of that will work with the PWM frequency library.

Is it the power supply (if you're using it) that has fixed the flickering?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.266 In reply to 40898.255 
:) Can you make it play a song?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.267 In reply to 40898.256 
Nooo. Really no. Don't make me want to spend even more money designing my own PCBs as well. Yes, I'd love to. I've already spent too much. Lots of little spends adds up.

Do all 5/10/whatever boards need to be the same?

Me
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.268 In reply to 40898.265 
ShiftPWM allows you to choose the PWM frequency so the other library isn't needed.

It seems anything over "75" stops any flickering. I had it at 150.

I'll try 3 shift registers tomorrow.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Chris (CHRISSS)     
40898.269 In reply to 40898.266 
Currently yes, but I'd have to hand code it and I think I'd go insane. Next job is improving the software. A lot.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.270 In reply to 40898.269 
I can wait til the software is better. Can you play the theme from Project X on the Amiga?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  ANT_THOMAS      
40898.271 In reply to 40898.268 
Aha. Handy. Is 150Hz enough with them dimmed? Think it's more noticeable in a dark room too. Lots of useful libraries for the Arduino.

I'm still waiting for my two Nanos. I have a USBASP programmer which I'll use with my Pro Mini for now. Also waiting for a FTDI adapter which will be an easier connection than the USBASP. Gonna have a play with the nRF24L01 transceivers. Did you add a capacitor to the power connections on yours?

Me
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.272 In reply to 40898.269 
I asked on the Arduino forums about the bits in that LED controller. They are FETs and rated at 2.8A. Must be heat dissipating pads.

Me
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Chris (CHRISSS)     
40898.273 In reply to 40898.270 
If you give me a midi file of it.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  koswix     
40898.274 In reply to 40898.273 
I will try and find one and give it to you (YJ)

I wired up my LED strip the other night using a BC547. I'm sure I had it connected right but the LEDs didn't respond to the PWM unless I swapped the transistor around the other way. Any ideas if my circuit is correct?

Me

Attachments:

0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  Chris (CHRISSS)     
40898.275 In reply to 40898.274 
Different transistors definitely have different pinouts in case you looked at a generic schematic.
 
0/0
 Reply   Quote More 

Reply to All  
 

1–20  …  201–220  221–240  241–260  261–280  …  541–542

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats