Hi Arduino community I need some help as a noob please
I have purchased the starter kit with the standard Uno included and have a basic understanding of the code etc.
I want to use Arduino to control a series of LED's for a 1/8 scale car I am building. I want to control the lights from my phone using a custom app from MIT App Inventor 2. Due to the limited space in the car for a board I have purchased the Arduino Uno Mini, I have spent a week trying to get the guide to work (Arduino, HM-10 and App Inventor 2 | Martyn Currey) I have a HC-05 bluetooth module
I was getting close to giving up when I had the idea to use the same set up/ code etc. using the much larger standard Uno; it worked!!!
Does anyone know why the Uno Mini doesn't work using exactly the same set up?? it is tiny, does it have limited features?
Any help will be highly appreciated as I need to somehow get the smaller board to work as the standard board is too big to fit in the car
@peteh1980, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project See About the IDE 1.x category.
Hi, apologies I'm new to this so please excuse my confusion
Are you saying you have been able to get it to work? When i click serial moitor its selected at 9600, ive tried changing the board within the Ardino IDE to just Uno instead of Uno mini and still nothing
When i swop over to the standard Uno it works perfectly
TBC, I have just the UNO LE on the USB cable direct to the desktop machine. No other hardware.
Can you try that? With both boards? The nude boards should work identically.
Then, for the real setup you are aiming for, please clarify: how are you powering the UNO, how are you powering the HC-05 and how are the two connected? If there is a difference, say for both UNO types you using.
That has to be where you are misstepping.
And say again that literally changing out one UNO type for another without any differences to the wiring or power moves it from works to doesn't.
Any other details, feel free to add or remind us of.
Based on your advice I have gone back to very basic circuits with this to attempt to identify the problem
As I said I have only had the Arduino starter pack for a week and learnt the basic principles using the standard Arduino board it comes with.
This morning I have used a basic circuit using both boards (standard Uno and Uno LE) the LE works fine powering LEDs on a breadboard with a manual switch no problem at all
I then searched online for a basic way of controlling 1 LED with the HC-05 bluetooth module see link below
This worked perfectly when using the standard Uno, the Uno LE however again still will not control the LED. I get as far as pairing my phone successfully to it but it wont control the LED
I'm about as far from an expert as I can be but is seems as though the Uno LE wont communicate with the HC-05 via the RX, TX pins?? as the HC-05 is quite an old module and the Uno LE is brand new is there a compatibility issue there? the original Uno itself I believe is quite old
Hopefully you can see the picture I have uploaded, I have both boards setup with a HC-05, the jumper wires (ignore the colours please) are plugged in correctly as I have checked this numerous times. Just to clarify both boards were independently uploaded with the required code with the TX, RX wires unplugged during the upload, plugged in afterwards. I only have 1 USB port on my laptop, this is used to power the boards so I am only using 1 at a time. I found this setup easiest to compare the 2. I also ensured I unpaired the HC-05 after use, once testing the next board I repaired to the other HC-05
Hope this makes sense, I'm tempted to send the UNO LE back and buy a Nano or something small/ similar to fit in my car but I hate to be beaten!!!
The standard being used is way older, I do not think this is your problem.
And at this point, I am tapped out - I never use i/o pins 0 and 1, they are used for the USB serial monitor, handy during development, when I usually leave the Arduino conected to the big rig so I can see what is going on.
If I need a serial port, I use another UART (on the Mega there are several more) or SoftwareSerial on the UNO.
With which, TBH, I have been less than happy. SoftwareSerial works in a pinch, but there is nothing like a real UART.
I do not yet understand why you are "getting away" with using 0 and 1 with the UNO and not succeeding with the UNO LE.
A simple experiment is worth trying: supply power to your UNO (UNO LE) and HC-05 directly, and perform your tests with the UNO you are looking at not connected over USB. Just a standalone litlte system of UNO/HC-05
There may be a difference in how the USB stuff gets out of the way to allow your own use of 0 and 1 to be uninfluenced.
I don't think so, but that's the easiest thing to try and we might all learn something.
Yeah I cant help but think there may not be enough pins on the Uno LE, will all the pins be able to power LED's?
The Mega boards link you sent look awesome, loads of pins!! if you look at the pics I have attached the Uno LE is very similar in size to the board the car comes with, I'm nowhere near fitting it yet but think a Mega Mini maybe slightly too big
My next post on the forum is going to be about help writing the code to power what I need the board to do:
Leds required:
Headlights (can be powered from 1 pin) if possible I'd like an option to flash as well as constant
Spotlights
Indicator/ side repeaters, these need to be able to flash the front and rear near side, another button for front and near off side. I'd also like an option to have all 4 flash at once like hazard lights
Rear lamps
Brake lights
Interior/ door lights
Dash lights, there maybe multiple micro led's in different colours (I'll know more when I get to it
There may be more that's all I can think of for now, the car comes with a speaker and engine noises that I may leave as its childish!