Okay is this about it?
or am i totaly off.
Button panel
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Button panel
You need to use software serial to communicate with the MAX485. Use pin 8 for RX and pin 7 for TX:
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
Code: Select all
MAX485 Micro
RO pin 8
DI pin 7
/RE pin 9
DE also pin 9
You show an Arduino Micro - that's longer than 45mm
-
- Posts: 33
- Joined: Sat Nov 22, 2014 6:30 pm
Re: Button panel
Like this?
But the Nano was the smallest they had.
Fritzing do not have all ardurino's and the chematic sayes that its 44.7975 inklude the Micro USBBut 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:You drive pin 9 low when you want to receive, and you drive pin 9 high when you want to transmitCode: Select all
MAX485 Micro RO pin 8 DI pin 7 /RE pin 9 DE also pin 9
You show an Arduino Micro - that's longer than 45mm
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Button panel
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
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
-
- Posts: 33
- Joined: Sat Nov 22, 2014 6:30 pm
Re: Button panel
The one used in Fritzing is a Arduino Nano:
http://www.tehnorama.ro/wp-content/uplo ... oSize.jpeg
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?
http://www.tehnorama.ro/wp-content/uplo ... oSize.jpeg
i have seen that but i don't need all the extra buttons and only want to test it,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
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?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Button panel
You need current-limiting resistors on the LEDs. Do you know the forward voltage of the LEDs?
-
- Posts: 33
- Joined: Sat Nov 22, 2014 6:30 pm
Re: Button panel
The led's has some resistors,
but i can't remember them right now.
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?
-
- Posts: 33
- Joined: Sat Nov 22, 2014 6:30 pm
Re: Button panel
Dont i need to flip the "ESP8266" horizontally to surface mount it?
Maby like this:
Maby like this:
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Button panel
Don't really know. I'm not an expert on board layout.
-
- Posts: 33
- Joined: Sat Nov 22, 2014 6:30 pm
Re: Button panel
can i fit one more RS232 unit
or will it be better with a SPI
or will it be better with a SPI
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Button panel
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
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
Please be positive and constructive with your questions and comments.