Recent Posts

Pages: [1] 2 3 ... 10
1
General Electronics / Re: IRF630 compatibility with ...
Last post by Wawa - Today at 03:56 am
if the amperage is 28A, will it be fine?
With watercooling, maybe.
This number comes from the first page of the datasheet.
The part of a datasheet that you should largely ignore.
Leo..
2
You *must* have two 0.1uF ceramic decoupling caps for an atmega328p in DIP package (get a bunch - you will use more of them than any other single component if you start doing electronics stuff) - one goes between Vcc and Gnd, the other between AVcc and Gnd, and they must be located right next to the chip (there are some terrible arduino on breadboard tutorials that omit these components - but this can produce random resets, hangs, and failures to program (the behavior is unpredictable - sometimes it works, sometimes it doesn't, the kind of problem that is hellish to debug) - and others that show wires leading to the caps, located off to the side on the breadboard; this prevents them from doing their job).

You also need a 16MHz crystal and appropriate loading caps (typically 18~20pf ceramic), since the chip will be set up to use a crystal, and won't talk to the programmer without a clock source.

There are countless guides showing the connections online.
I see. Thanks for the help!
3
General Electronics / Re: Too many ohms??
Last post by ReverseEMF - Today at 03:53 am
Posting the OP's schematic so I can see it without downloading it:

4
Displays / Reading the Serial Monitor on ...
Last post by Sammygrind - Today at 03:53 am
Hello, my question is this; how does one take the info that is coming in to the serial monitor via (2 LDR's) and display that to an LCD screen. Forgive my youthful ignorance but I thought it would be as simple as reading from the serial port and having that displayed onto the LCD.
 
I read up all I could on LCD examples  and did some of them to confirm that I have everything hooked up as I should. everything worked fine. However, when I tried to take the info that was coming in from the LDR's it would not display it on the LCD.

 I have my code that measures what I want on the serial monitor and will post that a little later if need be but right now I'm just asking how simple is it to send the data from the serial monitor to the LCD screen. I would not think it is that hard being that I was able to write to the serial monitor and have that displayed rather easily.... Thank you in advance for any and all input
6
Having random pin states on a floating input pin is expected. You can use a pull-up or pull-down resistor to make the pin default to a known state. The Arduino has internal pull-up resistors you can set via pinMode(pin, INPUT_PULLUP). Some boards have internal pull-downs too, but not the popular AVR-based boards (e.g. Uno, Mega, Leonardo, Nano).
Its not a floating pin. Even with the hall effect sensor wired in and the shaft not spinning, I still get interrupts on the pin.
7
I submit that the summary of your facts is that now is good time to abandon the HC-06 and get HC-05, which is more versatile and usually at the same price. There is clearly something weird going on with HC-06, and all you have done is made a bad situation worse. To your points.

1. The default baud rate for both HC-05 and HC-06 is 9600. If somebody has fiddled with it and you are OK with 38400, that's fine.

2. The way things are, that is evidence that the default has been changed, but not evidence that it is really an HC-06.

3. The LED activity is normal for both but does not signify it is in AT for HC-05

4. AT is a legitimate command for both.

I don't know anything about flushing, and I don't think it is relevant.

9600 baud is the required rate for config an HC-06. Your surprise implies you are using two different baud rates for configuration, which is most likely untrue and strongly suggests you aren't configuring it at the other speed at all. This will go quite some way to explain the absence of OK after your otherwise legitimate AT command


Other than the name, your description seems to be of an HC-06, and the fact the you have succeeded in configuring it at 9600 means it is an HC-06. It may have been fiddled with and it may even be by another party, but that is irrelevant.

What I believe other people have been describing is an HC-05. This to the point where some guy got the state signal on a pin that is the state pin on an HC-05 but not connected on an HC-06.

It appears that there are three types of HC-06 around

1. The real McCaughey, most likely on a JY-MCU board
2. Yours, called HC-06 and set to run at 38400, but otherwise apparently kosher. Backboard unknown.
3.  Logically identifiable HC-05s masquerading as HC-06, sometimes using GW-040 backboards

It could be that types 2 and 3 are from the same source.
8
i cant use single character because im planning to control more than 10 Output separately
Just a statement?
9
Just released Visuino - Graphical Development for Arduino - 7_8_2_261 with Elegoo PenguinBot robot support and more...

Added support for SparkFun ESP32 Thing
Added support for Elegoo Penguin Bot
Added support for stm32duino STM32F103C8 Blue Pill
Added support for SSD1331 Color OLED Display
Added support for Macetech RGB Shades
Added support for Maiyout Serial MP3 Player (MY1690-12P/MY1690-16S)
Added categorized selection for cotroller boards
Added Filtering for component elements
Improved Graphics Performance
Reduced memory usage and improved speed by many of the graphics displays
Improved Circuit Playground support
Improved ESP32 BPI-bit support
Improved support for the YahBoom Robot
Improved EVIVE Support
Improved performance by some of the components
Improved Motor Drivers Components
Improved PL uino support
Improved Nextion Display support

Updated version of the User Code Component is included in the Visuino Pro version available in the G+ Community
https://plus.google.com/communities/116125623808250792822




Cheers,
Boian
10
Project Guidance / Re: Guage Cluster Programming
Last post by TomGeorge - Today at 03:43 am
Hi,

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.,. :)
Pages: [1] 2 3 ... 10