Corrected part Number + Discussion
Carl Wilson 4 | 03/12/2016 23:15:34 |
![]() 670 forum posts 53 photos | Hello All, Edited By Neil Wyatt on 06/12/2016 14:03:44 |
Andy Holdaway | 03/12/2016 23:43:19 |
![]() 167 forum posts 15 photos | Thanks keeping this alive Carl. Parts are ordered (including the 6560!), let chaos commence! I've actually used Arduino's for a number of projects over the last few years (and PIC's, but that's another story) but never used stepper motors, so I'm keen to play with this and see what it will do. Andy Edited By Neil Wyatt on 06/12/2016 14:04:01 |
Neil Wyatt | 04/12/2016 03:22:09 |
![]() 19226 forum posts 749 photos 86 articles | Thanks Carl, I'll put a brief note in MEW 250. Edited By Neil Wyatt on 06/12/2016 14:04:24 |
Carl Wilson 4 | 04/12/2016 04:14:59 |
![]() 670 forum posts 53 photos | No problem Andy. I will try to put up a video of the unit working. If anyone wants to see more pictures and a detailed description of the build, you can find it on my blog. Edited By Neil Wyatt on 06/12/2016 14:04:32 |
Michael Gilligan | 06/12/2016 17:15:35 |
![]() 23121 forum posts 1360 photos | Posted by Carl Wilson 4 on 03/12/2016 23:15:34:
Hello All, . Thanks Carl ... That ^^^ is a very decent thing to do [pity about the title change]: As yet, I have no questions, but I'm posting this just to bump your thread ... noting that the spin-off has taken a life of its own. MichaelG. Edited By Michael Gilligan on 06/12/2016 17:16:02 |
Andy Holdaway | 06/12/2016 22:07:00 |
![]() 167 forum posts 15 photos | Carl, First question - before my stuff gets delivered, I had a search through the drawers and found a UNO, Mega2560 and a DFRobot LCD Keypad shield. Next step - check out the stepper software. Everything works expect the 'Right' button. I have mapped the button values and I get Right - 0, Up - 100, Down - 257, Left - 409 and Select - 639. I have checked that all buttons read, and with different sketches the buttons work, but for some reason 'Right' does't work with the stepper sketch. Any ideas? It's not a problm as yet as I won't be using these parts, but it just seems odd that it doesn't work as expected. Andy EDIT - It's amazing once you write something down how the fog clears and you solve the problem straight away! I'd messed up the keypress allocation - all working now.
Edited By Andrew Holdaway on 06/12/2016 22:17:40 |
Garth | 08/01/2017 13:39:39 |
24 forum posts | I was wondering if anybody has noticed a possible error in Garry Liming's download software version, I could only locate version DM10.1 2015 / 06 as against DM 8.4 noted in MEW. Maybe Carl Wilson could enlighten me . Edited By Neil Wyatt on 08/01/2017 19:43:25 |
Andy Holdaway | 08/01/2017 13:50:43 |
![]() 167 forum posts 15 photos | Garth, if you download from the DM link you will find three versions of the software in the zip file. The latest (I believe) is ver 2.3. If you open the sketch in the Arduino IDE the first line gives you the version number in confirmation. Version 2.3 works fine for me. Andy Edited By Neil Wyatt on 08/01/2017 19:43:31 |
Michael Gilligan | 08/01/2017 15:51:07 |
![]() 23121 forum posts 1360 photos | Garth, It may have been better to put your query on this thread: **LINK** which Carl so thoughtfully started. http://www.model-engineer.co.uk/forums/postings.asp?th=122870 MichaelG. . Edit: ... or maybe even this one: http://www.model-engineer.co.uk/forums/postings.asp?th=122870 which was 'spun-off' from it when the thread lost direction. Edited By Michael Gilligan on 08/01/2017 15:54:27 Edited By Neil Wyatt on 08/01/2017 19:43:37 |
Carl Wilson 4 | 08/01/2017 16:31:51 |
![]() 670 forum posts 53 photos | Version 2.3 is the one you want. Edited By Neil Wyatt on 08/01/2017 19:43:43 |
Carl Wilson 4 | 08/01/2017 16:33:30 |
![]() 670 forum posts 53 photos | Just echoing the above, throw this info in the second post mentioned above. Who knows maybe the moderators will eventually raise it to the dizzy heights of sticky-hood. Immortality beckons. Edited By Neil Wyatt on 08/01/2017 19:43:49 |
Garth | 08/01/2017 23:26:49 |
24 forum posts | Am on board now , thanks for the info. |
Carl Wilson 4 | 09/01/2017 06:52:03 |
![]() 670 forum posts 53 photos | My pleasure. |
Graham Titman | 10/01/2017 18:00:46 |
![]() 158 forum posts 28 photos | Hi i wonder if any one can help i have tried two Arduino Uno boards and two different DF Robot keypads and get the same result that the up and down left keypads go through the menu but pressing select makes no difference they just show the menus .I have downloaded the software on two different computers and get the same result. |
john swift 1 | 10/01/2017 18:17:17 |
![]() 318 forum posts 183 photos | Hi Graham from what I can see all manufactures of the LCD / keypad shields don't use the same values of resistors for the Keypad look here at the post from sillyoldDuffer 9/12/2016 for alternative values for reading the key pressed : - http://www.model-engineer.co.uk/forums/postings.asp?th=122792&p=4 John PS you cannot use PWM on all boards terminal D10 to control the brightness of the LCD's backlight some boards like the one from maplin you can use PWM as they have a resistor between the terminal D10 and the base of the transistor that controls the back light others don't have the resistor and the arduino will be damaged if the atmel chip is programmed to pull the D10 terminal up to +5V PPS in my album you will find the circuit of the linksprite / maplin board with details of the all important resistor needed if you use PWM backlight control
Edited By john swift 1 on 10/01/2017 18:53:25 |
SillyOldDuffer | 10/01/2017 18:17:57 |
10668 forum posts 2415 photos | Hi Graham, Have a look at my post dated 09/12/2016 17:02:49 in the other thread Sounds like you have the same problem, which is fixed by altering the key voltages as described. EngineBuilder and I both have DFRobots that needed values like this :
Cheers, Dave |
peter ravenscroft | 10/01/2017 18:27:16 |
100 forum posts 3 photos | hi john if daves dont work try 50 btn right 195 up 380 down 555 left 799 select i had the same problem but is now ok regards peter |
john swift 1 | 10/01/2017 19:08:41 |
![]() 318 forum posts 183 photos | Hi Peter while I was looking for a LCD / button shield to buy I found links to modify some of the shields to use PWM backlight control, hence the circuit diagrams in my album as it happens , the linkspright / maplin shield I bought workes with the software Carl Wilson linked to from digitalmachinist John PS this is the button resistor ladder for the linksprite/maplin board with 3 changes in red for the dr robot board Edited By john swift 1 on 10/01/2017 19:37:47 |
Graham Titman | 10/01/2017 20:19:27 |
![]() 158 forum posts 28 photos | Good evening thank you all for your help but you are talking a completely different language to one i understand on Johns diagram i can find the analog pin on the board i then i need a satnav my understanding of electronics is nil. I can follow a drawing the above means nothing at all. Thanks Graham |
Andy Holdaway | 10/01/2017 21:00:19 |
![]() 167 forum posts 15 photos | Graham, Right at the end of the StepIndex23.ino sketch you will see the following lines - if (key_in > 850) return NO_KEY; These are the values I used to get the keypresses working in my DFRobot LCD shield. If you change the numbers after key_in to either those above, or to the values Peter, John or SoD have quoted, your buttons should work. Failing that there is a small sketch that you can run to read the actual values that your board uses and use those figures, but have a go with the above first. Andy |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.