Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cheap alcohol breath tester = arduino!
#1
hey guys

i got a alcohol breath tester from work the other day and pulled it apart to find a atmega48v as the brains and also the isp header still at the bottom Smile so i hooked it up , programed my arduino to be a isp then read the datesheet for the 48v afterward made this hack to the boards.text file

Code:
##############################################################

atmega48.name=Rotceh-hack QM7298 w/ ATmega48V xD

attiny48.upload.using=arduino
atmega48.upload.maximum_size=4094
atmega48.upload.speed=19200

atmega48.bootloader.low_fuses=0xE2
atmega48.bootloader.high_fuses=0xDF
atmega48.bootloader.extended_fuses=0xFF
atmega48.bootloader.path=atmega
atmega48.bootloader.file=atmega48.hex
atmega48.bootloader.unlock_bits=0x3F
atmega48.bootloader.lock_bits=0x0F

atmega48.build.mcu=atmega48
atmega48.build.f_cpu=8000000L
atmega48.build.core=arduino
atmega48.build.variant=standard

video
****************



now when i pick my board and compile code its readdy for my atmega48 ,now once your arduino has the isp code on it your readdy to hook up to the isp pins on the qm7298 and then you just go to Tools->programmer->arduino as ISP.

now you can load up your code and compile to the 48v through the arduino ide .. eazy Smile same goes for any atmel chips you can make them work with arduino ide with little fuss.

the only thing i did out of arduino ide is setting fuse bits with avrdude witch i had to change as it was running at 1mhz instedd of 8mhz but still ran without that change

***** other jaycar products with atmega chips in them

GT3340 -atmega88 - D/E

most likely 50% of the meters behind the counter would have atmel chips "sometimes i wish i was a buyer id even be able to do firmware support ie jaycar logos and understand how the products work"

will add more as i see them but i dont get to just rip apart thing so let me know if you know of more
Reply

#2
not bad, i like to see more
Reply

#3
Smile thanks , you couldnt really hear it but i had one of them playing the mission impossible theam with pwm via a speaker
im limited to 4k of flash but i can do a far bit with that , like the car tacker described in the comments of that video xD
Reply

#4
lawl nice, you should record it.
Reply

#5
Awesome, Arduino programming is actually part of my school-training. We're not using it yet, but I think we start after we finish the PCB stuff

Would be cool to see more stuff Big Grin
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#6
Can you please explaint this to me? What did he actually do?
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Music unlimited breath scope+sound when walking aim LE3* 0 2,136 04-21-2013, 08:42
Last Post: LE3*
  Norecoil Tester islamsaab 4 2,824 10-25-2012, 23:21
Last Post: islamsaab
  Norecoil Tester islamsaab 3 2,509 10-25-2012, 11:27
Last Post: d0h!
  Help Looking for a cheap BF3 host JariZ 1 3,027 04-05-2012, 10:13
Last Post: OrangePL
  [News] Really Cheap Motherboard! aosma8 4 3,177 02-20-2012, 01:14
Last Post: SuperNovaAO
  [Tutorial] arduino / Getting Started with the ADK rotceh_dnih 0 1,805 02-06-2012, 22:55
Last Post: rotceh_dnih
  [Request] Need some tester Yamato 6 3,238 02-05-2012, 18:31
Last Post: Yamato
  battlefield 3 cheap skata3000 12 7,539 11-13-2011, 13:08
Last Post: d0h!
  C all of Duty Black Ops: Multiplayer Dragon's Breath | mp_ai-survival Elite_Nudel 14 9,662 07-21-2011, 13:06
Last Post: Nekochan
  [News] The effects of Alcohol = pizzaburger rotceh_dnih 8 4,513 06-30-2011, 21:40
Last Post: number1

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.