Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: SteveSFX

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    46

    If i may ask... how do you guys access the pins...

    If i may ask... how do you guys access the pins under the 3.2 when designing a pcb? I Almost wish the 3.2 board was a little larger and all the pins on the same side.
    I was thinking of through...
  2. Replies
    1
    Views
    46

    Optically isolated 24v analogue input

    Hello world of people cleverer than I am

    I am designing a project board where I can control various 'things' from inputs. outputs etc. optically isolating my inputs and outputs with 6N137's....
  3. Well, the Ebay HC-06 modules were 2 cheaper...

    Well, the Ebay HC-06 modules were 2 cheaper each...

    Estimated 20 hours swearing = a cost of 0.10p per hour

    Bargain :(

    So, anyone who ever find this thread while searching for HC-06 not...
  4. Just as an ending to this thread.... Bought a...

    Just as an ending to this thread....

    Bought a HC-05 and a HC-06 from a UK supplier... not Goddam Ebay!
    Worked within seconds of plugging them in. Accepted all the commands... perfect.

    I am...
  5. Replies
    6
    Views
    70

    Don't worry. Google, beer and luck have produced...

    Don't worry. Google, beer and luck have produced results ;)
  6. Replies
    6
    Views
    70

    I am finding these libraries hard work actually....

    I am finding these libraries hard work actually. Working out what each part does it difficult for someone without the required knowledge.

    I have the following code so far, made up of various...
  7. HC-06's have 4 pins and no reset button (like the...

    HC-06's have 4 pins and no reset button (like the ones I have). HC-05's have a different board layout and 6 pins

    I have tried every possible combination of pin, pass, password, pswd, +, = etc. ...
  8. I just wish I could walk away from these things,...

    I just wish I could walk away from these things, but I hate being defeated....

    OK. Here is the link again:

    https://www.ebay.co.uk/itm/JY-MCU-HC...72.m2749.l2649

    It appears to be HC-05...
  9. WHAT!!!! :confused: Wired it to a 2560p -...

    WHAT!!!! :confused:

    Wired it to a 2560p - Still didn't work.

    Then, as I randomly tried all options.... Serial1.println("AT+NAME:Steve"); Worked... It changed the name. Since when did...
  10. I think the link is earlier in this thread...

    I think the link is earlier in this thread somewhere.

    Don't waste any more time on it.... I need to walk away from this thing, as it is eating up my time to no good end.
    MADLY frustrating, as I...
  11. I have never had any response to a change command...

    I have never had any response to a change command except Error (0).
    I can get the baud rate, the old name, the version, the pin, the address........ but I can't change anything

    Sending AT first...
  12. I get a reply to "AT" of OK. Everything else...

    I get a reply to "AT" of OK.

    Everything else fires back error. Name has never changed since I got it. I have Bluetooth terminal on my phone that I use (plus the name in the Bluetooth list...
  13. That is what I tried (and have always used) ...

    That is what I tried (and have always used) Serial.println("AT+NAMEhello");

    Tried gaps, capitals, plus signs, long words, short words, swear words....

    What is really odd (to me) is that...
  14. It does (written in #64). AT+NAME returns...

    It does (written in #64). AT+NAME returns Name:HC-06 which is correct

    It is responding to requests for information. Tried "AT+ORGL" which should reset it. That failed.

    3 of my 5 HC-06's...
  15. 9600 Baud. Send: ...

    9600 Baud. Send: Serial1.println("AT+VERSION"); and then read with showMe();

    Timing is everything. Seems to need exactly delay(900); between commands

    Responds with OK VERSION: ...
  16. I wrote a short routine that is running at the...

    I wrote a short routine that is running at the moment.

    Steps through every possible baud, trying Print, Println and Write, with steadily increasing delays between the commands of delay(100)...
  17. Caps make no difference. I know these HC-06...

    Caps make no difference. I know these HC-06 modules are noisy on the power lines. I have it running off a battery, separately from the Teensy (combined ground!)... but that hasn't helped.

    Just...
  18. Well I have sat here for the last 2-3 hours and...

    Well I have sat here for the last 2-3 hours and tried everything within (my clearly lacking) knowledge. It's broke me this damn Bluetooth module. Must have spend 20 hours on this.

    Tried...
  19. Attached is the circuit. It doesn't get any...

    Attached is the circuit. It doesn't get any simpler. There are no wires apart from the supplies.

    That code in the reply above - runs through the bauds and prints them to the serial monitor... ...
  20. madness..... :( Got 2x new HC-06's, and I...

    madness..... :(

    Got 2x new HC-06's, and I can't get anything out of them

    The code you have in post #27 results in the HC-06's led going on constantly, and the module freezing. I have to...
  21. Replies
    6
    Views
    70

    Err OK.... what have I done/changed.... Now it...

    Err OK.... what have I done/changed....

    Now it doesn't read/write anything.... including new tags:confused:
  22. Replies
    6
    Views
    70

    Hmm.... I just get RFID_Demo_v2:37: warning:...

    Hmm.... I just get

    RFID_Demo_v2:37: warning: unused variable 'dataBlock'
    byte dataBlock[] = {

    ^
    'mfrc522' was not declared in this scope

    When I run that. Will have a...
  23. Replies
    6
    Views
    70

    Teensy 3.2 and RFID

    Hello all

    I am playing around with RFID for the first time... struggling a little bit. Got an RC522 set up and reading correctly.

    Using the library MFRC522.h, and here is the read personal...
  24. It's built from crap! The screen is a small...

    It's built from crap!

    The screen is a small 2.4" touchscreen I had spare. Also 4x LCDS that I had left over from some other project.

    It is mostly MDF. Arduino Mega controls the cockpit...
  25. Bit of both. Someone asked me to make a themed...

    Bit of both. Someone asked me to make a themed bed for their son. After I had started, they changed their minds... but I carried on anyway and got a bit carried away.
    I need to get shot of it...
  26. I thought that the signals may be too low..... ...

    I thought that the signals may be too low..... but I tried firing tx through a level shifter to the Teensy, but no difference.

    It shows ya... both these BT modules came from that guy, but they...
  27. No. Bluetooth is off on the phone. Anyway, the...

    No. Bluetooth is off on the phone. Anyway, the led on the HC-06 is flashing, meaning unpaired.
    You should be able to go RX-TX and TX-RX. Teensy is 3.3v and so are the comms on the HC-06.

    From...
  28. Just tried the HM-10 module. Worked straight...

    Just tried the HM-10 module.

    Worked straight off the bat... :rolleyes:

    Dud HC-06 modules I would think.

    The HM-10 is a low energy thing, so I needed a BLE app to find it, but it renamed...
  29. Hello OK, let me run through your...

    Hello

    OK, let me run through your questions....

    Yes, I did run the baud scanner... no result
    That last piece of code to connect via Serial port.... no result

    I have 3x HC-06's here. One...
  30. Hi. No, my modules don't have that written on...

    Hi. No, my modules don't have that written on them. I do have 2 different 'types', but neither work.

    I have ordered a new HC-06 and also a HM-10 bluetooth module (that I also have a library...
  31. Just fired it up again.... I just noticed you...

    Just fired it up again.... I just noticed you said to reverse the RX/TX pins - not short them
    Changed write to print just to check (although done that many times already)


    void setup() {
    ...
  32. Thanks for all the assistance guys. Yes- tried...

    Thanks for all the assistance guys.

    Yes- tried serial.prints and serial.writes... no difference

    I did cross Tx and Rx on the Teensy and the command did echo back.

    I thought the HC-06 was...
  33. Common grounds shared (that would be a newbie...

    Common grounds shared (that would be a newbie error!)
    The new HC-06 should be 9600 baud, and I have never asked to change it to anything else.
    I have tried talking to it today on basically all...
  34. Well. Time to give this hobby up :confused: ...

    Well. Time to give this hobby up :confused:

    Mini Pro - Nope. Tried it with exactly the same bit of code I have used twice in another projects and it doesn't work at all.

    Tried using...
  35. I will have to go and dig out a Pro Mini.... ...

    I will have to go and dig out a Pro Mini....

    Rx2 and Tx2 shorted basically fires back:

    Checking....Checking....AT+NAMEGAUGES13
    Checking....AT+PIN123410
    Checking....AT+BAUD48
  36. This is where I am. All the serial port does is...

    This is where I am. All the serial port does is report back 4x 'Checking...'
    Tried Serial2..... still nothing


    void setup() {
    // put your setup code here, to run once:

    delay(2000);
    ...
  37. Just tried the HC-06 running on its own 3.3v...

    Just tried the HC-06 running on its own 3.3v regulator. Still no change.
    Yes, sharing a common ground.
    Maddening.... I have hugely complicated builds going on with 10+ Arduino Mega's all talking...
  38. I had it through a level shifter to start....

    I had it through a level shifter to start. However the HC-06 actually has 5v written on it as the VCC and 3.3v on the RX/TX pins
  39. RX and TX are correct (I have tried swapping...

    RX and TX are correct (I have tried swapping them). HC-06 has its own clean 5v supply (they are noisy things).
    Nothing shows with the showMe() code.

    I shorted RX and TX and typed in commands in...
  40. Thanks... void setup() { // put your...

    Thanks...


    void setup() {
    // put your setup code here, to run once:

    Serial1.begin(9600);
    showMe();
    delay(5000);
  41. I removed the if (Serial1.available())...

    I removed the if (Serial1.available()) command..... it is just going straight to the write commands with a pause between each one.
    Not sure what else to try. I know this is a good HC-06, so...
  42. OK. I have a new HC-06. Nope... still not...

    OK. I have a new HC-06. Nope... still not working.
    Clearly the command is not correct.

    If I short serial 1 output, then I can see the reflected commands in the monitor... so that is working....
  43. I think this may be a HC-06 issue. Can't change...

    I think this may be a HC-06 issue.
    Can't change it at all using my phone app either. Ordered a couple of new ones
  44. Well something is now completely screwed up... ...

    Well something is now completely screwed up...

    I have not seen the LED stop flashing once yet. The only time I have seen it 'connect' is when I use the Bluetooth terminal app on my phone.
    So, I...
  45. Logic analyzer would be very handy.... but I...

    Logic analyzer would be very handy.... but I don't have one.

    It is not talking to the BT module with or without the (Serial1.available())
    The led on the BT module should go steady as its being...
  46. Hmm... I tried that. Added various length delays...

    Hmm... I tried that. Added various length delays up to delay(5000);

    The code listed above is the only thing in the sketch.... it won't even work with this bare minimum.
    Tried Serial2 - same.... ...
  47. Problem with Teensy 3.2, Serial1 and HC-06

    Hello

    Still new to the world of Teensy... trying to upload a program that works on a Pro Mini, and it isn't liking the Serial1 for some reason.

    I am using Serial1 to talk to a Bluetooth...
  48. Replies
    7
    Views
    142

    I think I need to find a better library that I...

    I think I need to find a better library that I can understand....

    The line: CAN0.readMsgBuf(&rxId, &len, rxBuf); // Read data: len = data length, buf = data byte(s) is retrieving the...
  49. Replies
    7
    Views
    142

    OK... We are up and running..... Biblical...

    OK... We are up and running.....

    Biblical amount of data..... how the heck do you extract RPM, Speed etc
    Clearly it need filtering..... hmm


    // CAN Receive Example
    //

    #include...
  50. Replies
    7
    Views
    142

    Teensy 3.2 and canbus connections

    Hello all

    Been playing around with my new Teensy 3.2 (had it a while.... never used it).
    Was planning to add a MCP2515 Can-bus breakout board to it, so that I could decode the Can-bus signals...
Results 1 to 50 of 51
Page 1 of 2 1 2