Button panel

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

Okay is this about it?
or am i totaly off.
I can't se how to indsert the MAX485
I can't se how to indsert the MAX485
Untitled Sketch_bb.png (307.33 KiB) Viewed 440 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Button panel

Post by adafruit_support_rick »

You need to use software serial to communicate with the MAX485. Use pin 8 for RX and pin 7 for TX:

Code: Select all

MAX485     Micro
RO         pin 8
DI         pin 7
/RE        pin 9
DE         also pin 9
You drive pin 9 low when you want to receive, and you drive pin 9 high when you want to transmit

You show an Arduino Micro - that's longer than 45mm

kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

Like this?
separated borsd to indicate what is already there.
separated borsd to indicate what is already there.
Untitled Sketch_bb_2.png (476.68 KiB) Viewed 423 times
Fritzing do not have all ardurino's and the chematic sayes that its 44.7975 inklude the Micro USB
But the Nano was the smallest they had.
adafruit_support_rick wrote:You need to use software serial to communicate with the MAX485. Use pin 8 for RX and pin 7 for TX:

Code: Select all

MAX485     Micro
RO         pin 8
DI         pin 7
/RE        pin 9
DE         also pin 9
You drive pin 9 low when you want to receive, and you drive pin 9 high when you want to transmit

You show an Arduino Micro - that's longer than 45mm

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Button panel

Post by adafruit_support_rick »

That looks right.

The Arduino Micro is 49mm, including the MicroUSB.

Note that you can't plug the ESP8266 into a breadboard - it doesn't have the right pin spacing. We have an 8266 on an adapter module that works with breadboards:
https://www.adafruit.com/product/2471

kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

The one used in Fritzing is a Arduino Nano:
http://www.tehnorama.ro/wp-content/uplo ... oSize.jpeg
adafruit_support_rick wrote:That looks right.

The Arduino Micro is 49mm, including the MicroUSB.

Note that you can't plug the ESP8266 into a breadboard - it doesn't have the right pin spacing. We have an 8266 on an adapter module that works with breadboards:
https://www.adafruit.com/product/2471
i have seen that but i don't need all the extra buttons and only want to test it,
then later i want to make a PCB with the ESP8266_7 lowered down through the board.

Would you say that resistors are needed in some places?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Button panel

Post by adafruit_support_rick »

You need current-limiting resistors on the LEDs. Do you know the forward voltage of the LEDs?

kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

The led's has some resistors,
but i can't remember them right now.
adafruit_support_rick wrote:You need current-limiting resistors on the LEDs. Do you know the forward voltage of the LEDs?

kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

Dont i need to flip the "ESP8266" horizontally to surface mount it?
PCB
PCB
Untitled Sketch_bb_pcb_2.png (89.04 KiB) Viewed 386 times
Maby like this:
"ESP8266" as SMD
"ESP8266" as SMD
Untitled Sketch_pcb_2a.png (88.22 KiB) Viewed 384 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Button panel

Post by adafruit_support_rick »

Don't really know. I'm not an expert on board layout.

kodak
 
Posts: 33
Joined: Sat Nov 22, 2014 6:30 pm

Re: Button panel

Post by kodak »

can i fit one more RS232 unit
or will it be better with a SPI

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Button panel

Post by adafruit_support_rick »

RS232 or RS485?

You can have another Software Serial connection. Be aware that your code will have to switch between them, using the listen() function:
https://www.arduino.cc/en/Reference/Sof ... rialListen

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”