Queens, New York
Offline
Edison Member
Karma: 29
Posts: 1590
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« on: June 13, 2012, 07:33:11 pm » |
Hello, I'm looking to design my own touch screen controller for my robot. The touch screen i'm using, uses all my pins on the Arduino UNO Rev 3, including the Tx and Rx. My robot is currently being controlled from my laptop via Bluetooth, and I was tring to design my own controller, using various Arduino components.Now because the touch screen uses every pin on my UNO, I looked at the Mega because it has more Tx and RX pins to use, but it was WAY too long and rather bulky. So, I was wondering if a smaller, more compact version of the Mega was, is or could be made. Something more like the Arduino Mini, same amount of pins just more compact. This way I can integrate more parts like an accelerometer and even a bluetooth module to communicate to the one on my robot.
Hazard
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Global Moderator
Dallas
Online
Shannon Member
Karma: 120
Posts: 10201
|
 |
« Reply #1 on: June 13, 2012, 07:44:16 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 29
Posts: 1590
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #2 on: June 13, 2012, 08:01:24 pm » |
yea kinda, but does it have the same capabilities as the Mega? It doesn't say, or at least it didn't see anything that said it had Tx and Rx pins.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Global Moderator
Dallas
Online
Shannon Member
Karma: 120
Posts: 10201
|
 |
« Reply #3 on: June 13, 2012, 08:31:54 pm » |
The Mega has 4 hardware USARTs. The Teensy++ has 1.
|
|
|
|
|
Logged
|
|
|
|
|
Pittsburgh, PA, USA
Offline
Faraday Member
Karma: 31
Posts: 2947
I only know some basic electricity....
|
 |
« Reply #4 on: June 13, 2012, 08:58:18 pm » |
Check the docs, most of these chips allow the highspeed serial (for SPI/I2C/etc) to be used as hardware serial.
There are people here building custom ATMega1284 setups. It has 40 pins and 2 USARTs.
If you can find space the you can connect 1 or more shift registers to the UNO SPI pins and add pins that way. There are even bi-directional shift registers.
|
|
|
|
|
Logged
|
Examples can be found at Learning in the Main Site and at the Playground
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 29
Posts: 1590
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #5 on: June 13, 2012, 09:29:14 pm » |
The Mega has 4 hardware USARTs. The Teensy++ has 1.
Hmmm, I need at least 2 USARTs, one for the touch screen and the other for the bluetooth module. Could I maybe design my own custom board, like the Teensy?
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Pittsburgh, PA, USA
Offline
Faraday Member
Karma: 31
Posts: 2947
I only know some basic electricity....
|
 |
« Reply #6 on: June 13, 2012, 09:34:20 pm » |
You can use SoftSerial on just about any two pins to add serial channels. It's part of the IDE, make sure you use the version that comes with your IDE.
A touchscreen controller chip would probably reduce the pins needed for TS to just 2.
|
|
|
|
|
Logged
|
Examples can be found at Learning in the Main Site and at the Playground
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 73
Posts: 6841
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #7 on: June 13, 2012, 09:41:32 pm » |
AFAIK there is no small Arduino with the Mega2560 chip. Maybe there should be, where's Crossroads when you need him  Actually you should look at Crossroad's ""bobduino", it has a Mega 1284 (two UARTs, lots of RAM etc). ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 1
Posts: 172
www.rocketscream.com
|
 |
« Reply #8 on: June 25, 2012, 10:37:02 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 249
Posts: 16582
Available for Design & Build services
|
 |
« Reply #9 on: June 25, 2012, 11:52:27 pm » |
I'm here, just slow reading tonight. Are you handy with a soldering iron? This board could be all you need: $4.50 for a bareboard mailed to your US address, you scrounge for (or purchase) parts & assemble. Use an offboard FTDI Basic or equivalent to download sketches, or a Mikroelectronica FTDI module can be installed on the right. I supposed I can offer assembled units too, no one's asked for one yet.  Parts list http://www.crossroadsfencing.com/BobuinoRev17/1284_Duemilanove_PL.pdf
|
|
|
|
|
Logged
|
|
|
|
|
|