![]() |
Forum Index : Microcontroller and PC projects : Bricked explore 64+
![]() ![]() |
|||||
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
LOAD IMAGE "ruff.bmp" should do it. Do not include the [, 0, 0] bit. Square brackets indicate an optional part of the command, but you don't type the brackets. If you wanted to load the BMP at 100,100, you would use LOAD IMAGE "ruff.bmp",100,100 for example. ![]() EDIT: matherp beat me to it! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
LOAD IMAGE "ruff.bmp", 0, 0 *Edit: Both Grogster and MatherP beat me to it! |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
Thanks that worked a treat but looks like i need to resize the bmp so it fits on the screen. sitting infront of the shed fire here and time to get the ds18b20's out and see just low the temp is by the fire and outside |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
Well setup 2 off ds18b20 temp sensors and using the TEMR() command both kept returning 85. Now putting on of them right in front of the fire and I could feel it was warm it still came back 85. I do think this is a breadboard issue so today I'll grab a sheet of vero board and make up a board using that. That way solid connections can be made and it should solve the problem. Regards Bryan |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
85 is the value returned when there is a common wiring error. I forget exactly which one--maybe no pullup resistor or DS18B20 not connected to pin. Check your wiring. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
according to the ds18b20 datasheet: "The power-on reset value of the temperature register is +85°C" i'm picking you're getting insufficient power to the device for it to perform a conversion. are you running it in 2-wire (parasitic power) or 3-wire configuration? cheers, rob :-) |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
G'day Guy's, I didn't put any pullup resistors so that could of been the problem and that breadboard is going back in the box and i'm now on making up a veroboard circuit so everything is a solid signal and I will put some pullups on which should cure the problem. The microbridge turned up today so Thank You Paul for sending it. Anyway getting there with the veroboard so by the weekend it should be all done. Regards Bryan |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
G'day Guy's, Well finally got the veroboard all hooked and working and it was a bit of fun tracing the tracks as I had used the board for a previous project. Thought I had everyone as the lcd did the test and when I was trying to calibrate the touch controller it would got to the second press then do a error: hardware fault. I traced the track on pin 47 and found a small break so fixed that and the calibration worked first time. Put some pins in for the DS18b20 temp sensors and found they worked first go so put on that 30 litre apple cider before wrapping it up with some blankets. I made a 100 watt light box that the fermenter sits on. So by placing one sensor on the side and other at the base near the hole thats on top of the light box. So tonight's project is writing some code and give that explorer board it's first workout monitoring the cider wash. Regards Bryan |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Great news that it is all working now. So are you putting it all down to a faulty Breadboard and also a broken track? |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
Hi WW, yep I'm sick of breadboards and the hassles and the veroboard once I got the tracks sorted works nicely. I do have some rtc chips here so thats the mornings job of putting that on. When I first got the explorer board I used a different breadboard and had the same problems so I bought a new one and still the problems were there. |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1483 |
G'day Guy's, Looks like the grey matter is creeping in as I'm having fun trying to get the tempr(1) and(2) to display in a program. Would anyone have some sample code for this to give me a pointer or two. Regards Bryan |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
You will have to convert the value to a string and use the text command text 10,10,Str$(tempr(1))+" Degrees",CM that should print the temperature to an LCD display. You can add font size and colour if you wish. If you are just printing to the screen use PRINT tempr(1) or whatever variable you are using for the temperature. I hope that is right. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |